mirror of
https://github.com/ZTatman/Nadir.git
synced 2026-11-20 20:08:00 +00:00
- Move all Python source files into backend/ directory - Fix db.py: use absolute path (Path(__file__).parent) for chroma_db so the DB is always found regardless of where the server is launched from - Fix store.py: guard test entry under if __name__ == "__main__" to prevent duplicate inserts on every import - Fix query.py: extract query_entries(question) -> str function and move interactive loop under __main__ guard so it can be imported cleanly by FastAPI without blocking on input() - Add .claude/launch.json with FastAPI dev server configuration Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
18 lines
412 B
TOML
18 lines
412 B
TOML
[project]
|
|
name = "nadir"
|
|
version = "0.1.0"
|
|
description = "Add your description here"
|
|
readme = "README.md"
|
|
requires-python = ">=3.13"
|
|
dependencies = [
|
|
"chromadb>=1.5.5",
|
|
"langchain>=1.2.10",
|
|
"langchain-community>=0.4.1",
|
|
"openai>=2.26.0",
|
|
"openai-whisper>=20250625",
|
|
"pydantic>=2.12.5",
|
|
"python-dotenv>=1.2.2",
|
|
"scipy>=1.17.1",
|
|
"sounddevice>=0.5.5",
|
|
"streamlit>=1.55.0",
|
|
]
|