CogniTalk is a local ChatGPT-style web app powered by Ollama, Streamlit, and MongoDB.
It lets you chat with LLMs, auto-generates chat titles, and stores your chat history persistently in MongoDB.
- 💬 ChatGPT-like UI built using Streamlit
- 🤖 Local LLM integration via Ollama
- 🧱 Persistent chat storage with MongoDB
- 🪄 Automatic chat title generation using LlamaIndex prompts
- ⚡ Dynamic model selection from available Ollama models
- 🧠 Smooth user experience — chats auto-refresh, history view in sidebar
| Component | Technology |
|---|---|
| Frontend | Streamlit |
| Backend LLM | Ollama |
| Database | MongoDB |
| Prompt Handling | LlamaIndex PromptTemplate |
| Language | Python 3.10+ |
git clone https://github.com/<your-username>/CogniTalk.git
cd CogniTalkpython -m venv .venv source .venv/bin/activate # for Mac/Linux .venv\Scripts\activate # for Windows
Run the App streamlit run main.py