LangChain Chat App is a real-time chat application that supports multiple languages through the integration of LangChain API. The front-end is built using React, while the back-end is built using Python and SQLite is used as the database.
- Real-time chat functionality
- User authentication and authorization
- User profiles with avatars
- Responsive UI design
To install and run the application:
- Clone the repository to your local machine.
- Install dependencies by running
npm install
in theclient
directory andpip install -r requirements.txt
in theserver
directory. - Create a
.env
file in theserver
directory and add the following environment variables:SECRET_KEY
: secret key for Flask appDATABASE_URI
: URI for SQLite databaseLANGCHAIN_API_KEY
: API key for LangChain API
- Start the server by running
python backend.py
in theserver
directory. - Start the client by running
npm start
in theclient
directory.
If you would like to contribute to this project, please fork the repository and submit a pull request.