Skip to content

feat(chroma): upgrade to chroma-go v0.3.x with Chroma Cloud support#1474

Open
tazarov wants to merge 1 commit into
tmc:mainfrom
amikos-tech:chroma-0.3.x
Open

feat(chroma): upgrade to chroma-go v0.3.x with Chroma Cloud support#1474
tazarov wants to merge 1 commit into
tmc:mainfrom
amikos-tech:chroma-0.3.x

Conversation

@tazarov

@tazarov tazarov commented Feb 6, 2026

Copy link
Copy Markdown
Contributor

Summary of Changes

  • Upgrade from legacy chroma-go API to v0.3.2 (pkg/api/v2)
  • Add WithClient option for pre-configured client injection
  • Add WithCloudAPIKey, WithTenant, WithDatabase options for Chroma Cloud - https://docs.trychroma.com/cloud/schema/overview
  • Add Search() method using Chroma's Search API (relevance scores, pagination, read levels) - https://docs.trychroma.com/cloud/search-api/overview
  • Add Collection() getter as escape hatch for advanced search patterns (RRF, grouping)
  • Refactor New() to support three client modes: pre-configured, cloud, and HTTP
  • Add rawWhereClause adapter for Search API filtering

PR Checklist

  • Read the Contributing documentation.
  • Read the Code of conduct documentation.
  • Name your Pull Request title clearly, concisely, and prefixed with the name of the primarily affected package you changed according to Good commit messages (such as memory: add interfaces for X, Y or util: add whizzbang helpers).
  • Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
  • Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. Fixes #123).
  • Describes the source of new concepts.
  • References existing implementations as appropriate.
  • Contains test coverage for new functions.
  • Passes all golangci-lint checks.

… Search API support

- Upgrade from legacy chroma-go API to v0.3.2 (pkg/api/v2)
- Add WithClient option for pre-configured client injection
- Add WithCloudAPIKey, WithTenant, WithDatabase options for Chroma Cloud
- Add Search() method using Chroma's Search API (relevance scores, pagination, read levels)
- Add Collection() getter as escape hatch for advanced search patterns (RRF, grouping)
- Refactor New() to support three client modes: pre-configured, cloud, and HTTP
- Add rawWhereClause adapter for Search API filtering
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant