triage_tools = [
{
"type": "function",
"function": {
"name": "send_query_to_agents",
"description": "能力に基づいてユーザーのクエリを関連するエージェントに送信します。",
"parameters": {
"type": "object",
"properties": {
"agents": {
"type": "array",
"items": {"type": "string"},
"description": "クエリを送信するエージェント名の配列。",
},
"query": {
"type": "string",
"description": "送信するユーザークエリ。",
},
},
"required": ["agents", "query"],
},
},
"strict": True,
}
]
preprocess_tools = [
{
"type": "function",
"function": {
"name": "clean_data",
"description": "重複を削除し、欠損値を処理することで、提供されたデータをクリーニングします。",
"parameters": {
"type": "object",
"properties": {
"data": {
"type": "string",
"description": "クリーニングするデータセット。JSON や CSV などの適切な形式である必要があります。",
}
},
"required": ["data"],
"additionalProperties": False,
},
},
"strict": True,
},
{
"type": "function",
"function": {
"name": "transform_data",
"description": "指定されたルールに基づいてデータを変換します。",
"parameters": {
"type": "object",
"properties": {
"data": {
"type": "string",
"description": "変換するデータ。JSON や CSV などの適切な形式である必要があります。",
},
"rules": {
"type": "string",
"description": "適用する変換ルール。構造化された形式で指定します。",
},
},
"required": ["data", "rules"],
"additionalProperties": False,
},
},
"strict": True,
},
{
"type": "function",
"function": {
"name": "aggregate_data",
"description": "指定された列と操作でデータを集計します。",
"parameters": {
"type": "object",
"properties": {
"data": {
"type": "string",
"description": "集計するデータ。JSON や CSV などの適切な形式である必要があります。",
},
"group_by": {
"type": "array",
"items": {"type": "string"},
"description": "グループ化する列。",
},
"operations": {
"type": "string",
"description": "実行する集計操作。構造化された形式で指定します。",
},
},
"required": ["data", "group_by", "operations"],
"additionalProperties": False,
},
},
"strict": True,
},
]
analysis_tools = [
{
"type": "function",
"function": {
"name": "stat_analysis",
"description": "指定されたデータセットに対して統計分析を実行します。",
"parameters": {
"type": "object",
"properties": {
"data": {
"type": "string",
"description": "分析するデータセット。JSON や CSV などの適切な形式である必要があります。",
}
},
"required": ["data"],
"additionalProperties": False,
},
},
"strict": True,
},
{
"type": "function",
"function": {
"name": "correlation_analysis",
"description": "データセット内の変数間の相関係数を計算します。",
"parameters": {
"type": "object",
"properties": {
"data": {
"type": "string",
"description": "分析するデータセット。JSON や CSV などの適切な形式である必要があります。",
},
"variables": {
"type": "array",
"items": {"type": "string"},
"description": "相関を計算する変数のリスト。",
},
},
"required": ["data", "variables"],
"additionalProperties": False,
},
},
"strict": True,
},
{
"type": "function",
"function": {
"name": "regression_analysis",
"description": "データセットに対して回帰分析を実行します。",
"parameters": {
"type": "object",
"properties": {
"data": {
"type": "string",
"description": "分析するデータセット。JSON や CSV などの適切な形式である必要があります。",
},
"dependent_var": {
"type": "string",
"description": "回帰の従属変数。",
},
"independent_vars": {
"type": "array",
"items": {"type": "string"},
"description": "独立変数のリスト。",
},
},
"required": ["data", "dependent_var", "independent_vars"],
"additionalProperties": False,
},
},
"strict": True,
},
]
visualization_tools = [
{
"type": "function",
"function": {
"name": "create_bar_chart",
"description": "提供されたデータから棒グラフを作成します。",
"parameters": {
"type": "object",
"properties": {
"data": {
"type": "string",
"description": "棒グラフ用のデータ。JSON や CSV などの適切な形式である必要があります。",
},
"x": {"type": "string", "description": "X 軸の列。"},
"y": {"type": "string", "description": "Y 軸の列。"},
},
"required": ["data", "x", "y"],
"additionalProperties": False,
},
},
"strict": True,
},
{
"type": "function",
"function": {
"name": "create_line_chart",
"description": "提供されたデータから折れ線グラフを作成します。",
"parameters": {
"type": "object",
"properties": {
"data": {
"type": "string",
"description": "折れ線グラフ用のデータ。JSON や CSV などの適切な形式である必要があります。",
},
"x": {"type": "string", "description": "X 軸の列。"},
"y": {"type": "string", "description": "Y 軸の列。"},
},
"required": ["data", "x", "y"],
"additionalProperties": False,
},
},
"strict": True,
},
{
"type": "function",
"function": {
"name": "create_pie_chart",
"description": "提供されたデータから円グラフを作成します。",
"parameters": {
"type": "object",
"properties": {
"data": {
"type": "string",
"description": "円グラフ用のデータ。JSON や CSV などの適切な形式である必要があります。",
},
"labels": {
"type": "string",
"description": "ラベル用の列。",
},
"values": {
"type": "string",
"description": "値用の列。",
},
},
"required": ["data", "labels", "values"],
"additionalProperties": False,
},
},
"strict": True,
},
]