How d-suraj/personal-assistant-llm works
WorkMind is a Streamlit knowledge-base assistant. Users create projects, upload files or index local folders, and the app stores file metadata while chunking and embedding content into a searchable vector store. They can inspect semantic matches directly or ask questions, which combine retrieved chunks with chat history before calling OpenRouter. The README also documents batch deletion and configuration views. The excerpts show the main indexing and query wiring; some dashboard and deletion relationships are supported only by the README.
Main entry points: app.py Streamlit app · embeddings.py Embedding client · database.py Project metadata · vector_store.py Vector index
Components 10
App and workflows
- Streamlit app
app.py - Settings
config.py
Content indexing
- File discovery and reading
text_utils.py - Semantic chunker
chunking.py
Persistence and retrieval
- Project metadata
database.py - Vector index
vector_store.py
Model services
- Embedding client
embeddings.py - Contextual answering
openrouter_client.py
Other components
- User
- OpenRouter API
Connections 18
- User → Streamlit app: uses
README.md - Streamlit app → Settings: loads settings
app.py - Streamlit app → Project metadata: manages projects
app.py - Streamlit app → File discovery and reading: discovers files
app.py - Streamlit app → Project metadata: saves file metadata
app.py - Streamlit app → Semantic chunker: chunks documents
app.py - Semantic chunker → Embedding client: embeds units
chunking.py - Streamlit app → Embedding client: embeds chunks
app.py - Streamlit app → Vector index: indexes chunks
app.py - User → Streamlit app: asks questions
README.md - Streamlit app → Embedding client: embeds query
app.py - Streamlit app → Vector index: searches matches
app.py - Streamlit app → Contextual answering: requests answer
app.py - Contextual answering → OpenRouter API: calls chat API
openrouter_client.py - Embedding client → OpenRouter API: requests embeddings
embeddings.py - User → Streamlit app: deletes files
README.md - Streamlit app → Vector index: deletes indexed chunks
README.md - Streamlit app → Project metadata: deletes file records
README.md