CREATE AGENT
Syntax*
syntax.model
provider
It is a required parameter. It defines the model provider from the list below.
model_name
It is a required parameter. It defines the model name from the list below.
api_key
It is an optional parameter (applicable to selected providers), which stores the API key to access the model. Users can provide it either in this api_key
parameter, or using environment variables.
base_url
It is an optional parameter (applicable to selected providers), which stores the base URL for accessing the model. It is the root URL used to send API requests.
api_version
It is an optional parameter (applicable to selected providers), which defines the API version.
Anthropic
Ollama
OpenAI
Nvidia NIM
Writer
model
parameter to define the specification.
default_llm
in the configuration file, you do not need to provide the model
parameter when creating an agent. If provide both, then the values from the model
parameter are used.
data
knowledge_bases
stores the list of knowledge bases to be used by the agent.
tables
stores the list of tables from data sources connected to MindsDB.
prompt_template
knowledge_bases
and tables
parameters to help the agent locate relevant data for answering questions.
SELECT FROM AGENT
SyntaxDROP AGENT
Syntax