Skip to content

Develop an application for source code analysis leveraging OpenAI.

License

Notifications You must be signed in to change notification settings

amruta33/Code-Analysis-using-GenAI

Repository files navigation

Source-Code-Analysis-using-GenAI

How to run?

STEPS:

Clone the repository

Project repo: https://github.com/

STEP 01- Create a conda environment after opening the repository

conda create -n llmapp python=3.8 -y conda activate llmapp

STEP 02- install the requirements pip install -r requirements.txt

Create a .env file in the root directory and add your OPENAI_API_KEY credentials as follows:

OPENAI_API_KEY = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

Finally run the following command

python app.py

Now,

open up localhost:

Techstack Used:

Python

LangChain

Flask

OpenAI

GPT 3

ChoromaDB