メインコンテンツへスキップ
APIバージョン 2024.0 テキストの生成に使用するAIエージェント。
type
string
ai_agent_text_genテキストの生成に使用されるAIエージェントのタイプ。次の値に固定: ai_agent_text_gen
access_state
string
enabledAIエージェントの機能の状態。使用可能な値はenableddisabledです。
basic_gen
object
テキストの生成に使用されるAIエージェントの基本ツール。
custom_instructions
string
This is a custom instructionAIエージェントに対するカスタム指示。
description
string
This is ASK AgentAIエージェントの説明。
suggested_questions
stringarray
["What is in this file?","What are the main highlights of this document?"]AIエージェントに対する質問の候補。nullの場合、質問の候補が生成されます。空の場合は、質問の候補が表示されません。
{
  "type": "ai_agent_text_gen",
  "access_state": "enabled",
  "basic_gen": {
    "content_template": "---{content}---",
    "embeddings": {
      "model": "azure__openai__text_embedding_ada_002",
      "strategy": {
        "id": "basic",
        "num_tokens_per_chunk": 64
      }
    },
    "is_custom_instructions_included": false,
    "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}`, and I have $8000 and want to spend a week in the Azores. `{user_question}`",
    "system_message": "You are a helpful travel assistant specialized in budget travel"
  },
  "custom_instructions": "This is a custom instruction",
  "description": "This is ASK Agent",
  "suggested_questions": [
    "What is in this file?",
    "What are the main highlights of this document?"
  ]
}