Skip to content

FadhelHaidar/llamaindex-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

recommended python version 3.12.3

This repo is a learning material for GenAI class, follow these steps to set up and activate the environment for the project:

1. Activate Conda Environment

Activate your Conda environment by running the following command:

conda activate <your_environment_name>

2. Install Dependencies

Install the required dependencies:

pip install uv
uv pip install -r requirements.txt

3. Create a .env File

Create a .env file in the root of your project directory with the following structure:

GROQ_API_KEY=gsk_**********************
GROQ_API_URL=https://api.groq.com/openai/v1
GROQ_MODEL=meta-llama/llama-4-maverick-17b-128e-instruct

Notes:

  • Replace gsk_********************** with your actual GROQ API Key.
  • Update the GROQ_MODEL field if you want to use a different model.

4. Run the Agent

Go to the root folder, execute this command

python main.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published