Skip to main content

List assistants for a project

You can get the name, status, and metadata for each assistant in your project as in the following example:
This operation returns a response like the following:
You can use the name value to check the status of an assistant.
You can list assistants using the Pinecone console.

Get the status of an assistant

You can get the status and metadata for your assistant as in the following example:
This operation returns a response like the following:
The status field has the following possible values:
  • Initializing
  • Failed
  • Ready
  • Terminating
You can check the status of an assistant using the Pinecone console.

Change an assistant’s chat model

The chat model is the underlying large language model (LLM) that powers the assistant’s responses. You can change the chat model for an existing assistant through the Pinecone console:
  1. On the Assistants page, select the assistant you want to update.
  2. In the sidebar on the right, select Settings (gear icon).
  3. Select the Chat model.

Add instructions to an assistant

You can add or update the instructions for an existing assistant. Instructions are a short description or directive for the assistant to apply to all of its responses. For example, you can update the instructions to reflect the assistant’s role or purpose.
Instructions (maximum size 16 KB) are included in every chat API call. Longer instructions increase input token costs for each request and consume more of the LLM’s context window, reducing available space for retrieved context and conversation history.
For example:
The example above returns a result like the following:
You can add or update instructions for an assistant using the Pinecone console.

Delete an assistant

You can delete an assistant as in the following example:
Deleting an assistant also deletes all files uploaded to the assistant.
You can delete an assistant using the Pinecone console.