Skip to content

Zeek-Master/AGENTIC-CHATBOT-FASTAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Setup Guide

This guide provides step-by-step instructions to set up your project environment, including setting up a Python virtual environment using Pipenv, pip, or conda.

Table of Contents

  1. Setting Up a Python Virtual Environment
  2. Running the application

Setting Up a Python Virtual Environment

Using Pipenv

  1. Install Pipenv (if not already installed):
pip install pipenv
  1. Install Dependencies with Pipenv:
pipenv install
  1. Activate the Virtual Environment:
pipenv shell

Using pip and venv

Create a Virtual Environment:

python -m venv venv

Activate the Virtual Environment:

macOS/Linux:

source venv/bin/activate

Windows:

venv\Scripts\activate

Install Dependencies:

pip install -r requirements.txt

Using Conda

Create a Conda Environment:

conda create --name myenv python=3.11

Activate the Conda Environment:

conda activate myenv

Install Dependencies:

pip install -r requirements.txt

Project Phases and Python Commands

Phase 1: Create AI Agent

python ai_agent.py

Phase 2: Setup Backend with FastAPI

python backend.py

Phase 3: Setup Frontend with Streamlit

python frontend.py

IMPORTANT

Make sure backend python script is running in a separate terminal

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages