mirror of
https://github.com/katanemo/plano.git
synced 2026-04-25 00:36:34 +02:00
* fixed environment variables issue with build. Now llm provider access keys are being written correctly * fixed and verified that keys are being properly set when archgw is booted up * removing leaf reference to a staged config file. not needed anymore * minor fixes to get the build in more stable state * minor fixes based on feedback --------- Co-authored-by: Salman Paracha <salmanparacha@MacBook-Pro-261.local>
91 lines
2.8 KiB
YAML
91 lines
2.8 KiB
YAML
version: "0.1-beta"
|
|
|
|
listener:
|
|
address: 0.0.0.0
|
|
port: 10000
|
|
message_format: huggingface
|
|
connect_timeout: 0.005s
|
|
|
|
endpoints:
|
|
api_server:
|
|
endpoint: host.docker.internal:18083
|
|
connect_timeout: 0.005s
|
|
|
|
overrides:
|
|
# confidence threshold for prompt target intent matching
|
|
prompt_target_intent_matching_threshold: 0.6
|
|
|
|
llm_providers:
|
|
- name: open-ai-gpt-4
|
|
access_key: OPENAI_API_KEY
|
|
provider: openai
|
|
model: gpt-4
|
|
default: true
|
|
- name: mistral-large-latest
|
|
access_key: MISTRAL_API_KEY
|
|
provider: mistral
|
|
model: mistral-large-latest
|
|
|
|
system_prompt: |
|
|
You are a helpful assistant.
|
|
|
|
prompt_targets:
|
|
- name: weather_forecast
|
|
description: This function provides realtime weather forecast information for a given city.
|
|
parameters:
|
|
- name: city
|
|
required: true
|
|
description: The city for which the weather forecast is requested.
|
|
type: string
|
|
- name: days
|
|
description: The number of days for which the weather forecast is requested.
|
|
type: integer
|
|
- name: units
|
|
description: The units in which the weather forecast is requested.
|
|
type: string
|
|
endpoint:
|
|
name: api_server
|
|
path: /weather
|
|
system_prompt: |
|
|
You are a helpful weather forecaster. Use weater data that is provided to you. Please following following guidelines when responding to user queries:
|
|
- Use farenheight for temperature
|
|
- Use miles per hour for wind speed
|
|
|
|
- name: insurance_claim_details
|
|
description: This function resolver provides insurance claim details for a given policy number.
|
|
parameters:
|
|
- name: policy_number
|
|
required: true
|
|
description: The policy number for which the insurance claim details are requested.
|
|
type: string
|
|
- name: include_expired
|
|
description: whether to include expired insurance claims in the response.
|
|
type: bool
|
|
required: true
|
|
endpoint:
|
|
name: api_server
|
|
path: /insurance_claim_details
|
|
system_prompt: |
|
|
You are a helpful insurance claim details provider. Use insurance claim data that is provided to you. Please following following guidelines when responding to user queries:
|
|
- Use policy number to retrieve insurance claim details
|
|
|
|
- name: default_target
|
|
default: true
|
|
description: This is the default target for all unmatched prompts.
|
|
endpoint:
|
|
name: api_server
|
|
path: /default_target
|
|
system_prompt: |
|
|
You are a helpful assistant. Use the information that is provided to you.
|
|
# if it is set to false arch will send response that it received from this prompt target to the user
|
|
# if true arch will forward the response to the default LLM
|
|
auto_llm_dispatch_on_response: true
|
|
|
|
ratelimits:
|
|
- model: gpt-4
|
|
selector:
|
|
key: selector-key
|
|
value: selector-value
|
|
limit:
|
|
tokens: 1
|
|
unit: minute
|