Skip to content

Chat Application using LangChain::Streamlit::FAISS::FastAPI

Notifications You must be signed in to change notification settings

bit0123/LangChain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat Application using LangChain::Streamlit::FastAPI

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.

Output

Dependencies:

This repository is dependent on the following packages:

  • langchain
  • openai
  • streamlit
  • fastapi
  • faiss-client
  • pypdf
  • python-dotenv
  • Requests

Running Streamlit Application:

streamlit run test.py

Running UniCorn Server to access FastAPI:

uvicorn modelapi::api --reload

Checking FastAPI endpoint

https://127.0.0.1:8000/docs

Running Streamlit Application that uses API:

streamlit run testapi.py

About

Chat Application using LangChain::Streamlit::FAISS::FastAPI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages