chroma-core / chroma

the AI-native open-source embedding database

Home Page:https://www.trychroma.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[ENH] get_or_create is really create_or_modify

atroyn opened this issue · comments

Client.get_or_create_collection can also modify the returned collection, by passing new collection metadata. This behavior is confusing, and also relatively complex to implement.

We should instead ignore any parameters passed on the get_or_create path, and rename these arguments on this path to create_....

not sure what these comments have to do with this issue.