Welcome to SparkOllama! This application is a sleek, AI-powered conversational interface built using Ollama's advanced language models. If you're looking for an effortless way to interact with AI through real-time responses, SparkOllama is the tool for you!
- Multiple AI Models: Choose from a list of available Ollama models to tailor your conversation.
- Real-Time Streaming: Get dynamic responses in real-time as you type, thanks to the Ollama API.
- Clear Chat History: Reset your conversation history at any time.
- Stylish Dark Mode: Enjoy a sleek, modern, and dark-themed interface for an immersive experience.
-
Model Selection:
- Choose your AI model from a dropdown list. Ollama provides various models for different use cases.
-
Chat with AI:
- Type your query into the chat box, and the AI will respond in real-time with intelligent, conversational answers.
-
Clear Chat:
- Easily clear your chat history using the "Clear Chat History" button to start fresh at any time.
-
Clone the Repository:
git clone https://github.com/your-repo/sparkollama.git cd sparkollama
-
Install Dependencies:
pip install -r requirements.txt
-
Run the Application:
streamlit run file.py
-
Open the App:
- Visit
http://localhost:8501
in your browser to start interacting with SparkOllama!
- Visit
-
file.py
:
The main Streamlit app that handles user input, displays messages, and interacts with the Ollama API. -
style.css
:
Custom CSS to give the application a sleek, modern look with a dark theme.
- Wide Mode Layout: Utilizes the full width of your screen for a more spacious experience.
- Interactive Chat Boxes: Different color schemes for user and AI responses for clarity and ease of reading.
- Dark Theme: Keep it sleek with a modern, dark-themed UI for comfortable use in low-light environments.
- Ollama API: SparkOllama leverages the Ollama chat API to stream conversational responses in real-time, enhancing the interactivity of the tool.
- Streamlit: Used to create a fast, responsive, and user-friendly web app interface.
We welcome contributions! If you'd like to contribute to SparkOllama, feel free to open an issue or submit a pull request.
- Improved Customization: More model options and fine-tuning capabilities.
- Saved Conversations: Allow users to save and revisit past conversations.
- Enhanced Visuals: Even more customization for the UI, with options for light mode and font changes.
This project is licensed under the MIT License. See the LICENSE
file for details.
Made with ❤️ by Sparkience AI Lab. Feel free to reach out or follow us for updates!
Happy chatting with SparkOllama! 👨💻👩💻