2024-09-30 17:49:05 -07:00
version : "0.1-beta"
2024-09-10 14:24:46 -07:00
2024-09-30 17:49:05 -07:00
listener :
address : 0.0 .0 .0
port : 10000
message_format : huggingface
connect_timeout : 0. 005s
2024-09-10 14:24:46 -07:00
2024-09-30 17:49:05 -07:00
endpoints :
api_server :
endpoint : api_server:80
connect_timeout : 0. 005s
2024-09-10 14:24:46 -07:00
2024-09-30 17:49:05 -07:00
llm_providers :
2024-09-10 14:24:46 -07:00
- name : open-ai-gpt-4
2024-09-30 17:49:05 -07:00
access_key : $OPEN_AI_API_KEY
2024-09-10 14:24:46 -07:00
model : gpt-4
default : true
2024-09-30 17:49:05 -07:00
overrides :
# confidence threshold for prompt target intent matching
prompt_target_intent_matching_threshold : 0.6
system_prompt : |
You are a helpful assistant.
2024-09-10 14:24:46 -07:00
prompt_targets :
2024-09-30 17:49:05 -07:00
- name : weather_forecast
2024-09-27 13:33:05 -07:00
description : This function provides realtime weather forecast information for a given city.
2024-09-10 14:24:46 -07:00
parameters :
- name : city
required : true
description : The city for which the weather forecast is requested.
- name : days
description : The number of days for which the weather forecast is requested.
- name : units
description : The units in which the weather forecast is requested.
endpoint :
2024-09-30 17:49:05 -07:00
name : api_server
2024-09-10 14:24:46 -07:00
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
2024-09-30 17:49:05 -07:00
- name : system_time
description : This function provides the current system time.
parameters :
- name : timezone
description : The city for which the weather forecast is requested.
default : US/Pacific
endpoint :
name : api_server
path : /current_time
method : Get
system_prompt : |
You are a helpful system time provider. Use system time data that is provided to you. Please following following guidelines when responding to user queries :
- Use 12 hour time format
- Use AM/PM for time
- name : insurance_claim_details
type : function_resolver
2024-09-18 15:54:40 -07:00
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.
2024-09-23 22:56:35 -07:00
type : string
2024-09-20 09:02:24 -07:00
- name : include_expired
2024-09-27 13:34:10 -07:00
description : whether to include expired insurance claims in the response.
type : bool
required : true
2024-09-18 15:54:40 -07:00
endpoint :
2024-09-30 17:49:05 -07:00
name : api_server
2024-09-18 15:54:40 -07:00
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
2024-09-30 17:49:05 -07:00
ratelimits :
- provider : gpt-3.5-turbo
selector :
key : selector-key
value : selector-value
limit :
tokens : 1
unit : minute