Git Product home page Git Product logo

ai-apps-bootcamp's Introduction

Software Engineer's Bootcamp: Developing AI Powered Applications

Software Engineer's Bootcamp: Developing AI Applications

Pre-requisites

  • Obtaining OpenAI API Key
  • Downloading Visual Studio Code (or any other IDEs)

# Check our this repo for your reference

Visit my GitHub to clone the AI Apps Bootcamp repository.

git clone https://github.com/madhusudhankonda/ai-apps-bootcamp.git ai-demo

The cd into the ai-demo folder

Setting up Python virtual environment

You have two options to setup a python env (I'm using pip for this setup)

  1. You can use the provided setup.sh script to set your Python Virtual Environment if needed
  2. You can manually create the venv

Here are the both types of instructions (follow what ever is convenient for you):

## Setting up the Python Env using a script

The project has a setup file - all you have to do is execute the script:

# Execute the script
. ./setup.sh

Executing the above script will

  • Create a virtual environment automatically
  • Once the venv was setup, it'll make sure the venv gets activated
  • The requirements file gets invokes to install the required modules

Setting up Python virtual environment manually

You can setup your Python virtual env manually as the instructions below demonstrate:

# Creating the virtual env

python -m venv .venv

Executing this command would create a virtual environmnet with a name .venv. The next step is to make sure we activate it.

Ensure the following command gets executed for the venv to get activated:

# Activating the Virtual Environment

source .venv/bin/activate

This command activates the virtual env. You can also issue deactivate if you'd want the venv to be shutdown.

if you are using conda, you can follow the similar steps:

conda create -n .venvconda python=3.11 
conda activate .venvconda

Now that we have the env ready, let's install the dependencies.

# Installing the dependencies

The dependencies for this project are provided in the requirements.txt file.

# Installing the dependencies

pip install -r requirements.txt

Executing the above command should get the dependencies installed.

Open AI Key

We can set the OPENAI_API_KEY in multiple ways - preferred is to use .env in the root folder, holding the keys and other sensitive info.

For this example, we simple set the key as an environment variable:

export OPENAI_API_KEY="<your-api-key>"

That's pretty much the information on setting up the project for working through this Bootcamp.

Let's dive into individual projects to get through the fundamentals - let's begin our journey into the world of AI.

Module 1: OpenAI Basics

OpenAI Basics

Module 2: Introducing LangChain

Module 3:

ai-apps-bootcamp's People

Contributors

madhusudhankonda avatar

Stargazers

James Thompson avatar Mohit Motwani avatar Joshua Stroup avatar Faidh avatar  avatar Ben Gamble avatar Dileep Kumar Thallapally avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.