arch schema validator (#105)

* add arch schema validator

* schema validator
This commit is contained in:
Adil Hafeez 2024-10-01 09:22:08 -07:00 committed by GitHub
parent 15869825e3
commit 41cdef590a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 165 additions and 3 deletions

View file

@ -32,10 +32,13 @@ prompt_targets:
- 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
@ -50,17 +53,16 @@ prompt_targets:
- name: timezone
description: The city for which the weather forecast is requested.
default: US/Pacific
type: string
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
description: This function resolver provides insurance claim details for a given policy number.
parameters:
- name: policy_number