Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create OpenAI function that categorizes posts #88

Closed
jifonthespoon opened this issue Feb 17, 2025 · 0 comments · Fixed by #100
Closed

Create OpenAI function that categorizes posts #88

jifonthespoon opened this issue Feb 17, 2025 · 0 comments · Fixed by #100
Assignees

Comments

@jifonthespoon
Copy link
Contributor

jifonthespoon commented Feb 17, 2025

Create a function that queries OpenAI with a post's question and response options that returns a [String] list of the categories that Post belongs to. The categories should ONLY be from the Category enum. The list of categories needs passed within the OpenAI query in addition to the post information. You should iterate the Category enum to provide the categories, not hard code. Ensure the returned categories exist in the Category enum. Use model gpt-4o-mini

@krishpra2315 krishpra2315 self-assigned this Feb 18, 2025
@krishpra2315 krishpra2315 linked a pull request Feb 20, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants