How danielballardp/project-assistant works
Project Assistant is a small web-based German project Q&A chat backed by an OpenAI-compatible model server. The main workflow is a user message sent by the browser to FastAPI, where a system prompt and user message are passed to the chat client; responses can be streamed back as server-sent events. The package also implements an embedding client, but the sampled runtime shows no retrieval or document-store integration. The README is empty, so no additional documented product capabilities can be confirmed.
Main entry points: main.py HTTP API · llm.py Chat client · app.js Chat UI · config.py Settings
Components 8
Chat interaction
- Chat UI
src/project_assistant/static/app.js - HTTP API
src/project_assistant/main.py - System prompt
src/project_assistant/prompts.py
Model clients
- Chat client
src/project_assistant/llm.py - Embedding client
src/project_assistant/llm.py
Configuration
- Settings
src/project_assistant/config.py
Other components
- Project user
- OpenAI-compatible server
Connections 10
- Project user → Chat UI: enters message
src/project_assistant/static/app.js - Chat UI → HTTP API: posts stream request
src/project_assistant/static/app.js - HTTP API → System prompt: uses prompt
src/project_assistant/main.py - HTTP API → Chat client: requests chat stream
src/project_assistant/main.py - Chat client → OpenAI-compatible server: sends chat and receives tokens
src/project_assistant/llm.py - HTTP API → Chat UI: streams events
src/project_assistant/main.py - Chat client → Settings: reads model settings
src/project_assistant/llm.py - Embedding client → OpenAI-compatible server: requests embeddings
src/project_assistant/llm.py - Embedding client → Settings: reads embedding settings
src/project_assistant/llm.py - HTTP API → Settings: reads app settings
src/project_assistant/main.py