UNPKG

box-node-sdk

Version:

Official SDK for Box Plaform APIs

37 lines (36 loc) 1.34 kB
import * as schemas from '.'; /** * AI agent basic text tool * * AI agent tool used to handle basic text. */ export interface AiAgentBasicTextToolTextGen { /** * The model to be used for the AI Agent for basic text. * Example: openai__gpt_3_5_turbo */ model?: 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 */ system_message?: 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? */ prompt_template?: string; /** * The number of tokens for completion. * Example: 8400 */ num_tokens_for_completion?: number; /** * The parameters for the LLM endpoint specific to OpenAI / Google models. */ llm_endpoint_params?: schemas.AiLlmEndpointParamsOpenAi | schemas.AiLlmEndpointParamsGoogle; }