Wrong segment number when using api to add batch segments. #3270
Labels
🐞 bug
Something isn't working
👻 feat:rag
Embedding related issue, like qdrant, weaviate, milvus, vector database.
Self Checks
Dify version
0.5.9
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
add batch segments using add segment API (http://{DIFY_URL}/v1/datasets/{DATASET_ID}/documents/{DOCUMENT_ID}/segments), and it assign same number to all segments within same batch.
request example:
✔️ Expected Behavior
Different segment should have different number although they are added in the same batch.
❌ Actual Behavior
Different segment have same number when they are added in the same batch
The text was updated successfully, but these errors were encountered: