[ENH] Add support for default space in create coll config (#5293)
## Description of changes This PR adds support for using default space defined in the embedding function when populating collection config if not provided by the user. It also adds validation for supported space in ef in case the user defines a space that is not supported by the embedding function and/or model ## Test plan Added unit tests in js and _How are these changes tested?_ - [x] Tests pass locally with `pytest` for python, `yarn test` for js, `cargo test` for rust ## Migration plan _Are there any migrations, or any forwards/backwards compatibility changes needed in order to make sure this change deploys reliably?_ No ## Observability plan _What is the plan to instrument and monitor this change?_ N/A ## Documentation Changes _Are all docstrings for user-facing APIs updated if required? Do we need to make documentation changes in the [docs section](https://github.com/chroma-core/chroma/tree/main/docs/docs.trychroma.com)?_ No changes needed
J
Jai Radhakrishnan committed
51a7d1625b3b41083891f1c600e15131a321ae5e
Parent: 163133a
Committed by GitHub <noreply@github.com>
on 8/18/2025, 4:31:12 AM