-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrequirements.txt
More file actions
43 lines (43 loc) · 1.7 KB
/
Copy pathrequirements.txt
File metadata and controls
43 lines (43 loc) · 1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
fastapi
# Web 框架:main.py 里 from fastapi import FastAPI 用到的
uvicorn
# 服务器:启动命令 uvicorn main:app 用到的
langchain
# LangChain 主包:LCEL 链、提示词模板、文档加载
langchain-community
# LangChain 社区集成(很多加载器/工具在这里)
langchain-chroma
# Chroma 向量数据库的 LangChain 封装(vectorstore_service 用)
langchain-deepseek
# DeepSeek 大模型适配(ChatDeepSeek,rag/agent 服务用)
langchain-siliconflow
# SiliconFlow 适配(SiliconFlowEmbeddings,embedding 服务用)
langgraph
# 智能体编排框架(StateGraph,agent_service 用)
chromadb
# 向量数据库本体
pypdf
# PDF 解析(file_parser 用)
python-docx
# Word 解析(file_parser 用)
python-multipart
# FastAPI 文件上传表单解析(main.py 上传接口用)
requests
# HTTP 请求库(测试脚本用)
redis
# Redis 客户端:redis_service.py 里 import redis 用到的(短期记忆缓存)
rank_bm25
# BM25 检索算法(BM25Retriever 底层依赖,混合检索用)
jieba
# 中文分词器(BM25 混合检索 preprocess_func 用;解决中文分词退化)
mcp
# MCP 协议 Python SDK(langchain_mcp_adapters 底层依赖)
langchain-mcp-adapters
# 官方桥接:把 MCP server 工具转成 LangChain 工具(mcp_service.py 用)
mcp-server-fetch
# 本地网页抓取 MCP server(fetch 工具,Docker 里也要有它)
duckduckgo-mcp-server[browser]
# DuckDuckGo 搜索 MCP server(search / fetch_content 工具)
# [browser] 附加依赖:启用 curl_cffi 模拟 Chrome TLS 指纹,规避 DDG 反爬虫拦截
curl-cffi>=0.7.0
# 模拟 Chrome TLS 指纹(duckduckgo-mcp-server[browser] 的底层依赖,显式声明保证版本自带)