mirror of
https://github.com/placeholder-soft/chroma.git
synced 2026-01-12 22:44:55 +08:00
## Description of changes *Summarize the changes made by this PR.* - Improvements & Bug fixes - Typing cleanup - Changes embedding function defaults to work through the default params as opposed to via None so that None now means - NO embedding function as opposed to use the default. This is technically a breaking change. - New functionality - Adds a thin client that restricts what you can create to the REST api client and builds it separately so it can be published to its own pypi package. The thin client restricts the default embedding function to be None always - forcing manual specification of the embedding function while using the thin client. - The thin client is built with its own pyproject.toml with a limited set of dependencies and a is_thin_client.py file that acts as a compile flag. The build script stages the toml, places the two files in the right place, performs the build and then tears down the changes. Addresses #289 ## Test plan The existing tests should cover this configuration. We can add CI for the thin-client in the future. ## Documentation Changes We will add a section on the docs that explains the thin client and its limitations.
2 lines
22 B
Python
2 lines
22 B
Python
is_thin_client = True
|