mirror of
https://github.com/katanemo/plano.git
synced 2026-04-25 08:46:24 +02:00
* adding function_calling functionality via rust * fixed rendered YAML file * removed model_server from envoy.template and forwarding traffic to bright_staff * fixed bugs in function_calling.rs that were breaking tests. All good now * updating e2e test to clean up disk usage * removing Arch* models to be used as a default model if one is not specified * if the user sets arch-function base_url we should honor it * fixing demos as we needed to pin to a particular version of huggingface_hub else the chatbot ui wouldn't build * adding a constant for Arch-Function model name * fixing some edge cases with calls made to Arch-Function * fixed JSON parsing issues in function_calling.rs * fixed bug where the raw response from Arch-Function was re-encoded * removed debug from supervisord.conf * commenting out disk cleanup * adding back disk space --------- Co-authored-by: Salman Paracha <salmanparacha@MacBook-Pro-288.local> Co-authored-by: Salman Paracha <salmanparacha@MacBook-Pro-342.local> |
||
|---|---|---|
| .. | ||
| arch_config.yaml | ||
| docker-compose.yaml | ||
| Dockerfile | ||
| image.png | ||
| main.py | ||
| README.md | ||
| requirements.txt | ||
| run_demo.sh | ||
| test_data.yaml | ||
| workforce_data.json | ||
HR Agent Demo
This demo showcases how the Arch can be used to build an HR agent to manage workforce-related inquiries, workforce planning, and communication via Slack. It intelligently routes incoming prompts to the correct targets, providing concise and useful responses tailored for HR and workforce decision-making.
Available Functions:
-
HR Q/A: Handles general Q&A related to insurance policies.
- Endpoint:
/agent/hr_qa
- Endpoint:
-
Workforce Data Retrieval: Retrieves data related to workforce metrics like headcount, satisfaction, and staffing.
- Endpoint:
/agent/workforce - Parameters:
staffing_type(str, required): Type of staffing (e.g.,contract,fte,agency).region(str, required): Region for which the data is requested (e.g.,asia,europe,americas).point_in_time(int, optional): Time point for data retrieval (e.g.,0 days ago,30 days ago).
- Endpoint:
-
Initiate Policy: Sends messages to a Slack channel
- Endpoint:
/agent/slack_message - Parameters:
slack_message(str, required): The message content to be sent
- Endpoint:
Starting the demo
- Please make sure the pre-requisites are installed correctly
- Start Arch
sh run_demo.sh - Navigate to http://localhost:18080/agent/chat
- "Can you give me workforce data for asia?"