plano/demos/use_cases/rag_agent/arch_config.yaml
2025-09-07 23:26:00 -07:00

38 lines
1.3 KiB
YAML

version: v0.1.0
agents:
- name: rag_assistant
description: t-mobile virtual assistant for device contracts.
instructions: |
You are a virtual assistant, here to help users answer questions from device contracts team.
Use following instructions to process the user request,
1. Use query_processor_agent to understand user queries
2. Use search_documents to fetch relevant information
3. Use response_generator_agent to formulate clear responses
model: openai/gpt-4o
tools:
- name: query_processor_agent
# Parses user queries and extracts metadata, also handles clarification workflow
protocol: mcp
endpoint: https://localhost:10500
- name: search_documents
# Searches the document store for relevant information
protocol: mcp
endpoint: https://localhost:10501
- name: response_generator_agent
# Generates a final response based on user query and retrieved context
protocol: mcp
endpoint: https://localhost:10502
listener:
port: 8000
protocol: openai
path: /v1/chat/completions
llm_providers_v2:
default:
listener:
port: 12000
protocol: openai
providers:
- access_key: ${OPENAI_API_KEY}
model: openai/gpt-4o