Efficiently use Langchain for learning Japanese
git clone https://github.com/gnurt2041/Sun-Hackathon.git
Install the requirements packages
cd ChatBot
pip install -r requirements.txt
Reference config.sh to create config.sh
file
export AZURE_OPENAI_API_KEY = "YOUR_AZURE_OPENAI_API_KEY"
export AZURE_OPENAI_ENDPOINT = "YOUR_AZURE_OPENAI_ENDPOINT"
export API_VERSION = "YOUR_API_VERSION"
export API_EMBEDDING_DEPLOY_NAME = "YOUR_API_EMBEDDING_DEPLOY_NAME"
export API_CHAT_DEPLOY_NAME = "YOUR_API_CHAT_DEPLOY_NAME"
export ELASTIC_CLOUD_ID = "YOUR_ELASTIC_CLOUD_ID"
export ELASTIC_API_KEY = "YOUR_ELASTIC_API_KEY"
export INDEX_NAME = "YOUR_INDEX_NAME"
Run app in local host
python app.py
The LangChain Chatbot was developed by Gnurt2041, Minhquan129 and Omnihs1 with much inspiration from ELSA Speak with the LangChain Q&A with RAG for PDF docs and content from web page.