Skip to content

SaikumarUCM/Multi_Model_Chat_Agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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: To See the StreamLit app in the browser run

streamlit run frontend.py

IMPORTANT

Make sure backend python script is running in a separate terminal

About

A Agent calling different LLM models and using Tavily to search the latest information from the web. Build frontend using Streamlit and backend using FastAPI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages