Skip to content

Support for Chroma Cloud authentication#15

Closed
timo-cingoez wants to merge 1 commit intoCodeWithKyrian:mainfrom
timo-cingoez:feat/add-chroma-api-key
Closed

Support for Chroma Cloud authentication#15
timo-cingoez wants to merge 1 commit intoCodeWithKyrian:mainfrom
timo-cingoez:feat/add-chroma-api-key

Conversation

@timo-cingoez
Copy link

Adds support for Chroma Cloud authentication via the X-CHROMA-TOKEN header.

Usage

ChromaDB::factory()
    ->withHost('https://api.trychroma.com')
    ->withPort(443)
    ->withChromaApiKey('your-api-key')
    ->connect();

Adds support for authenticating with Chroma Cloud by setting the
X-CHROMA-TOKEN header via the new withChromaApiKey() method.
@CodeWithKyrian
Copy link
Owner

Closed in favor of #16

I’m going to close this one since #16 already covers the Cloud authentication use-case through withHeader support for arbitrary headers, along with a dedicated Chroma::cloud() factory for simpler instantiation.

Really appreciate the time you took to open this PR 🙏🏽

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.

2 participants