/groq-llama3-template

Simple Groq & Llama3 Template project for building applications using Llama3 and Groq Cloud API.

Primary LanguagePythonMIT LicenseMIT

Command-Line Online Tutor

This project is a command-line chatbot designed to function as an online tutor. It uses the Groq API to process user input and generate responses.

Getting Started

These instructions will get you a copy of the project up and running on your local machine.

Prerequisites

You will need Python 3 and pip installed on your machine.

Installation

  1. Clone the repository

    git clone https://github.com/YoosufAathil/groq-llama3-template.git
    
  2. Set up a virtual environment

    python3 -m venv env
    
  3. Activate the virtual environment

    On Mac:

    source env/bin/activate
    

    On Windows:

    .\env\Scripts\activate
    
  4. Install dependencies

    pip install -r requirements.txt
    
  5. Update .env file

    Update the .env file with your GROQ_API_KEY.

Usage

To start the online tutor, run the following command in your terminal:

You can then interact with the online tutor by typing your questions into the terminal.

License

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