This repository provides sample code for developing Chat application using Langchain framework (OpenAI). For GUI development Streamlit has been used. Furthermore, to demonstrate web API based application, FastAPI has ben employed.
This repository is dependent on the following packages:
- langchain
- openai
- streamlit
- fastapi
- faiss-client
- pypdf
- python-dotenv
- Requests
streamlit run test.py
uvicorn modelapi::api --reload
https://127.0.0.1:8000/docs
streamlit run testapi.py