Root cause: DashScope embeddings accepts at most 10 inputs per request, but code used fixed batch_size=40, causing 400 Bad Request during indexing. Changes: - add batch_size to EmbedModelInfo with default 40 - set dashscope/text-embedding-v4 batch_size to 10 - persist batch_size in BaseEmbeddingModel and use it as default in batch/abatch encode - update Milvus, evaluation, and upload-graph embedding paths to read model-configured batch_size |
||
|---|---|---|
| .. | ||
| static | ||
| __init__.py | ||
| app.py | ||