milvus-io / milvus-sdk-node

The Official Mivus node.js sdk(client)
https://milvus.io
Apache License 2.0
122 stars 37 forks source link

Which should I trust? autoID or auto_id? #333

Closed hellohejinyu closed 3 months ago

hellohejinyu commented 3 months ago

Describe the bug:

image

The field in the official documentation is auto_id, and it seems that auto_id has the same unified format as other fields.

image

But when I was using it, I found that autoID was used in the sdk type declaration file. So I was confused, I should follow the usage in the type declaration file, right?

Milvus-node-sdk version: 2.4.3

shanghaikid commented 3 months ago

Please use autoID in the schema instead of auto_id. You can also set autoID in the request body, but setting it in the schema is more future-proof.

The doc is incorrect, I will fix the doc, thanks.