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

Test and hook up weather-widget component #6

Open
chriscarrollsmith opened this issue Nov 2, 2024 · 0 comments
Open

Test and hook up weather-widget component #6

chriscarrollsmith opened this issue Nov 2, 2024 · 0 comments

Comments

@chriscarrollsmith
Copy link
Collaborator

chriscarrollsmith commented Nov 2, 2024

This will require both some frontend and backend work:

  1. Detect when the assistant wants to run a tool
  2. Run the tool
  3. Submit the tool output to both the assistant and the user
  4. Repeat the loop if additional steps are required
  5. Stream the assistant's response interpreting tool output

Coordinating the flow of frontend-backend-OpenAI communication here will be fairly complex and will require some architecture design work!

Quickstart and sample code for function-calling lifecycle management here: https://platform.openai.com/docs/assistants/tools/function-calling

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

No branches or pull requests

1 participant