質問リクエスト用のAIエージェント

クエリの処理に使用されるAIエージェント。

string
ai_agent_ask

クエリの処理に使用されるAIエージェントのタイプ。

次の値に固定: ai_agent_ask

object

基本的なテキストの処理に使用されるAIエージェントツール。

OpenAI/Googleモデルに固有のLLMエンドポイントのパラメータ。

openai__gpt_3_5_turbo

基本的なテキスト用のAIエージェントに使用されるモデル。

84001

完了に必要なトークンの数。

(\{user_question\}[\s\S]*?\{content\}|\{content\}[\s\S]*?\{user_question\})It is `{current_date}`, consider these travel options `{content}` and answer `{user_question}`10000

プロンプトテンプレートには、リクエストのコンテキスト情報とユーザープロンプトが含まれます。

prompt_templateパラメータを渡す場合、{user_question}および{content}の入力を含める必要があります

{current_date}の入力は、用途に応じて省略できます。

You are a helpful travel assistant specialized in budget travel

LLMが、その役割と実行するべき内容を「理解」するのを支援するためのシステムメッセージ。

基本的なテキストの処理に使用されるAIエージェントツール。

openai__gpt_3_5_turbo

基本的なテキスト用のAIエージェントに使用されるモデル。

84001

完了に必要なトークンの数。

(\{user_question\}[\s\S]*?\{content\}|\{content\}[\s\S]*?\{user_question\})It is `{current_date}`, consider these travel options `{content}` and answer `{user_question}`10000

プロンプトテンプレートには、リクエストのコンテキスト情報とユーザープロンプトが含まれます。

prompt_templateパラメータを渡す場合、{user_question}および{content}の入力を含める必要があります

{current_date}の入力は、用途に応じて省略できます。

You are a helpful travel assistant specialized in budget travel

LLMが、その役割と実行するべき内容を「理解」するのを支援するためのシステムメッセージ。

object

長いテキストの処理に使用されるAIエージェントツール。

openai__text_embedding_ada_002

埋め込みを計算するためのAIエージェントに使用されるモデル。

basic

埋め込みを計算するためのAIエージェントに使用される戦略。

641

チャンクごとのトークンの数。

OpenAI/Googleモデルに固有のLLMエンドポイントのパラメータ。

openai__gpt_3_5_turbo

基本的なテキスト用のAIエージェントに使用されるモデル。

84001

完了に必要なトークンの数。

(\{user_question\}[\s\S]*?\{content\}|\{content\}[\s\S]*?\{user_question\})It is `{current_date}`, consider these travel options `{content}` and answer `{user_question}`10000

プロンプトテンプレートには、リクエストのコンテキスト情報とユーザープロンプトが含まれます。

prompt_templateパラメータを渡す場合、{user_question}および{content}の入力を含める必要があります

{current_date}の入力は、用途に応じて省略できます。

You are a helpful travel assistant specialized in budget travel

LLMが、その役割と実行するべき内容を「理解」するのを支援するためのシステムメッセージ。

長いテキストの処理に使用されるAIエージェントツール。

openai__text_embedding_ada_002

埋め込みを計算するためのAIエージェントに使用されるモデル。

basic

埋め込みを計算するためのAIエージェントに使用される戦略。

641

チャンクごとのトークンの数。

openai__gpt_3_5_turbo

基本的なテキスト用のAIエージェントに使用されるモデル。

84001

完了に必要なトークンの数。

(\{user_question\}[\s\S]*?\{content\}|\{content\}[\s\S]*?\{user_question\})It is `{current_date}`, consider these travel options `{content}` and answer `{user_question}`10000

プロンプトテンプレートには、リクエストのコンテキスト情報とユーザープロンプトが含まれます。

prompt_templateパラメータを渡す場合、{user_question}および{content}の入力を含める必要があります

{current_date}の入力は、用途に応じて省略できます。

You are a helpful travel assistant specialized in budget travel

LLMが、その役割と実行するべき内容を「理解」するのを支援するためのシステムメッセージ。

レスポンスの例

{
  "type": "ai_agent_ask",
  "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": "openai__gpt_3_5_turbo",
    "num_tokens_for_completion": 8400,
    "prompt_template": "It is `{current_date}`, consider these travel options `{content}` and answer `{user_question}`",
    "system_message": "You are a helpful travel assistant specialized in budget travel"
  },
  "basic_text_multi": {
    "llm_endpoint_params": {
      "type": "openai_params",
      "frequency_penalty": 1.5,
      "presence_penalty": 1.5,
      "stop": "<|im_end|>",
      "temperature": 0,
      "top_p": 1
    },
    "model": "openai__gpt_3_5_turbo",
    "num_tokens_for_completion": 8400,
    "prompt_template": "It is `{current_date}`, consider these travel options `{content}` and answer `{user_question}`",
    "system_message": "You are a helpful travel assistant specialized in budget travel"
  },
  "long_text": {
    "embeddings": {
      "model": "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": "openai__gpt_3_5_turbo",
    "num_tokens_for_completion": 8400,
    "prompt_template": "It is `{current_date}`, consider these travel options `{content}` and answer `{user_question}`",
    "system_message": "You are a helpful travel assistant specialized in budget travel"
  },
  "long_text_multi": {
    "embeddings": {
      "model": "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": "openai__gpt_3_5_turbo",
    "num_tokens_for_completion": 8400,
    "prompt_template": "It is `{current_date}`, consider these travel options `{content}` and answer `{user_question}`",
    "system_message": "You are a helpful travel assistant specialized in budget travel"
  }
}