增加知识库选择
This commit is contained in:
parent
a363e08b24
commit
4d7c081dea
|
@ -7,9 +7,10 @@
|
||||||
![](https://github.com/yanqiangmiffy/Chinese-LangChain/blob/master/images/web_demo.png)
|
![](https://github.com/yanqiangmiffy/Chinese-LangChain/blob/master/images/web_demo.png)
|
||||||
|
|
||||||
## 🚀 特性
|
## 🚀 特性
|
||||||
|
- 🚀 2023/04/18 webui增加知识库选择功能
|
||||||
- 2023/04/17 支持多种文档上传与内容解析:pdf、docx,ppt等
|
- 🚀 2023/04/18 修复推理预测超时5s报错问题
|
||||||
- 2023/04/17 支持知识增量更新
|
- 🎉 2023/04/17 支持多种文档上传与内容解析:pdf、docx,ppt等
|
||||||
|
- 🎉 2023/04/17 支持知识增量更新
|
||||||
|
|
||||||
[//]: # (- 支持检索结果与LLM生成结果对比)
|
[//]: # (- 支持检索结果与LLM生成结果对比)
|
||||||
|
|
||||||
|
|
162
requirements.txt
162
requirements.txt
|
@ -1,9 +1,153 @@
|
||||||
unstructured[local-inference]
|
aiofiles==23.1.0
|
||||||
layoutparser[layoutmodels,tesseract]
|
aiohttp==3.8.4
|
||||||
nltk
|
aiosignal==1.3.1
|
||||||
sentence-transformers
|
altair==4.2.2
|
||||||
beautifulsoup4
|
antlr4-python3-runtime==4.9.3
|
||||||
icetk
|
anyio==3.6.2
|
||||||
cpm_kernels
|
argilla==1.6.0
|
||||||
faiss-cpu
|
async-timeout==4.0.2
|
||||||
gradio
|
attrs==23.1.0
|
||||||
|
backoff==2.2.1
|
||||||
|
beautifulsoup4==4.12.2
|
||||||
|
brotlipy==0.7.0
|
||||||
|
cachetools==5.3.0
|
||||||
|
cchardet==2.1.7
|
||||||
|
certifi
|
||||||
|
cffi
|
||||||
|
chardet==5.1.0
|
||||||
|
charset-normalizer==3.1.0
|
||||||
|
click==8.1.3
|
||||||
|
coloredlogs==15.0.1
|
||||||
|
commonmark==0.9.1
|
||||||
|
contourpy==1.0.7
|
||||||
|
cpm-kernels==1.0.11
|
||||||
|
cryptography
|
||||||
|
cycler==0.11.0
|
||||||
|
dataclasses-json==0.5.7
|
||||||
|
Deprecated==1.2.13
|
||||||
|
effdet==0.3.0
|
||||||
|
entrypoints==0.4
|
||||||
|
et-xmlfile==1.1.0
|
||||||
|
faiss-gpu==1.7.2
|
||||||
|
fastapi==0.95.1
|
||||||
|
ffmpy==0.3.0
|
||||||
|
filelock==3.11.0
|
||||||
|
flatbuffers==23.3.3
|
||||||
|
flit_core
|
||||||
|
fonttools==4.39.3
|
||||||
|
frozenlist==1.3.3
|
||||||
|
fsspec==2023.4.0
|
||||||
|
gmpy2
|
||||||
|
gptcache==0.1.14
|
||||||
|
gradio==3.27.0
|
||||||
|
gradio_client==0.1.3
|
||||||
|
greenlet==2.0.2
|
||||||
|
h11==0.14.0
|
||||||
|
httpcore==0.16.3
|
||||||
|
httpx==0.23.3
|
||||||
|
huggingface-hub==0.13.4
|
||||||
|
humanfriendly==10.0
|
||||||
|
icetk==0.0.7
|
||||||
|
idna
|
||||||
|
iopath==0.1.10
|
||||||
|
Jinja2
|
||||||
|
joblib==1.2.0
|
||||||
|
jsonschema==4.17.3
|
||||||
|
kiwisolver==1.4.4
|
||||||
|
langchain==0.0.142
|
||||||
|
layoutparser==0.3.4
|
||||||
|
linkify-it-py==2.0.0
|
||||||
|
lxml==4.9.2
|
||||||
|
Markdown==3.4.3
|
||||||
|
markdown-it-py==2.2.0
|
||||||
|
MarkupSafe==2.1.2
|
||||||
|
marshmallow==3.19.0
|
||||||
|
marshmallow-enum==1.5.1
|
||||||
|
matplotlib==3.7.1
|
||||||
|
mdit-py-plugins==0.3.3
|
||||||
|
mdurl==0.1.2
|
||||||
|
mkl-fft==1.3.1
|
||||||
|
mkl-random
|
||||||
|
mkl-service==2.4.0
|
||||||
|
monotonic==1.6
|
||||||
|
mpmath==1.2.1
|
||||||
|
msg-parser==1.2.0
|
||||||
|
multidict==6.0.4
|
||||||
|
mypy-extensions==1.0.0
|
||||||
|
networkx
|
||||||
|
nltk==3.8.1
|
||||||
|
numexpr==2.8.4
|
||||||
|
numpy
|
||||||
|
olefile==0.46
|
||||||
|
omegaconf==2.3.0
|
||||||
|
onnxruntime==1.14.1
|
||||||
|
openai==0.27.4
|
||||||
|
openapi-schema-pydantic==1.2.4
|
||||||
|
opencv-python==4.6.0.66
|
||||||
|
openpyxl==3.1.2
|
||||||
|
orjson==3.8.10
|
||||||
|
packaging==23.1
|
||||||
|
pandas==1.5.3
|
||||||
|
pdf2image==1.16.3
|
||||||
|
pdfminer.six==20221105
|
||||||
|
pdfplumber==0.9.0
|
||||||
|
Pillow==9.5.0
|
||||||
|
portalocker==2.7.0
|
||||||
|
protobuf==3.18.3
|
||||||
|
pycocotools==2.0.6
|
||||||
|
pycparser
|
||||||
|
pydantic==1.10.7
|
||||||
|
pydub==0.25.1
|
||||||
|
Pygments==2.15.0
|
||||||
|
pyOpenSSL
|
||||||
|
pypandoc==1.11
|
||||||
|
pyparsing==3.0.9
|
||||||
|
pyrsistent==0.19.3
|
||||||
|
PySocks
|
||||||
|
pytesseract==0.3.10
|
||||||
|
python-dateutil==2.8.2
|
||||||
|
python-docx==0.8.11
|
||||||
|
python-magic==0.4.27
|
||||||
|
python-multipart==0.0.6
|
||||||
|
python-pptx==0.6.21
|
||||||
|
pytz==2023.3
|
||||||
|
PyYAML==6.0
|
||||||
|
regex==2023.3.23
|
||||||
|
requests==2.28.2
|
||||||
|
rfc3986==1.5.0
|
||||||
|
rich==13.0.1
|
||||||
|
scikit-learn==1.2.2
|
||||||
|
scipy==1.10.1
|
||||||
|
semantic-version==2.10.0
|
||||||
|
sentence-transformers==2.2.2
|
||||||
|
sentencepiece==0.1.98
|
||||||
|
six
|
||||||
|
sniffio==1.3.0
|
||||||
|
soupsieve==2.4.1
|
||||||
|
SQLAlchemy==1.4.47
|
||||||
|
starlette==0.26.1
|
||||||
|
sympy
|
||||||
|
tenacity==8.2.2
|
||||||
|
threadpoolctl==3.1.0
|
||||||
|
timm==0.6.13
|
||||||
|
tokenizers==0.13.3
|
||||||
|
toolz==0.12.0
|
||||||
|
torch==2.0.0
|
||||||
|
torchaudio==2.0.0
|
||||||
|
torchvision==0.15.0
|
||||||
|
tqdm==4.65.0
|
||||||
|
transformers==4.28.1
|
||||||
|
triton==2.0.0
|
||||||
|
typing-inspect==0.8.0
|
||||||
|
typing_extensions==4.5.0
|
||||||
|
tzdata==2023.3
|
||||||
|
uc-micro-py==1.0.1
|
||||||
|
unstructured==0.5.12
|
||||||
|
unstructured-inference==0.3.2
|
||||||
|
urllib3
|
||||||
|
uvicorn==0.21.1
|
||||||
|
Wand==0.6.11
|
||||||
|
websockets==11.0.2
|
||||||
|
wrapt==1.14.1
|
||||||
|
XlsxWriter==3.1.0
|
||||||
|
yarl==1.8.2
|
||||||
|
|
Loading…
Reference in New Issue