AI agent basic text tool
AI agent tool used to handle basic text.
Members
llm_endpoint_params :schemas.AiLlmEndpointParamsOpenAi|schemas.AiLlmEndpointParamsGoogle
The parameters for the LLM endpoint specific to OpenAI / Google models.
Type:
- schemas.AiLlmEndpointParamsOpenAi | schemas.AiLlmEndpointParamsGoogle
model :string
The model to be used for the AI Agent for basic text.
Example: openai__gpt_3_5_turbo
Type:
- string
num_tokens_for_completion :number
The number of tokens for completion.
Example: 8400
Type:
- number
prompt_template :string
The prompt template contains contextual information of the request and the user prompt.
When using the `prompt_template` parameter, you **must include** input for `{user_question}`.
Inputs for `{current_date}` and`{content}` are optional, depending on the use.
Example: It is `{current_date}`, and I have $8000 and want to spend a week in the Azores. What should I see?
Type:
- string
system_message :string
System messages try to help the LLM "understand" its role and what it is supposed to do.
This parameter requires using `{current_date}`.
Example: You are a helpful travel assistant specialized in budget travel
Type:
- string