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

JSON mode for assistants #28

Closed
fjsj opened this issue May 29, 2024 · 1 comment
Closed

JSON mode for assistants #28

fjsj opened this issue May 29, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@fjsj
Copy link
Member

fjsj commented May 29, 2024

It works, just need to be documented better. See draft work at #52

We need a nice example. It could be the Tour Guide (see TourGuideAssistant in tests). It's not a chat, it receives a location from the user, using the browser location. Geocode that location (get the address from the lat/lng), send to LLM, and show cards with interesting attractions around. Not sure how to filter what's a tourist attraction or not to send to the LLM, though.

Edit: this is now more important to be supported by the lib API due to strict mode in OpenAI: https://openai.com/index/introducing-structured-outputs-in-the-api/

@fjsj fjsj mentioned this issue May 29, 2024
@fjsj fjsj self-assigned this May 29, 2024
@fjsj fjsj assigned amandasavluchinske and unassigned fjsj Jun 20, 2024
@fjsj fjsj mentioned this issue Jun 26, 2024
@amandasavluchinske amandasavluchinske removed their assignment Jul 3, 2024
@fjsj fjsj added the enhancement New feature or request label Jul 12, 2024
@fjsj
Copy link
Member Author

fjsj commented Oct 4, 2024

Solved by #171

@fjsj fjsj closed this as completed Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants