构建报错
Some checks failed
构建并部署 AI Agent 服务 / deploy (push) Failing after 11m27s

This commit is contained in:
2026-04-21 23:15:35 +08:00
parent 51089bbf15
commit 38646001e6
3 changed files with 11 additions and 12 deletions

View File

@@ -20,14 +20,14 @@ async def test_index_builder():
# 创建 IndexBuilder 实例
builder = IndexBuilder(
collection_name="test_collection",
collection_name="rag_documents",
splitter_type=SplitterType.PARENT_CHILD,
parent_chunk_size=1000,
child_chunk_size=200
)
# 测试文档路径
test_file = os.path.join(os.path.dirname(__file__), "..", "data", "user_docs", "a.txt")
test_file = os.path.join(os.path.dirname(__file__), "..", "data", "user_docs", "doublestory.txt")
if os.path.exists(test_file):
# 构建索引