You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know this may not be an issue with the project, but currently the OpenAI code interpreter is only available in the assistant interface, and I must use code interpreter in my project.
So I hope to find the best implementation plan. Currently, I have two options (the following "assistant" refers to the OpenAI assistant, not the bot in the AI chatbot):
Use the chat completion API to call the assistant code interpreter with tools. This way, there will be fewer changes based on this repo. However, this may cause issues with the assistant's usage, as the historical messages received by the assistant may be incomplete, and the tools may not be able to accurately generate the necessary instructions for the assistant.
Using the assistant to replace the current chat completion api, this will require completely rewrite the chat routes and may bring other compatibility issues. I'm not sure if I can complete this task.
I hope someone can see this issue and provide some suggestions or reference materials for best practices.
The text was updated successfully, but these errors were encountered:
I know this may not be an issue with the project, but currently the OpenAI code interpreter is only available in the assistant interface, and I must use code interpreter in my project.
So I hope to find the best implementation plan. Currently, I have two options (the following "assistant" refers to the OpenAI assistant, not the bot in the AI chatbot):
Use the chat completion API to call the assistant code interpreter with tools. This way, there will be fewer changes based on this repo. However, this may cause issues with the assistant's usage, as the historical messages received by the assistant may be incomplete, and the tools may not be able to accurately generate the necessary instructions for the assistant.
Using the assistant to replace the current chat completion api, this will require completely rewrite the chat routes and may bring other compatibility issues. I'm not sure if I can complete this task.
I hope someone can see this issue and provide some suggestions or reference materials for best practices.
The text was updated successfully, but these errors were encountered: