/llai_assistant

This project is a AI assistant chatbot built with Flask and LlamaAPI. It provides a clean, intuitive web interface for interacting with an AI assistant, making it suitable for various business applications such as customer support, information retrieval, or general task assistance.

Primary LanguageHTMLGNU General Public License v3.0GPL-3.0

LLAI Assistant

Description

LLAI Assistant is a web-based chatbot application that leverages the power of LlamaAPI to provide intelligent responses. This project demonstrates the integration of a large language model into a user-friendly web interface, showcasing skills in both frontend and backend development.

Features

  • Real-time chat interface
  • Integration with LlamaAPI for advanced language processing
  • Responsive design suitable for both desktop and mobile use
  • Pirate-themed UI for a unique user experience

Technologies Used

  • Python
  • Flask
  • LlamaAPI
  • HTML/CSS
  • JavaScript

Installation

  1. Clone the repository:

    git clone https://github.com/alwalid54321/llai_assistant.git
    cd llai_assistant
    
  2. Install the required packages:

    pip install -r requirements.txt
    
  3. Set up your LlamaAPI key as an environment variable:

    export LLAMA_API_KEY=your_api_key_here
    

Usage

  1. Run the Flask application:

    python app.py
    
  2. Open a web browser and navigate to http://127.0.0.1:5000/

  3. Start chatting with the AI assistant!

Configuration

You can modify the AI assistant's behavior by editing the system message in app.py. The UI can be customized by editing the HTML and CSS in templates/index.html.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is open source and available under the MIT License.

Contact

Created by @alwalid54321 - feel free to contact me!