Minds as Assistants
Assistants enable Minds to engage in conversational interactions, keeping track of the conversational context. This contrasts with the Chat Completions endpoint, which handles one-time requests without remembering past interactions.
Here’s how to use Minds as Assistants:
- Create a conversation Thread and save the Thread ID.
- Create a Message assigning it to the Thread. This is a question sent to the Mind.
- List Messages assigned to the Thread to ensure your message has been sent.
- Create a Run assigning it to the Thread and providing the name of the Mind created with this endpoint, and save the Run ID.
- Retrieve a Run assigned to the Thread to check the status of the Run. The status should read complete.
- List Messages assigned to the Thread that should contain the response from the Mind.