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

Implement use of "runs" in messages.py? #15

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

Implement use of "runs" in messages.py? #15

chriscarrollsmith opened this issue Nov 3, 2024 · 0 comments

Comments

@chriscarrollsmith
Copy link
Collaborator

chriscarrollsmith commented Nov 3, 2024

This documentation makes it seem like we should be using a "run" for every chat step, regardless of whether we expect tool calling. The purpose of runs is basically to encapsulate a process of assistant response generation that may or may not require multiple steps. https://platform.openai.com/docs/assistants/overview

Spec for the run object: https://platform.openai.com/docs/api-reference/runs/object
Spec for submitToolOutputs endpoint: https://platform.openai.com/docs/api-reference/runs/submitToolOutputs

Review the sample code here: https://platform.openai.com/docs/assistants/quickstart#step-4-create-a-run
Some useful info on run lifecycle management here: https://platform.openai.com/docs/assistants/deep-dive#run-lifecycle

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