Technology Used:
- LangChain (Prompt Optimization)
- Chainlit (Backend)
- React (Custom UI)
- LLM (ChatGPT)
To use ChatGPT, you can generate api key by signing up here: https://platform.openai.com/overview
From the root directory move to chainlit-backend folder. In app.py file enter your OpenAI API key
OPENAI_KEY = 'openai_api_key' # Enter your key hereNow on the command line enter the following command to run the backend
chainlit run app.pyTo have a custom user interface, change the directory to frontend
cd frontend
Now run the following command
npm run dev