mirror of
https://github.com/katanemo/plano.git
synced 2026-04-25 08:46:24 +02:00
add support for default target (#111)
* add support for default target * add more fixes
This commit is contained in:
parent
c8d0dbec26
commit
1b57a49c9d
8 changed files with 215 additions and 88 deletions
|
|
@ -47,21 +47,6 @@ prompt_targets:
|
|||
- Use farenheight for temperature
|
||||
- Use miles per hour for wind speed
|
||||
|
||||
- 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
|
||||
type: string
|
||||
endpoint:
|
||||
name: api_server
|
||||
path: /current_time
|
||||
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
|
||||
description: This function resolver provides insurance claim details for a given policy number.
|
||||
parameters:
|
||||
|
|
@ -80,6 +65,18 @@ prompt_targets:
|
|||
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:
|
||||
- provider: gpt-3.5-turbo
|
||||
selector:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue