rocketadmin icon indicating copy to clipboard operation
rocketadmin copied to clipboard

OpenAI assistants API

Open gugu opened this issue 1 year ago • 0 comments

We need to use OpenAI assistants API for AI Insights.

  1. It needs to send messages to assistant with id from process.env.OPENAI_ASSISTANT_ID
  2. We need to have three endpoints - create thread, write message to thread, get last messages using OpenAI assistants API
  3. Table structure needs to be uploaded on thread creation as a file
  4. No system messages needed

gugu avatar Dec 06 '24 12:12 gugu