Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: ChromaDB migration #20

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
OPENAI_API_KEY=
QDRANT_URL= #Defaults to http://localhost:6334
RUST_LOG= #Logging levels: "error", "warn", "info", "debug", "trace"
WEBSERVER_PORT= #Defaults to 3000
OPENAI_API_KEY= #REQUIRED
WEBSERVER_PORT= #REQUIRED
CHROMA_URL= #Defaults to http://localhost:8000
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where does this get used to set the Chroma client? I'm not seeing any other references to this in the code. Is it being consumed by the Chroma rust client?

Copy link
Member Author

@Anush008 Anush008 Aug 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. The Chromadb-rs lib uses the CHROMA_URL env by default.

let client = ChromaClient::new(Default::default());

RUST_LOG= #Logging levels: "error", "warn", "info", "debug", "trace"