Skip to content

docs(rag): clarify Milvus batch size requirements - #87

Open
shuxiachai wants to merge 1 commit into
agentscope-ai:mainfrom
shuxiachai:docs/milvus-batch-size
Open

shuxiachai wants to merge 1 commit into
agentscope-ai:mainfrom
shuxiachai:docs/milvus-batch-size

Conversation

@shuxiachai

Copy link
Copy Markdown

Summary

Related to agentscope-ai/agentscope#3341.

Add aligned English and Chinese notes beside the vector-store construction examples in the 2.0.11dev RAG pages. The notes explain that MilvusLiteStore.batch_size must be positive and that passing zero or a negative value raises ValueError when constructing the store.

This accompanies agentscope-ai/agentscope#3343, which fixes negative batch sizes silently skipping nonempty inserts. The note is specific to MilvusLiteStore; it does not change database algorithms or introduce a broader parameter-type policy.

Only the two development-version RAG pages change. Published versions and navigation remain unchanged. The documentation base is 57dcb6f73eb9414949de72f657280c1d9362a68e.

Validation

  • git diff --check: passed.
  • npm exec --yes --package=mint@4.2.1006 -- mint validate: passed (success build validation passed, exit 0).
  • Only the two development-version RAG pages changed, with four added lines per language. Their hashes were unchanged by validation.

Validation ran on Windows with Node 24.14.0 and npm 11.9.0. Node 22, browser preview, hosted checks, and deployment were not run. This is local documentation validation, not a claim of hosted CI success.

The corresponding SDK fix passed its selected offline vector-store suite: 29 tests and 9 subtests, with 13 existing Milvus integration tests skipped because optional dependencies are absent. This text-only documentation change does not add executable examples. Real Milvus integration was not tested locally; see the code PR for hosted CI results.

Related code and AI assistance

Companion code PR: agentscope-ai/agentscope#3343. Please coordinate documentation merge with the corresponding fix.

Codex assisted with text, translation, source verification, and validation. The contributor remains responsible for the final changes and for explaining them in review.

@shuxiachai
shuxiachai marked this pull request as ready for review October 16, 2026 06:53

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant