mirror of
https://github.com/katanemo/plano.git
synced 2026-07-02 15:51:02 +02:00
add default agent schema enforcement (#702)
This commit is contained in:
parent
da5cbc29b7
commit
43bdd0bfcf
2 changed files with 26 additions and 6 deletions
|
|
@ -102,13 +102,13 @@ listeners:
|
||||||
type: agent
|
type: agent
|
||||||
router: plano_orchestrator_v1
|
router: plano_orchestrator_v1
|
||||||
agents:
|
agents:
|
||||||
- name: simple_tmobile_rag_agent
|
- id: simple_tmobile_rag_agent
|
||||||
description: t-mobile virtual assistant for device contracts.
|
description: t-mobile virtual assistant for device contracts.
|
||||||
filter_chain:
|
filter_chain:
|
||||||
- query_rewriter
|
- query_rewriter
|
||||||
- context_builder
|
- context_builder
|
||||||
- response_generator
|
- response_generator
|
||||||
- name: research_agent
|
- id: research_agent
|
||||||
description: agent to research and gather information from various sources.
|
description: agent to research and gather information from various sources.
|
||||||
filter_chain:
|
filter_chain:
|
||||||
- research_agent
|
- research_agent
|
||||||
|
|
@ -117,11 +117,11 @@ listeners:
|
||||||
|
|
||||||
- name: llm_provider
|
- name: llm_provider
|
||||||
type: model
|
type: model
|
||||||
description: llm provider configuration
|
|
||||||
port: 12000
|
port: 12000
|
||||||
llm_providers:
|
|
||||||
- access_key: ${OPENAI_API_KEY}
|
model_providers:
|
||||||
model: openai/gpt-4o
|
- access_key: ${OPENAI_API_KEY}
|
||||||
|
model: openai/gpt-4o
|
||||||
"""
|
"""
|
||||||
arch_config_schema = ""
|
arch_config_schema = ""
|
||||||
with open("../config/arch_config_schema.yaml", "r") as file:
|
with open("../config/arch_config_schema.yaml", "r") as file:
|
||||||
|
|
|
||||||
|
|
@ -72,6 +72,26 @@ properties:
|
||||||
- model
|
- model
|
||||||
- prompt
|
- prompt
|
||||||
- agent
|
- agent
|
||||||
|
agents:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
id:
|
||||||
|
type: string
|
||||||
|
description:
|
||||||
|
type: string
|
||||||
|
default:
|
||||||
|
type: boolean
|
||||||
|
filter_chain:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
additionalProperties: false
|
||||||
|
required:
|
||||||
|
- id
|
||||||
|
- description
|
||||||
|
additionalProperties: false
|
||||||
required:
|
required:
|
||||||
- type
|
- type
|
||||||
- name
|
- name
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue