2024-10-12 17:58:35 -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
provider : openai
access_key : OPENAI_API_KEY
model : gpt-4o
default : true
2024-10-18 14:41:04 -07:00
# 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 ]
endpoint : host.docker.internal:18083
# max time to wait for a connection to be established
connect_timeout : 0. 005s
2024-10-12 17:58:35 -07:00
# default system prompt used by all prompt targets
system_prompt : |
2024-10-22 18:34:25 -07:00
You are a Workforce agent assistant that helps workforce planning and HR decision makers with reporting and workfoce planning. NOTHING ELSE. Please stay on topic of workforce planning and HR.
2024-10-12 17:58:35 -07:00
prompt_targets :
2024-10-22 17:01:23 -07:00
- name : hr_qa
endpoint :
name : app_server
path : /agent/hr_qa
description : Handle general Q/A related to HR.
default : true
- name : workforce
description : Get workforce data like headcount and satisfacton levels by region and staffing type
2024-10-12 17:58:35 -07:00
endpoint :
name : app_server
2024-10-22 17:01:23 -07:00
path : /agent/workforce
2024-10-12 17:58:35 -07:00
parameters :
- name : staffing_type
type : str
2024-10-22 18:34:25 -07:00
description : Staffing type like contract, fte or agency
2024-10-12 17:58:35 -07:00
required : true
- name : region
type : str
required : true
2024-10-22 18:34:25 -07:00
description : Geographical region for which you want workforce data like asia, europe, americas.
2024-10-22 17:01:23 -07:00
- name : point_in_time
type : int
required : false
2024-10-22 17:02:30 -07:00
description : the point in time for which to retrieve data. For e.g 0 days ago, 30 days ago, etc.
2024-10-22 17:01:23 -07:00
- name : slack_message
2024-10-12 17:58:35 -07:00
endpoint :
name : app_server
2024-10-22 17:01:23 -07:00
path : /agent/slack_message
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