This commit is contained in:
Adil Hafeez 2025-02-03 15:03:38 -08:00
parent cf5577c781
commit 96b300f100
No known key found for this signature in database
GPG key ID: 9B18EF7691369645
3 changed files with 15 additions and 18 deletions

View file

@ -12,6 +12,11 @@ llm_providers:
provider_interface: openai
model: gpt-4o
endpoints:
frankfurther_api:
endpoint: api.frankfurter.dev
protocol: https
system_prompt: |
You are a helpful assistant.
@ -26,7 +31,7 @@ prompt_targets:
description: Get currency exchange rate from USD to other currencies
parameters:
- name: currency_symbol
description: Currency symbol
description: currency symbol to convert from USD
required: true
type: str
in_path: true
@ -42,11 +47,6 @@ prompt_targets:
name: frankfurther_api
path: /v1/currencies
endpoints:
frankfurther_api:
endpoint: api.frankfurter.dev
protocol: https
tracing:
random_sampling: 100
trace_arch_internal: true

View file

@ -4,6 +4,11 @@ listener:
port: 8080 #If you configure port 443, you'll need to update the listener with tls_certificates
message_format: huggingface
endpoints:
spotify:
endpoint: api.spotify.com
protocol: https
system_prompt: |
You are a music assistant. Extract critical details from the JSON response from Spotify like album images, artist name and artist image and display in a neat HTML-friendly way.
@ -28,9 +33,3 @@ prompt_targets:
http_headers:
Authorization: "Bearer $SPOTIFY_CLIENT_KEY"
description: browse new album releases in spotify
endpoints:
spotify:
endpoint: api.spotify.com:443
protocol: https
http_host: api.spotify.com

View file

@ -12,14 +12,13 @@ llm_providers:
provider_interface: openai
model: gpt-4o
system_prompt: |
You are a helpful assistant.
endpoints:
twelvedata_api:
endpoint: api.twelvedata.com:443
endpoint: api.twelvedata.com
protocol: https
http_host: api.twelvedata.com
system_prompt: |
You are a helpful assistant.
prompt_guards:
input_guards:
@ -65,7 +64,6 @@ prompt_targets:
system_prompt: |
You are a helpful stock exchange assistant. You are given stock symbol along with its historical data in json format. Your task is to parse the data and present it in a human-readable format. Keep the details to highlevel only and be concise.
tracing:
random_sampling: 100
trace_arch_internal: true