Files
kv-ai/pyproject.toml
Santhosh Janardhanan f000f13672 fix: Docker paths, chunker word→char split, and ChatOrchestrator args
Fixed multiple issues preventing the indexer from running:
- Docker COPY paths: companion/ → src/companion/ to match project structure
- pyproject.toml: [tool.hatchling] → [tool.hatch.build.targets.wheel]
- api.py: ChatOrchestrator init params (session_memory instead of http_client)
- chunker.py: Fixed character-based chunking (was word-based, causing 400 errors from Ollama embedding API due to exceeding token limits)
- config.json: Use exact model tag mxbai-embed-large:335m
- docker-compose.yml: Fixed vault mount path
2026-04-13 16:45:50 -04:00

46 lines
932 B
TOML

[project]
name = "companion"
version = "0.1.0"
description = "Personal companion AI with local RAG"
requires-python = ">=3.11"
dependencies = [
"pydantic>=2.0",
"lancedb>=0.9.0",
"pyarrow>=15.0.0",
"requests>=2.31.0",
"watchdog>=4.0.0",
"typer>=0.12.0",
"rich>=13.0.0",
"numpy>=1.26.0",
"fastapi>=0.109.0",
"uvicorn[standard]>=0.27.0",
"httpx>=0.27.0",
"sse-starlette>=2.0.0",
"python-multipart>=0.0.9",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.23.0",
"httpx>=0.27.0",
"respx>=0.21.0",
]
train = [
"unsloth>=2024.1.0",
"torch>=2.1.0",
"transformers>=4.36.0",
"datasets>=2.14.0",
"peft>=0.7.0",
"accelerate>=0.25.0",
"bitsandbytes>=0.41.0",
"trl>=0.7.0",
]
[tool.hatch.build.targets.wheel]
packages = ["src/companion"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"