Files
rag-technical-docs-assistant/pyproject.toml
T
amirhosein mazaheri 9dac244590 feat(voice): add bounded Realtime knowledge runtime
Connect OpenAI Realtime to the existing async StructuredTool and shared
SearchToolRunner with backend-owned authority and per-turn source references.
Add an operator-only smoke harness with persisted actor and provider opt-in.

Enforce confirmed readiness delivery, strict function identity, canonical
results and once-only continuations. Bound and pace generated audio, preserve
turn correlation, and require acknowledged cleanup before response release.
Handle Unicode arguments, UTF-8 replay budgets and user-ASR completion replays.

Validate with 318 voice/runner/shutdown tests and 1563 provider-free tests.
Three Windows symlink tests skip; 311 PostgreSQL tests are deselected.
Real-provider, browser playback and PostgreSQL acceptance remain unrun.
2026-10-08 18:06:03 +03:30

35 lines
1.0 KiB
TOML

[build-system]
requires = ["setuptools>=75"]
build-backend = "setuptools.build_meta"
[project]
name = "rag-technical-docs-assistant"
version = "0.1.0"
requires-python = ">=3.11"
dependencies = [
"SQLAlchemy>=2.0.36,<2.1", "psycopg[binary]>=3.2.3,<4",
"alembic>=1.14,<2", "pgvector>=0.3.6,<1",
"PyMuPDF>=1.26,<2", "Pillow>=12.2,<13", "defusedxml>=0.7.1,<1",
"pydantic-settings>=2.7,<3", "argon2-cffi>=23.1,<26",
]
[project.optional-dependencies]
search = ["langchain-core>=1,<2"]
voice = ["langchain-core>=1,<2", "websockets>=15,<18"]
embedding = ["tiktoken>=0.8,<1"]
test = ["pytest>=8.3,<10"]
prototype = [
"fastapi>=0.115,<1", "uvicorn>=0.34,<1", "langgraph>=1,<2",
"langchain>=1,<2", "langchain-openai>=1,<2", "langchain-chroma>=1,<2",
"langchain-community>=0.4,<1", "langchain-text-splitters>=1,<2",
"chromadb>=1,<2", "fastembed>=0.7,<1",
]
[tool.setuptools.packages.find]
include = ["app*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra"
markers = ["postgres: requires an isolated PostgreSQL database with pgvector"]