Awesome
Ollama Chat App
A Flutter-based chat application that allows users to interact with AI language models via Ollama. The app provides a user-friendly interface to start new chat sessions, select different AI models, and specify custom Ollama server URLs.
Features
- Start New Chats: Begin new conversations with AI assistants easily.
- Model Selection: Choose from a variety of AI models provided by Ollama.
- Custom Server URL: Specify a custom Ollama server URL for connecting to different servers.
- Interactive UI: User-friendly interface with real-time message updates.
- Streamed Responses: Receive AI responses in a streamed manner for a seamless experience.
Screenshots
The home screen where you can input the Ollama URL and select a model.
The chat interface for interacting with the AI assistant.
Getting Started
Prerequisites
- Flutter SDK: Make sure you have Flutter installed. You can download it here.
- Dart SDK: Included with Flutter.
- Ollama Server: An instance of the Ollama server running and accessible.
Installation
-
Clone the repository
git clone https://github.com/yourusername/ollama_chat_app.git
-
Navigate to the project directory
flutter pub get
-
Install dependencies
flutter pub get
-
flutter run
flutter run
Usage
- Launch the App:Start the application on your emulator or physical device.
- Enter Ollama URL:On the home screen, input the URL of your Ollama server (e.g., http://example.com:11434).
- Select Model:Choose the desired AI model from the dropdown menu.
- Start Chatting:Click on "Start Chat" to begin a conversation.
- Send Messages:Type your message in the text field and press the send button.
- Receive Responses:The AI assistant will reply in real-time.button.
- Start New Chat:Use the refresh icon in the chat screen's app bar to start a new chat session.
License
This project is licensed under the MIT License.