dependency: 更新项目库的依赖,并优化一些细节
This commit is contained in:
parent
09fffb233c
commit
554249553a
@ -35,7 +35,7 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone &
|
||||
COPY ../pyproject.toml /app/pyproject.toml
|
||||
COPY ../.python-version /app/.python-version
|
||||
|
||||
# 接收构建参数
|
||||
# 接收构建参数(如果出现代理错误,则把下面关于环境变量的都注释掉,并注释掉 dock-compose.yml 的 6-8 行)
|
||||
ARG HTTP_PROXY=""
|
||||
ARG HTTPS_PROXY=""
|
||||
|
||||
|
||||
@ -1,38 +1,38 @@
|
||||
[project]
|
||||
name = "yuxi-know"
|
||||
version = "0.2.0.dev"
|
||||
version = "0.4.0.dev"
|
||||
description = "Add your description here"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.11"
|
||||
dependencies = [
|
||||
"asyncpg>=0.30.0",
|
||||
"langchain==1.0",
|
||||
"chromadb>=1.0.15",
|
||||
"langchain>=1.0.2",
|
||||
"chromadb>=1.3",
|
||||
"colorlog>=6.9.0",
|
||||
"dashscope>=1.23.2",
|
||||
"docx2txt>=0.9",
|
||||
"fastapi>=0.115.12",
|
||||
"langchain-community>=0.3.22",
|
||||
"langchain-deepseek>=0.1.3",
|
||||
"langchain-huggingface>=0.2.0",
|
||||
"fastapi>=0.121",
|
||||
"langchain-community>=0.4",
|
||||
"langchain-deepseek>=1.0",
|
||||
"langchain-huggingface>=1.0.1",
|
||||
"langchain-mcp-adapters>=0.1.9",
|
||||
"langchain-openai>=0.3.14",
|
||||
"langchain-tavily>=0.2.3",
|
||||
"langchain-text-splitters>=0.3.9",
|
||||
"langgraph==1.0.1",
|
||||
"langgraph-checkpoint-sqlite>=2.0.7",
|
||||
"langgraph-cli[inmem]>=0.1.54",
|
||||
"langsmith>=0.3.37",
|
||||
"lightrag-hku>=1.3.9",
|
||||
"llama-index>=0.12.33",
|
||||
"langchain-openai>=1.0.2",
|
||||
"langchain-tavily>=0.2.13",
|
||||
"langchain-text-splitters>=1.0",
|
||||
"langgraph>=1.0.1",
|
||||
"langgraph-checkpoint-sqlite>=3.0",
|
||||
"langgraph-cli[inmem]>=0.4",
|
||||
"langsmith>=0.4",
|
||||
"lightrag-hku>=1.4.6",
|
||||
"llama-index>=0.14",
|
||||
"llama-index-readers-file>=0.4.7",
|
||||
"markdownify>=1.1.0",
|
||||
"mcp>=1.12.0",
|
||||
"mcp>=1.20",
|
||||
"neo4j>=5.28.1",
|
||||
"networkx>=3.5",
|
||||
"openai>=1.76.0",
|
||||
"openai>=1.109",
|
||||
"opencv-python-headless>=4.11.0.86",
|
||||
"paddleocr>=2.10.0",
|
||||
"paddleocr>=3.3",
|
||||
"pyjwt>=2.8.0",
|
||||
"pymilvus>=2.5.8",
|
||||
"pymupdf>=1.25.5",
|
||||
@ -49,7 +49,7 @@ dependencies = [
|
||||
"tqdm>=4.66.4",
|
||||
"rich>=13.7.1",
|
||||
"typer>=0.16.0",
|
||||
"mineru[core]>=2.1.6",
|
||||
"mineru[core]>=2.6",
|
||||
"tabulate>=0.9.0",
|
||||
"minio>=7.2.7",
|
||||
"Pillow>=10.5.0",
|
||||
|
||||
@ -101,16 +101,18 @@ const formatDate = (dateString) => {
|
||||
}
|
||||
|
||||
.search-result-item {
|
||||
background: var(--gray-0);
|
||||
padding: 12px;
|
||||
border-radius: 6px;
|
||||
border: 1px solid var(--gray-200);
|
||||
border-bottom: 1px solid var(--gray-200);
|
||||
transition: all 0.2s ease;
|
||||
|
||||
&:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.result-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
align-items: center;
|
||||
|
||||
.result-title {
|
||||
margin: 0;
|
||||
@ -134,7 +136,7 @@ const formatDate = (dateString) => {
|
||||
font-size: 11px;
|
||||
color: var(--gray-600);
|
||||
background: var(--gray-50);
|
||||
padding: 2px 6px;
|
||||
padding: 0px 6px;
|
||||
border-radius: 10px;
|
||||
margin-left: 8px;
|
||||
}
|
||||
@ -163,7 +165,8 @@ const formatDate = (dateString) => {
|
||||
color: var(--gray-700);
|
||||
overflow: hidden;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 3;
|
||||
line-clamp: 2;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user