mirror of
https://github.com/katanemo/plano.git
synced 2026-04-26 09:16:24 +02:00
148 lines
3 KiB
YAML
148 lines
3 KiB
YAML
|
|
$schema: "http://json-schema.org/draft-07/schema#"
|
||
|
|
type: object
|
||
|
|
properties:
|
||
|
|
version:
|
||
|
|
type: string
|
||
|
|
listener:
|
||
|
|
type: object
|
||
|
|
properties:
|
||
|
|
address:
|
||
|
|
type: string
|
||
|
|
port:
|
||
|
|
type: integer
|
||
|
|
message_format:
|
||
|
|
type: string
|
||
|
|
connect_timeout:
|
||
|
|
type: string
|
||
|
|
additionalProperties: false
|
||
|
|
required:
|
||
|
|
- address
|
||
|
|
- port
|
||
|
|
endpoints:
|
||
|
|
type: object
|
||
|
|
patternProperties:
|
||
|
|
"^.*$":
|
||
|
|
type: object
|
||
|
|
properties:
|
||
|
|
endpoint:
|
||
|
|
type: string
|
||
|
|
connect_timeout:
|
||
|
|
type: string
|
||
|
|
additionalProperties: false
|
||
|
|
required:
|
||
|
|
- endpoint
|
||
|
|
llm_providers:
|
||
|
|
type: array
|
||
|
|
items:
|
||
|
|
type: object
|
||
|
|
properties:
|
||
|
|
name:
|
||
|
|
type: string
|
||
|
|
access_key:
|
||
|
|
type: string
|
||
|
|
model:
|
||
|
|
type: string
|
||
|
|
default:
|
||
|
|
type: boolean
|
||
|
|
additionalProperties: false
|
||
|
|
required:
|
||
|
|
- name
|
||
|
|
- access_key
|
||
|
|
- model
|
||
|
|
overrides:
|
||
|
|
type: object
|
||
|
|
properties:
|
||
|
|
prompt_target_intent_matching_threshold:
|
||
|
|
type: number
|
||
|
|
system_prompt:
|
||
|
|
type: string
|
||
|
|
prompt_targets:
|
||
|
|
type: array
|
||
|
|
items:
|
||
|
|
type: object
|
||
|
|
properties:
|
||
|
|
name:
|
||
|
|
type: string
|
||
|
|
default:
|
||
|
|
type: boolean
|
||
|
|
description:
|
||
|
|
type: string
|
||
|
|
parameters:
|
||
|
|
type: array
|
||
|
|
items:
|
||
|
|
type: object
|
||
|
|
properties:
|
||
|
|
name:
|
||
|
|
type: string
|
||
|
|
additionalProperties: false
|
||
|
|
required:
|
||
|
|
type: boolean
|
||
|
|
default:
|
||
|
|
type: string
|
||
|
|
description:
|
||
|
|
type: string
|
||
|
|
type:
|
||
|
|
type: string
|
||
|
|
additionalProperties: false
|
||
|
|
required:
|
||
|
|
- name
|
||
|
|
- description
|
||
|
|
- type
|
||
|
|
endpoint:
|
||
|
|
type: object
|
||
|
|
properties:
|
||
|
|
name:
|
||
|
|
type: string
|
||
|
|
path:
|
||
|
|
type: string
|
||
|
|
additionalProperties: false
|
||
|
|
required:
|
||
|
|
- name
|
||
|
|
- path
|
||
|
|
system_prompt:
|
||
|
|
type: string
|
||
|
|
additionalProperties: false
|
||
|
|
required:
|
||
|
|
- name
|
||
|
|
- description
|
||
|
|
ratelimits:
|
||
|
|
type: array
|
||
|
|
items:
|
||
|
|
type: object
|
||
|
|
properties:
|
||
|
|
provider:
|
||
|
|
type: string
|
||
|
|
selector:
|
||
|
|
type: object
|
||
|
|
properties:
|
||
|
|
key:
|
||
|
|
type: string
|
||
|
|
value:
|
||
|
|
type: string
|
||
|
|
additionalProperties: false
|
||
|
|
required:
|
||
|
|
- key
|
||
|
|
- value
|
||
|
|
limit:
|
||
|
|
type: object
|
||
|
|
properties:
|
||
|
|
tokens:
|
||
|
|
type: integer
|
||
|
|
unit:
|
||
|
|
type: string
|
||
|
|
additionalProperties: false
|
||
|
|
required:
|
||
|
|
- tokens
|
||
|
|
- unit
|
||
|
|
additionalProperties: false
|
||
|
|
required:
|
||
|
|
- provider
|
||
|
|
- selector
|
||
|
|
- limit
|
||
|
|
additionalProperties: false
|
||
|
|
required:
|
||
|
|
- version
|
||
|
|
- listener
|
||
|
|
- llm_providers
|
||
|
|
- prompt_targets
|