plano/demos/function_calling
2024-10-10 23:34:21 -07:00
..
api_server updated archgw cli to pull from archgw_modelserver from pypi (#169) 2024-10-09 21:00:26 -07:00
grafana fix prometheus target and update dashboard. (#165) 2024-10-10 14:57:20 -07:00
prometheus fix prometheus target and update dashboard. (#165) 2024-10-10 14:57:20 -07:00
arch_config.yaml Improve cli (#179) 2024-10-10 17:44:41 -07:00
docker-compose.yaml fix for linux (#175) 2024-10-10 14:56:23 -07:00
Dockerfile-opentelemetry Split listener (#141) 2024-10-08 16:24:08 -07:00
otel-collector-config.yaml Split listener (#141) 2024-10-08 16:24:08 -07:00
README.md fix lint 2024-10-10 23:34:21 -07:00
run_demo.sh fixed cli to use poetry as well. this way we make it easy to have the… (#160) 2024-10-09 15:53:12 -07:00

Function calling

This demo shows how you can use Arch's core function calling capabilites.

Starting the demo

  1. Please make sure the pre-requisites are installed correctly

  2. Start Arch

  3. sh run_demo.sh
    
  4. Navigate to http://localhost:18080/

  5. You can type in queries like "how is the weather?"

Observability

Arch gateway publishes stats endpoint at http://localhost:19901/stats. In this demo we are using prometheus to pull stats from arch and we are using grafana to visalize the stats in dashboard. To see grafana dashboard follow instructions below,

  1. Start grafana and prometheus using following command
    docker compose --profile monitoring up
    
  2. Navigate to http://localhost:3000/ to open grafana UI (use admin/grafana as credentials)
  3. From grafana left nav click on dashboards and select "Intelligent Gateway Overview" to view arch gateway stats

Here is a sample interaction, image