Arguments

name
string

Name for your AI assistant

instructions
string

how the Assistant and model should behave or respond

assistant_id
string

Load existing OpenAI Assistant. If you pass this, you donโ€™t have to pass other arguments.

thread_id
string

Existing OpenAI thread id if exists

model
str
default: "gpt-4-1106-preview"

OpenAI model to use

tools
list

OpenAI tools to use. Default set to [{"type": "retrieval"}]

data_sources
list
default: "[]"

Add data sources to your assistant. You can add in the following format: [{"source": "https://example.com", "data_type": "web_page"}]

telemetry
boolean
default: "True"

Anonymous telemetry (doesnโ€™t collect any user information or userโ€™s files). Used to improve the Embedchain package utilization. Default is True.

Usage

For detailed guidance on creating your own OpenAI Assistant, click the link below. It provides step-by-step instructions to help you through the process:

Guide to Creating Your OpenAI Assistant

Learn how to build an OpenAI Assistant using the OpenAIAssistant class.