mirror of
https://github.com/katanemo/plano.git
synced 2026-05-27 14:17:15 +02:00
* commiting my hr_agent branch * updating the HR agent config * pushing to remote * fix hr agent * committing to merge with main * updating to merge from main * updating the demo and model-server-tests to pull from poetry * updating the poetry.lock files * updating based on feedback * updated sysmte prompt for hr_agent --------- Co-authored-by: Salman Paracha <salmanparacha@MacBook-Pro-261.local> Co-authored-by: Adil Hafeez <adil@katanemo.com> |
||
|---|---|---|
| .. | ||
| tools | ||
| arch_config_schema.yaml | ||
| build_filter_image.sh | ||
| CONTRIBUTING.md | ||
| docker-compose.dev.yaml | ||
| docker-compose.yaml | ||
| Dockerfile | ||
| envoy.template.yaml | ||
| README.md | ||
| requirements.txt | ||
| stage.env | ||
Envoy filter code for gateway
Add toolchain
$ rustup target add wasm32-wasi
Building
$ cargo build --target wasm32-wasi --release
Testing
$ cargo test
Local development
-
Build docker image for arch gateway. Note this needs to be built once.
$ sh build_filter_image.sh -
Build filter binary,
$ cargo build --target wasm32-wasi --release -
Start envoy with arch_config.yaml and test,
$ docker compose -f docker-compose.dev.yaml up archgw -
dev version of docker-compose file uses following files that are mounted inside the container. That means no docker rebuild is needed if any of these files change. Just restart the container and chagne will be picked up,
- envoy.template.yaml
- intelligent_prompt_gateway.wasm