例
ai_agent_extract_structured抽出に使用されるAIエージェントのタイプ。次の値に固定: ai_agent_extract_structured基本テキストの処理に使用されるAIエージェントプロセッサ。
表示 子属性
表示 子属性
llm_endpoint_params
AI LLMエンドポイントパラメータ (AWS)/AI LLMエンドポイントパラメータ (Google)/AI LLMエンドポイントパラメータ (IBM)/AI LLMエンドポイントパラメータ (OpenAI)object
モデル固有のLLMエンドポイントのパラメータ。
例
azure__openai__gpt_4o_mini基本テキストに対するAIエージェントで使用されるモデル。特定のモデル値については、利用可能なモデルのリストを参照してください。例
8400完了に必要なトークンの数。例
(\{user_question\}[\s\S]*?\{content\}|\{content\}[\s\S]*?\{user_question\})プロンプトテンプレートには、リクエストのコンテキスト情報とユーザープロンプトが含まれます。prompt_templateパラメータを渡す場合、{user_question}および{content}の入力を含める必要があります。{current_date}は、用途に応じて省略できます。例
You are a helpful travel assistant specialized in budget travelLLMが、その役割と実行するべき内容を「理解」するのを支援するためのシステムメッセージ。基本テキストの処理に使用されるAIエージェントプロセッサ。
表示 子属性
表示 子属性
llm_endpoint_params
AI LLMエンドポイントパラメータ (AWS)/AI LLMエンドポイントパラメータ (Google)/AI LLMエンドポイントパラメータ (IBM)/AI LLMエンドポイントパラメータ (OpenAI)object
モデル固有のLLMエンドポイントのパラメータ。
例
azure__openai__gpt_4o_mini基本テキストに対するAIエージェントで使用されるモデル。特定のモデル値については、利用可能なモデルのリストを参照してください。例
8400完了に必要なトークンの数。例
(\{user_question\}[\s\S]*?\{content\}|\{content\}[\s\S]*?\{user_question\})プロンプトテンプレートには、リクエストのコンテキスト情報とユーザープロンプトが含まれます。prompt_templateパラメータを渡す場合、{user_question}および{content}の入力を含める必要があります。{current_date}は、用途に応じて省略できます。例
You are a helpful travel assistant specialized in budget travelLLMが、その役割と実行するべき内容を「理解」するのを支援するためのシステムメッセージ。長いテキストの処理に使用されるAIエージェントプロセッサ。
表示 子属性
表示 子属性
llm_endpoint_params
AI LLMエンドポイントパラメータ (AWS)/AI LLMエンドポイントパラメータ (Google)/AI LLMエンドポイントパラメータ (IBM)/AI LLMエンドポイントパラメータ (OpenAI)object
モデル固有のLLMエンドポイントのパラメータ。
例
azure__openai__gpt_4o_mini基本テキストに対するAIエージェントで使用されるモデル。特定のモデル値については、利用可能なモデルのリストを参照してください。例
8400完了に必要なトークンの数。例
(\{user_question\}[\s\S]*?\{content\}|\{content\}[\s\S]*?\{user_question\})プロンプトテンプレートには、リクエストのコンテキスト情報とユーザープロンプトが含まれます。prompt_templateパラメータを渡す場合、{user_question}および{content}の入力を含める必要があります。{current_date}は、用途に応じて省略できます。例
You are a helpful travel assistant specialized in budget travelLLMが、その役割と実行するべき内容を「理解」するのを支援するためのシステムメッセージ。コピー
AIに質問
{
"type": "ai_agent_extract_structured",
"basic_image": {
"llm_endpoint_params": {
"type": "openai_params",
"frequency_penalty": 1.5,
"presence_penalty": 1.5,
"stop": "<|im_end|>",
"temperature": 0,
"top_p": 1
},
"model": "azure__openai__gpt_4o_mini",
"num_tokens_for_completion": 8400,
"prompt_template": "It is `{current_date}`, consider these travel options `{content}` and answer the `{user_question}`.",
"system_message": "You are a helpful travel assistant specialized in budget travel"
},
"basic_text": {
"llm_endpoint_params": {
"type": "openai_params",
"frequency_penalty": 1.5,
"presence_penalty": 1.5,
"stop": "<|im_end|>",
"temperature": 0,
"top_p": 1
},
"model": "azure__openai__gpt_4o_mini",
"num_tokens_for_completion": 8400,
"prompt_template": "It is `{current_date}`, consider these travel options `{content}` and answer the `{user_question}`.",
"system_message": "You are a helpful travel assistant specialized in budget travel"
},
"long_text": {
"embeddings": {
"model": "azure__openai__text_embedding_ada_002",
"strategy": {
"id": "basic",
"num_tokens_per_chunk": 64
}
},
"llm_endpoint_params": {
"type": "openai_params",
"frequency_penalty": 1.5,
"presence_penalty": 1.5,
"stop": "<|im_end|>",
"temperature": 0,
"top_p": 1
},
"model": "azure__openai__gpt_4o_mini",
"num_tokens_for_completion": 8400,
"prompt_template": "It is `{current_date}`, consider these travel options `{content}` and answer the `{user_question}`.",
"system_message": "You are a helpful travel assistant specialized in budget travel"
}
}
