├── .gitignore ├── .template.clash_config.yaml ├── .template.env ├── Dockerfile ├── LICENSE ├── Makefile ├── README.md ├── app.py ├── chatbot.py ├── configs └── config.py ├── docker-compose.yml ├── environment.yml ├── ingest.py ├── requirements.txt ├── schema ├── __init__.py └── schemas.py ├── templates ├── __init__.py ├── condense_prompt.py ├── conversational_prompt.py └── qa_prompt.py ├── textsplitter ├── __init__.py └── chinese_text_splitter.py ├── utils ├── __init__.py ├── callback.py ├── log.py └── tools.py └── vectorstore.pkl /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GaoQ1/langchain-chatbot/HEAD/.gitignore -------------------------------------------------------------------------------- /.template.clash_config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GaoQ1/langchain-chatbot/HEAD/.template.clash_config.yaml -------------------------------------------------------------------------------- /.template.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GaoQ1/langchain-chatbot/HEAD/.template.env -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GaoQ1/langchain-chatbot/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GaoQ1/langchain-chatbot/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GaoQ1/langchain-chatbot/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GaoQ1/langchain-chatbot/HEAD/README.md -------------------------------------------------------------------------------- /app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GaoQ1/langchain-chatbot/HEAD/app.py -------------------------------------------------------------------------------- /chatbot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GaoQ1/langchain-chatbot/HEAD/chatbot.py -------------------------------------------------------------------------------- /configs/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GaoQ1/langchain-chatbot/HEAD/configs/config.py -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GaoQ1/langchain-chatbot/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /environment.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GaoQ1/langchain-chatbot/HEAD/environment.yml -------------------------------------------------------------------------------- /ingest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GaoQ1/langchain-chatbot/HEAD/ingest.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GaoQ1/langchain-chatbot/HEAD/requirements.txt -------------------------------------------------------------------------------- /schema/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GaoQ1/langchain-chatbot/HEAD/schema/__init__.py -------------------------------------------------------------------------------- /schema/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GaoQ1/langchain-chatbot/HEAD/schema/schemas.py -------------------------------------------------------------------------------- /templates/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GaoQ1/langchain-chatbot/HEAD/templates/__init__.py -------------------------------------------------------------------------------- /templates/condense_prompt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GaoQ1/langchain-chatbot/HEAD/templates/condense_prompt.py -------------------------------------------------------------------------------- /templates/conversational_prompt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GaoQ1/langchain-chatbot/HEAD/templates/conversational_prompt.py -------------------------------------------------------------------------------- /templates/qa_prompt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GaoQ1/langchain-chatbot/HEAD/templates/qa_prompt.py -------------------------------------------------------------------------------- /textsplitter/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GaoQ1/langchain-chatbot/HEAD/textsplitter/__init__.py -------------------------------------------------------------------------------- /textsplitter/chinese_text_splitter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GaoQ1/langchain-chatbot/HEAD/textsplitter/chinese_text_splitter.py -------------------------------------------------------------------------------- /utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GaoQ1/langchain-chatbot/HEAD/utils/__init__.py -------------------------------------------------------------------------------- /utils/callback.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GaoQ1/langchain-chatbot/HEAD/utils/callback.py -------------------------------------------------------------------------------- /utils/log.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GaoQ1/langchain-chatbot/HEAD/utils/log.py -------------------------------------------------------------------------------- /utils/tools.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GaoQ1/langchain-chatbot/HEAD/utils/tools.py -------------------------------------------------------------------------------- /vectorstore.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GaoQ1/langchain-chatbot/HEAD/vectorstore.pkl --------------------------------------------------------------------------------