Skip to content

orestislef/simple_ai

Repository files navigation

Chat App

This is a simple chat application built with Flutter. The app sends user input to a server and displays the response in real-time.

Features

  • Send messages to a chat server
  • Display responses from the server in real-time
  • Scrollable and selectable chat messages

Getting Started

Prerequisites

  • Flutter installed on your machine
  • An HTTP server to handle chat requests. Update the server URL in the _sendMessage method to match your server's address.

Installation

  1. Clone the repository:

    git clone https://github.com/orestislef/chat_app.git
    cd chat_app
  2. Install dependencies:

    flutter pub get
  3. Run the app:

    flutter run

Usage

  1. Enter your message in the text field.
  2. Press the "Send" button.
  3. The response from the server will be displayed in real-time.

Project Structure

  • main.dart: The main entry point of the app.
  • MyApp: The root widget, setting up the MaterialApp and the ChatScreen.
  • ChatScreen: A StatefulWidget that manages the UI and logic for sending and receiving messages.
  • _sendMessage: Method for making HTTP POST requests to the server.

Dependencies

  • flutter/material.dart: Provides Material Design components.
  • http/http.dart: Used for making HTTP requests.

License

This project is licensed under the MIT License.

Author

Created by Orestis Lef.

About

simple flutter ai input output interface for LM Studio Community/Meta-Llama-3-8B-Instruct-GGUF

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors