plano/demos/function_calling
Salman Paracha bb9a774a72
moving chatbot-ui in demos and out of root project structure (#228)
Co-authored-by: Salman Paracha <salmanparacha@MacBook-Pro-261.local>
2024-10-29 12:05:29 -07:00
..
api_server Improve Gradio UI and fix arch_state bug (#227) 2024-10-29 11:27:13 -07:00
grafana update observability and dashboards (#198) 2024-10-18 15:07:49 -07:00
prometheus fix prometheus target and update dashboard. (#165) 2024-10-10 14:57:20 -07:00
arch_config.yaml Add support for streaming and fixes few issues (see description) (#202) 2024-10-28 17:05:06 -07:00
docker-compose.yaml moving chatbot-ui in demos and out of root project structure (#228) 2024-10-29 12:05:29 -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