Update ag-ui-research example

This commit is contained in:
Yiorgis Gozadinos 2026-01-05 12:04:30 +02:00
parent 7ddd29d108
commit ff58adb549
No known key found for this signature in database
3 changed files with 16 additions and 12 deletions

View file

@ -61,12 +61,17 @@ Research assistant powered by [haiku.rag](https://ggozad.github.io/haiku.rag/),
DB_PATH=/path/to/your/existing/haiku_rag.lancedb # If using an existing db.
```
4. **Start the application**
4. **Pull the base image**
```bash
docker pull ghcr.io/ggozad/haiku.rag-slim:latest
```
5. **Start the application**
```bash
docker compose up --build
```
5. **Access the interface**
6. **Access the interface**
- Frontend: http://localhost:3000
- Backend health: http://localhost:8000/health

View file

@ -7,11 +7,10 @@ COPY main.py agent.py ./
# Install additional dependencies for the example
RUN pip install --no-cache-dir \
starlette>=0.45.2 \
uvicorn[standard]>=0.34.2 \
python-dotenv>=1.0.1
starlette>=0.50.0 \
uvicorn[standard]>=0.40.0 \
python-dotenv>=1.2.1
EXPOSE 8000
# Run with uvicorn
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000", "--reload"]

View file

@ -5,15 +5,15 @@ description = "Haiku.rag research assistant with AG-UI protocol support"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"starlette>=0.45.2",
"uvicorn[standard]>=0.34.2",
"pydantic-ai-slim[ag-ui,openai]>=1.17.0",
"python-dotenv>=1.0.1",
"haiku.rag-slim[agui]>=0.20.0",
"starlette>=0.50.0",
"uvicorn[standard]>=0.40.0",
"pydantic-ai-slim[ag-ui,openai]>=1.39.0",
"python-dotenv>=1.2.1",
"haiku.rag-slim[agui]>=0.23.1",
]
[dependency-groups]
dev = ["pyright>=1.1.406", "ruff>=0.13.0"]
dev = ["pyright>=1.1.407", "ruff>=0.14.10"]
[tool.hatch.metadata]
allow-direct-references = true