AgentGraph / initial_data.json
wu981526092's picture
🚀 Enhanced Sample Data: Complete AgentGraph Feature Showcase
9ad6dea
raw
history blame
5.96 kB
{
"system_name": "Oxford Economics AI Assistant",
"system_summary": "This intelligent assistant processes user inquiries about Oxford Economics through a streamlined workflow. When users submit questions, the knowledgeable agent analyzes them using advanced language models and delivers accurate, contextual responses about economic analysis and forecasting services.",
"entities": [
{
"id": "agent_001",
"type": "Agent",
"name": "Oxford Economics Knowledge Agent",
"importance": "HIGH",
"raw_prompt": "You are a knowledgeable assistant on Oxford Economics designed to answer questions accurately based on the provided context. Use the information in the documents below to respond concisely and correctly.",
"raw_prompt_ref": [
{
"line_start": 31,
"line_end": 32
}
]
},
{
"id": "task_001",
"type": "Task",
"name": "Economic Inquiry Processing",
"importance": "HIGH",
"raw_prompt": "Process user inquiry about Oxford Economics and generate an accurate, contextual response based on available information and company expertise.",
"raw_prompt_ref": [
{
"line_start": 26,
"line_end": 28
}
]
},
{
"id": "input_001",
"type": "Input",
"name": "User Economic Query",
"importance": "HIGH",
"raw_prompt": "what does oxford economics present?",
"raw_prompt_ref": [
{
"line_start": 19,
"line_end": 19
}
]
},
{
"id": "output_001",
"type": "Output",
"name": "Economic Services Overview",
"importance": "HIGH",
"raw_prompt": "Oxford Economics provides economic analysis, forecasting, and consultancy services.",
"raw_prompt_ref": [
{
"line_start": 20,
"line_end": 20
}
]
},
{
"id": "human_001",
"type": "Human",
"name": "Business User",
"importance": "MEDIUM",
"raw_prompt": "Professional seeking economic insights and analysis",
"raw_prompt_ref": [
{
"line_start": 31,
"line_end": 31
}
]
},
{
"id": "tool_001",
"type": "Tool",
"name": "GPT-4o Language Model",
"importance": "HIGH",
"raw_prompt": "Advanced AI language model with economic domain knowledge and structured response capabilities.",
"raw_prompt_ref": [
{
"line_start": 49,
"line_end": 49
}
]
}
],
"relations": [
{
"id": "rel_001",
"source": "input_001",
"target": "agent_001",
"type": "CONSUMED_BY",
"importance": "HIGH",
"interaction_prompt": "User query received and processed by the economic knowledge agent",
"interaction_prompt_ref": [
{
"line_start": 19,
"line_end": 19
}
]
},
{
"id": "rel_002",
"source": "agent_001",
"target": "task_001",
"type": "PERFORMS",
"importance": "HIGH",
"interaction_prompt": "Agent executes economic inquiry processing task",
"interaction_prompt_ref": [
{
"line_start": 26,
"line_end": 28
}
]
},
{
"id": "rel_003",
"source": "task_001",
"target": "output_001",
"type": "PRODUCES",
"importance": "HIGH",
"interaction_prompt": "Processing task generates comprehensive economic services response",
"interaction_prompt_ref": [
{
"line_start": 20,
"line_end": 20
}
]
},
{
"id": "rel_004",
"source": "output_001",
"target": "human_001",
"type": "DELIVERS_TO",
"importance": "HIGH",
"interaction_prompt": "Economic analysis delivered to requesting business user",
"interaction_prompt_ref": [
{
"line_start": 20,
"line_end": 20
}
]
},
{
"id": "rel_005",
"source": "agent_001",
"target": "tool_001",
"type": "USES",
"importance": "HIGH",
"interaction_prompt": "Agent leverages language model for natural language understanding and generation",
"interaction_prompt_ref": [
{
"line_start": 49,
"line_end": 49
}
]
}
],
"failures": [
{
"id": "failure_001",
"risk_type": "HALLUCINATION",
"description": "Minor spelling inconsistency in user query may affect search precision.",
"raw_text": "what does oxford economics present?",
"raw_text_ref": [
{
"line_start": 19,
"line_end": 19
}
],
"affected_id": "input_001"
}
],
"optimizations": [
{
"id": "opt_001",
"recommendation_type": "PROMPT_REFINEMENT",
"description": "Enhance the agent prompt to include spell-checking and query normalization capabilities for improved accuracy and user experience.",
"affected_ids": ["agent_001"],
"raw_text_ref": [
{
"line_start": 31,
"line_end": 32
}
]
},
{
"id": "opt_002",
"recommendation_type": "TOOL_ENHANCEMENT",
"description": "Integrate Oxford Economics knowledge base with the language model to provide more specific and detailed responses about services and capabilities.",
"affected_ids": ["tool_001"],
"raw_text_ref": [
{
"line_start": 49,
"line_end": 49
}
]
}
],
"metadata": {
"creation_timestamp": "2025-01-27T12:00:00Z",
"schema_version": "2.1.0",
"quality_score": 0.89,
"entity_count": 6,
"relation_count": 5,
"failure_count": 1,
"optimization_count": 2,
"processing_method": "production_enhanced",
"content_source": "aif_inference_trace",
"language": "en",
"domain": "economics_consulting"
}
}