A comprehensive and scalable Chatbot Application that integrates multiple language models through the Ollama API, featuring sophisticated model management, interactive chat interfaces, and RAG (Retrieval-Augmented Generation) capabilities for document analysis.
- Multi-Model Support: Seamlessly interact with various state-of-the-art Ollama language models including DeepSeek, Llama, Mistral, and 125+ more.
- Model Management Interface: Easy-to-use interface for downloading, managing, and switching between different language models.
- Real-time Chat Interface: Clean interface with model-specific chat history and streamed responses.
- Conversation History Management: Save, load, and manage chat conversations with automatic titling and organized storage for easy access to previous interactions.
- RAG-Powered Document Analysis: Advanced document processing system supporting PDF analysis with multiple embedding models for context-aware document querying and intelligent responses.
- Experiment Management: Save, load, and track different document analysis configurations with customizable retrieval settings for reproducible results.
- Responsive Design: Modern, responsive UI with animated components and intuitive navigation.
TalkNexus.mp4
- Python 3.11 or higher
- Ollama API (latest version)
- Poetry (Python package manager)
- 8GB+ RAM (varies based on model size)
Important Note: Demo Version is not able to run Ollama API, run the app locally for full feature usability.
git clone https://github.com/TsLu1s/talknexus.git
cd talknexusmacOS (using pyenv):
# Install pyenv if not already installed
brew install pyenv
# Install Python 3.11
pyenv install 3.11
# Set Python 3.11 for this project
pyenv local 3.11Ubuntu/Debian:
sudo apt update
sudo apt install python3.11 python3.11-venvWindows:
Download and install Python 3.11 from python.org
curl -sSL https://install.python-poetry.org | python3 -Verify installation:
poetry --versionNote: You may need to add Poetry to your PATH. Follow the instructions shown after installation or add this to your shell config:
export PATH="$HOME/.local/bin:$PATH"
poetry env use python3.11poetry lock
poetry installVisit Ollama and follow the installation instructions for your operating system.
poetry run streamlit run navigation.pyOr activate the Poetry shell first:
poetry shell
streamlit run navigation.py- Explore the Ollama model ecosystem with detailed model cards
- View comprehensive information about model capabilities and specializations:
- Language Models, Specialized Models, Task-Specific Models, Domain-Specific Models...
- Access quick reference for hardware requirements
- Find links to essential documentation and resources
- Navigate to the "Language Models Management" section
- Select and download desired models from the available list
- Monitor installation progress and system requirements
- Manage installed models through the interface
- Select a model from the dropdown menu
- Enter your message in the chat input
- View real-time responses in the chat window
- Switch between models as needed
- Access conversation history
- Start new conversations
- Load previous conversations
- Continue ongoing conversations
- Delete unwanted conversations
- Upload PDF documents for analysis
- Select embedding model and language model
- Configure retrieval settings with customizable chunk sizes and parent documents
- Save and manage experiments for reproducibility
- Ask questions about your documents
- Receive context-aware responses based on document content
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Distributed under the MIT License. See LICENSE for more information.
Luis Santos - LinkedIn