Skip to content

Commit

Permalink
refactor demos (#398)
Browse files Browse the repository at this point in the history
  • Loading branch information
salmanap authored Feb 8, 2025
1 parent 2bd61d6 commit b3c95a6
Show file tree
Hide file tree
Showing 93 changed files with 338 additions and 1,042 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e_archgw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
pull_request:

jobs:
test:
e2e_archgw_tests:
runs-on: ubuntu-latest-m
defaults:
run:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e_model_server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
pull_request:

jobs:
test:
e2e_model_server_tests:
runs-on: ubuntu-latest-m
defaults:
run:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/e2e_test_demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
pull_request:

jobs:
test:
e2e_demo_tests:
runs-on: ubuntu-latest-m

steps:
Expand Down Expand Up @@ -37,12 +37,12 @@ jobs:
source venv/bin/activate
cd model_server/ && echo "installing model server" && poetry install
cd ../arch/tools && echo "installing archgw cli" && poetry install
cd ../../demos/test_runner && echo "installing test dependencies" && poetry install
cd ../../demos/shared/test_runner && echo "installing test dependencies" && poetry install
- name: run demo tests
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
MISTRAL_API_KEY: ${{ secrets.MISTRAL_API_KEY }}
run: |
source venv/bin/activate
cd demos/test_runner && sh run_demo_tests.sh
cd demos/shared/test_runner && sh run_demo_tests.sh
2 changes: 1 addition & 1 deletion .github/workflows/e2e_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
pull_request:

jobs:
test:
e2e_tests:
runs-on: ubuntu-latest

steps:
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,8 @@ Arch is engineered with purpose-built LLMs to handle critical but undifferentiat
To get in touch with us, please join our [discord server](https://discord.gg/pGZf2gcwEc). We will be monitoring that actively and offering support there.

## Demos
* [Weather Forecast](demos/weather_forecast/README.md) - Walk through of the core function calling capabilities of arch gateway using weather forecasting service
* [Insurance Agent](demos/insurance_agent/README.md) - Build a full insurance agent with Arch
* [Network Agent](demos/network_agent/README.md) - Build a networking co-pilot/agent agent with Arch
* [Weather Forecast](demos/samples_python/weather_forecast/README.md) - Walk through of the core function calling capabilities of arch gateway using weather forecasting service
* [Network Agent](demos/samples_python/network_switch_operator_agent/README.md) - Build a networking co-pilot/agent agent with Arch

## Quickstart

Expand Down
2 changes: 1 addition & 1 deletion arch/docker-compose.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
- "12000:12000"
- "19901:9901"
volumes:
- ${ARCH_CONFIG_FILE:-../demos/weather_forecast/arch_config.yaml}:/app/arch_config.yaml
- ${ARCH_CONFIG_FILE:-../demos/samples_python/weather_forecast/arch_config.yaml}:/app/arch_config.yaml
- /etc/ssl/cert.pem:/etc/ssl/cert.pem
- ./envoy.template.yaml:/app/envoy.template.yaml
- ./arch_config_schema.yaml:/app/arch_config_schema.yaml
Expand Down
19 changes: 0 additions & 19 deletions demos/insurance_agent/Dockerfile

This file was deleted.

58 changes: 0 additions & 58 deletions demos/insurance_agent/README.md

This file was deleted.

105 changes: 0 additions & 105 deletions demos/insurance_agent/arch_config.yaml

This file was deleted.

140 changes: 0 additions & 140 deletions demos/insurance_agent/insurance_agent_main.py

This file was deleted.

Loading

0 comments on commit b3c95a6

Please sign in to comment.