/SparkOllama

SparkOllama is your go-to ollama web-UI interface powered by Streamlit for seamless, AI-powered conversations. Built on Ollama's advanced LLM, it delivers smart, dynamic responses effortlessly. Whether for work or fun, SparkOllama makes engaging with AI simple and intuitive.

Primary LanguagePythonMIT LicenseMIT

SparkOllama 🤖

Your AI, Your Conversations; Powered by Streamlit and Ollama; Developed by Sparkience AI Lab

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!


Features ✨

  • 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.

How It Works ⚙️

  1. Model Selection:

    • Choose your AI model from a dropdown list. Ollama provides various models for different use cases.
  2. Chat with AI:

    • Type your query into the chat box, and the AI will respond in real-time with intelligent, conversational answers.
  3. Clear Chat:

    • Easily clear your chat history using the "Clear Chat History" button to start fresh at any time.

Installation 🚀

  1. Clone the Repository:

    git clone https://github.com/your-repo/sparkollama.git
    cd sparkollama
  2. Install Dependencies:

    pip install -r requirements.txt
  3. Run the Application:

    streamlit run file.py
  4. Open the App:

    • Visit http://localhost:8501 in your browser to start interacting with SparkOllama!

Key Files 🗂️

  • 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.


User Interface 🖥️

  • 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.

Behind the Scenes 🧠

  • 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.

Contribution Guidelines 🤝

We welcome contributions! If you'd like to contribute to SparkOllama, feel free to open an issue or submit a pull request.


Future Plans 🔮

  • 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.

License 📜

This project is licensed under the MIT License. See the LICENSE file for details.


Stay Connected 🌐

Made with ❤️ by Sparkience AI Lab. Feel free to reach out or follow us for updates!

Happy chatting with SparkOllama! 👨‍💻👩‍💻