Interface: AiAgentBasicTextToolAsk

AiAgentBasicTextToolAsk

AI agent basic text tool AI agent tool used to handle basic text.
Source:

Members

llm_endpoint_params :schemas.AiLlmEndpointParamsOpenAi|schemas.AiLlmEndpointParamsGoogle

The parameters for the LLM endpoint specific to OpenAI / Google models.
Type:
  • schemas.AiLlmEndpointParamsOpenAi | schemas.AiLlmEndpointParamsGoogle
Source:

model :string

The model used for the AI Agent for basic text. Example: openai__gpt_3_5_turbo
Type:
  • string
Source:

num_tokens_for_completion :number

The number of tokens for completion. Example: 8400
Type:
  • number
Source:

prompt_template :string

The prompt template contains contextual information of the request and the user prompt. When passing `prompt_template` parameters, you **must include** inputs for `{current_date}`, `{user_question}`, and `{content}`. Example: It is `{current_date}`, and I have $8000 and want to spend a week in the Azores. What should I see?
Type:
  • string
Source:

system_message :string

System messages try to help the LLM "understand" its role and what it is supposed to do. Example: You are a helpful travel assistant specialized in budget travel
Type:
  • string
Source: