refactor: consolidate to handler-base, migrate to pyproject.toml, add tests
This commit is contained in:
16
README.md
16
README.md
@@ -6,17 +6,10 @@ End-to-end voice assistant pipeline for the DaviesTechLabs AI/ML platform.
|
||||
|
||||
### Real-time Handler (NATS-based)
|
||||
|
||||
The voice assistant service listens on NATS for audio requests and returns synthesized speech responses.
|
||||
The voice assistant service listens on NATS for audio requests and returns synthesized speech responses. It uses the [handler-base](https://git.daviestechlabs.io/daviestechlabs/handler-base) library for standardized NATS handling, telemetry, and health checks.
|
||||
|
||||
**Pipeline:** STT → Embeddings → Milvus RAG → Rerank → LLM → TTS
|
||||
|
||||
| File | Description |
|
||||
|------|-------------|
|
||||
| `voice_assistant.py` | Standalone handler (v1) |
|
||||
| `voice_assistant_v2.py` | Handler using handler-base library |
|
||||
| `Dockerfile` | Standalone image |
|
||||
| `Dockerfile.v2` | Handler-base image |
|
||||
|
||||
### Kubeflow Pipeline (Batch)
|
||||
|
||||
For batch processing or async workflows via Kubeflow Pipelines.
|
||||
@@ -106,11 +99,10 @@ NATS (voice.request)
|
||||
## Building
|
||||
|
||||
```bash
|
||||
# Standalone image (v1)
|
||||
docker build -f Dockerfile -t voice-assistant:latest .
|
||||
docker build -t voice-assistant:latest .
|
||||
|
||||
# Handler-base image (v2 - recommended)
|
||||
docker build -f Dockerfile.v2 -t voice-assistant:v2 .
|
||||
# With specific handler-base tag
|
||||
docker build --build-arg BASE_TAG=latest -t voice-assistant:latest .
|
||||
```
|
||||
|
||||
## Related
|
||||
|
||||
Reference in New Issue
Block a user