- Upload endpoint (base64 JSON, no multipart dep): extracts text from pdf/docx/txt/md via pypdf + python-docx, then runs the existing chunk/embed pipeline. Documents page uploads files straight through. - Citations: the chat stream emits an SSE `sources` event listing the documents that fed the answer; the UI shows them as chips under the reply. - Deps: pypdf, python-docx (both pure-Python, Windows-safe). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
19 lines
376 B
Plaintext
Executable File
19 lines
376 B
Plaintext
Executable File
# Windows / CPU-only install — runtime stack, no GPU deps
|
|
|
|
fastapi
|
|
uvicorn[standard]
|
|
httpx
|
|
requests
|
|
pydantic
|
|
PyYAML
|
|
python-dotenv
|
|
psutil
|
|
|
|
# Document ingest (RAG): pure-Python text extraction, no native deps
|
|
pypdf
|
|
python-docx
|
|
|
|
# Native desktop window for the UI (WebView2 on Windows; pulls pythonnet).
|
|
# Used by bin/nexus_window.py, launched from launch_nexus.ps1.
|
|
pywebview
|