plano/demos/hr_agent
2024-12-20 13:25:01 -08:00
..
arch_config.yaml update getting started guide and add llm gateway and prompt gateway samples (#330) 2024-12-06 14:37:33 -08:00
docker-compose.yaml Use intent model from archfc to pick prompt gateway (#328) 2024-12-20 13:25:01 -08:00
Dockerfile update rust toolchain to 1.82 (#255) 2024-11-12 10:35:14 -08:00
image.png several fixes to demos (#238) 2024-10-30 18:38:18 -07:00
main.py Use intent model from archfc to pick prompt gateway (#328) 2024-12-20 13:25:01 -08:00
README.md fix ports and update README for paths to agent/chat (#240) 2024-10-31 09:25:24 -07:00
requirements.txt Updated hr_agent to be full stack: gradio + fastAPI (#235) 2024-10-30 15:05:34 -07:00
run_demo.sh remove dependency on docker-compose when starting up archgw (#305) 2024-11-26 13:13:02 -08:00
test_data.yaml Use intent model from archfc to pick prompt gateway (#328) 2024-12-20 13:25:01 -08:00
workforce_data.json Updated hr_agent to be full stack: gradio + fastAPI (#235) 2024-10-30 15:05:34 -07:00

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
  • 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).
  • Initiate Policy: Sends messages to a Slack channel

    • Endpoint: /agent/slack_message
    • Parameters:
      • slack_message (str, required): The message content to be sent

Starting the demo

  1. Please make sure the pre-requisites are installed correctly
  2. Start Arch
    sh run_demo.sh
    
  3. Navigate to http://localhost:18080/agent/chat
  4. "Can you give me workforce data for asia?"