2024-10-23 14:32:40 -07:00
version : v0.1
listener :
address : 127.0 .0 .1
port : 8080 #If you configure port 443, you'll need to update the listener with tls_certificates
message_format : huggingface
# Centralized way to manage LLMs, manage keys, retry logic, failover and limits in a central way
llm_providers :
- name : OpenAI
2025-01-24 16:34:11 -08:00
provider_interface : openai
2024-10-30 17:54:51 -07:00
access_key : $OPENAI_API_KEY
2024-10-29 12:05:29 -07:00
model : gpt-4o-mini
2024-10-23 14:32:40 -07:00
default : true
# Arch creates a round-robin load balancing between different endpoints, managed via the cluster subsystem.
endpoints :
app_server :
# value could be ip address or a hostname with port
# this could also be a list of endpoints for load balancing
# for example endpoint: [ ip1:port, ip2:port ]
2024-10-31 14:37:04 -07:00
endpoint : host.docker.internal:18080
2024-10-23 14:32:40 -07:00
# max time to wait for a connection to be established
connect_timeout : 0. 005s
# default system prompt used by all prompt targets
system_prompt : |
2024-10-30 17:54:51 -07:00
You are a Workforce assistant that helps on workforce planning and HR decision makers with reporting and workforce planning. Use following rules when responding,
- when you get data in json format, offer some summary but don't be too verbose
- be concise, to the point and do not over analyze the data
2024-10-23 14:32:40 -07:00
prompt_targets :
- name : workforce
2024-11-25 17:51:25 -08:00
description : Get workforce data like headcount and satisfaction levels by region and staffing type
2024-10-23 14:32:40 -07:00
endpoint :
name : app_server
path : /agent/workforce
2024-12-06 14:37:33 -08:00
http_method : POST
2024-10-23 14:32:40 -07:00
parameters :
- name : staffing_type
type : str
2024-10-30 18:38:18 -07:00
description : specific category or nature of employment used by an organization like fte, contract and agency
2024-10-23 14:32:40 -07:00
required : true
2024-11-25 17:51:25 -08:00
enum : [ fte, contract, agency]
2024-10-23 14:32:40 -07:00
- name : region
type : str
required : true
description : Geographical region for which you want workforce data like asia, europe, americas.
2024-10-30 15:05:34 -07:00
- name : data_snapshot_days_ago
2024-10-23 14:32:40 -07:00
type : int
required : false
2024-10-30 15:05:34 -07:00
description : the snapshot day for which you want workforce data.
2024-10-23 14:32:40 -07:00
- name : slack_message
endpoint :
name : app_server
path : /agent/slack_message
2024-12-06 14:37:33 -08:00
http_method : POST
2024-10-23 14:32:40 -07:00
description : sends a slack message on a channel
parameters :
- name : slack_message
type : string
required : true
description : the message that should be sent to a slack channel