/drama-llm

A shadcn LLM Chatbot using Ollama #showcase

Primary LanguageTypeScriptMIT LicenseMIT

Drama LLM - Project Ollama

Overview

Drama LLM - Project Ollama is a TypeScript and React-based application designed to interact with machine learning models for generating text-based responses. It provides a user-friendly interface for selecting different models and customizing parameters such as temperature, top-p, and top-k to fine-tune the generation process. Additionally, it allows users to define roles and input content for the models to process.

Features

  • Model Selection: Users can choose from a variety of pre-defined models to generate text.
  • Customizable Parameters: Fine-tune the model's behavior by adjusting settings like temperature, top-p, and top-k.
  • Role-Based Interaction: Define the role (system, user, assistant) for different types of interactions.
  • Responsive Design: A user-friendly interface that adapts to various screen sizes.

Installation

To set up the project locally, follow these steps:

  1. Clone the repository:
    git clone https://github.com/rohit1901/drama-llm.git
  2. Navigate to the project directory:
    cd drama-llm
  3. Install dependencies:
    npm install
  4. Start the development server:
    npm run dev

Usage

After starting the application, navigate to http://localhost:5173/ in your web browser. Select a model from the dropdown menu, adjust the desired parameters, and input your content. Press the "Generate" button to see the model's output.

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any bugs, features, or improvements.

License

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