Skip to content
 
 

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Notebooks for the Analytics Vidhya course: "Building Agents"

Overview

Setup

Conda

  • Install anaconda
  • Create an environment: conda create -n vidhya-agents python=3.11
  • Activate your environment with: conda activate vidhya-agents
  • Install requirements with: pip install -r requirements.txt (the requirements.txt file is in the requirements folder)
  • Setup your openai API key

Pip

  1. Create a Virtual Environment: Navigate to your project directory. If using Python 3's built-in venv:

    python -m venv vidhya-agents

    If you're using virtualenv:

    virtualenv vidhya-agents
  2. Activate the Virtual Environment:

    • On Windows:
      .\vidhya-agents\Scripts\activate
    • On macOS and Linux:
      source vidhya-agents/bin/activate
  3. Install Dependencies from requirements.txt:

    pip install python-dotenv
    pip install -r requirements.txt
  4. Setup your openai API key

Remember to deactivate the virtual environment once you're done by simply typing:

deactivate

Setup your .env file

  • Change the .env.example file to .env and add your OpenAI API key.

To use this Environment with Jupyter Notebooks:

python3 -m ipykernel install --user --name=vidhya-agents

Set up your OAI_CONFIG_LIST file for autogen

  • Create a file named: OAI_CONFIG_LIST containing your API keys for OpenAI as demonstrated below:
[
    {
        "model": "gpt-4o",
        "api_key": "YOUR API KEY HERE"
    }
]

Official Training Website

For more information about the live-training, visit the official website.

About

AV's course on Introduction to AI Agents

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages