/ModelInteract

A versatile CLI and web app for interacting with multiple AI models, including Llama and Gemini, offering real-time text generation and customizable experiences.

Primary LanguagePythonMIT LicenseMIT

ModelInteract

ModelInteract is a versatile tool that provides both a command-line interface (CLI) and a web application for seamless interaction with multiple AI models, including Llama and Gemini. This project enables users to experience real-time text generation and conversation with advanced AI models, tailored to their specific needs.

Features

  • Multi-Model Support: Interact with various AI models, including Llama and Gemini.
  • Interactive CLI: Engage with AI models directly from the terminal.
  • Web Application: Access and interact with AI models through a user-friendly web interface.
  • Real-Time Streaming: Receive instant, continuous responses during your interactions.
  • Customizable Experience: Modify settings and parameters to suit your requirements.

Installation

  1. Clone the repository:

    git clone https://github.com/Abhrankan-Chakrabarti/ModelInteract.git
    cd ModelInteract
  2. Install the required dependencies:

    pip install -r requirements.txt

Usage

Command-Line Interface (CLI)

To start the CLI:

python terminal.py

Enter your input directly into the terminal to interact with the AI models. Type exit to end the session.

Web Application

To start the web app:

python app.py

Open your browser and go to http://localhost:5000 to access the web interface.

Configuration

You can configure the models and other settings by modifying the config.json file in the root directory.

Contributing

Contributions are welcome! Please open an issue or submit a pull request if you have suggestions or improvements.

License

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

Contact

For any questions or inquiries, please contact Abhrankan Chakrabarti at abhrankan@gmail.com.