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,
},
]