rocketadmin
rocketadmin copied to clipboard
OpenAI assistants API
We need to use OpenAI assistants API for AI Insights.
- It needs to send messages to assistant with id from process.env.OPENAI_ASSISTANT_ID
- We need to have three endpoints - create thread, write message to thread, get last messages using OpenAI assistants API
- Table structure needs to be uploaded on thread creation as a file
- No system messages needed