legco_ai_assistant/backend
Woody c9f330d57e fix(backend): wrap embedding function for ChromaDB 0.4.22 compatibility
- Add _EmbeddingFunctionWrapper class with __call__(self, input) signature

- Use ThreadPoolExecutor to run async embed in isolated thread with fresh event loop

- Fixes asyncio.run() cannot be called from a running event loop

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-04-23 13:25:08 +08:00
..
app fix(backend): wrap embedding function for ChromaDB 0.4.22 compatibility 2026-04-23 13:25:08 +08:00
uploads chore: add .gitignore with Python, Node, env, and ChromaDB exclusions 2026-04-22 15:57:04 +08:00
.env.example feat: Phase 1.1 project setup with config, database, and models 2026-04-22 16:13:52 +08:00
pytest.ini feat: Phase 1.2 ingestion pipeline with chunking and metadata 2026-04-22 16:49:52 +08:00
requirements.txt fix(backend): resolve pytest dependency conflict and remove sentence-transformers 2026-04-23 13:24:54 +08:00