plano/demos/function_calling
2024-10-09 17:10:54 -07:00
..
api_server lint + formating with black (#158) 2024-10-09 11:25:07 -07:00
grafana improve service names (#54) 2024-09-17 08:47:35 -07:00
prometheus changes prometheus config target to arch so that data collection works (#98) 2024-09-30 14:35:21 -07:00
arch_config.yaml fixed function calling arch config yaml 2024-10-09 17:10:54 -07:00
docker-compose.yaml fixed function calling arch config yaml 2024-10-09 17:10:54 -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 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
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
    sh run_demo.sh
    
  3. Navigate to http://localhost:18080/
  4. 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