Skip to content

Omkarthipparthi/VATS_AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Setup Guide

Welcome to our project! This guide will walk you through setting up the project on your local machine. Our project is built using React.js and Material UI for the frontend, FastAPI for the backend, and Langchain for orchestration, with interactions with Large Language Models (LLMs) via OpenAI API.

Prerequisites

  • Python 3.8 or higher
  • Node.js and npm
  • Git

Cloning the Repository

First, clone the repository to your local machine:

git clone https://github.com/Omkarthipparthi/VATS_AI.git
cd VATS_AI

Create an Python virtual environment

python -m venv venv

Activating the Virtual Environment

Activate the virtual environment on Windows:

.\venv\Scripts\activate

On macOS/Linux:

source venv/bin/activate

Installing Dependencies

Install all required Python packages from the requirements.txt file:

pip install -r requirements.txt

Setting Up Environment Variables

Create a .env file in the root directory of the project and add the following content:

OPENAI_API_KEY=" "

Make sure to add the .env file to your .gitignore to avoid exposing your API key.

Running the Backend Server

Use Uvicorn to run the FastAPI backend server:

uvicorn app.main:app --reload

Frontend Setup

Installing Node Modules

Navigate to the frontend directory and install the required node modules:

cd VATS_AI
npm install

Starting the React App

Start the React application:

npm start

This command runs the app in the development mode. Open http://localhost:3000 to view it in the browser.

Additional Information

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors