Skip to content

Commit 647892d

Browse files
authored
Add chroma db docs (#153)
1 parent 2e6eabc commit 647892d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

docs/integrations/knowledge-base.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,6 @@ Or you can comment directly on some lines of code in the PR. `@coderabbitai do n
5151

5252
For self-hosted / on-premises deployments, you can enable the knowledge base features by setting `ON_PREM_KNOWLEDGE_BASE=true` in the environment variables for your self-hosted docker image.
5353

54-
By default, CodeRabbit will store its data in the `coderabbitai/data` branch unless you set `ON_PREM_KNOWLEDGE_BASE_BRANCH=<branch_name>` with a different value.
54+
You must also be running ChromaDB. Use image `chromadb/chroma:0.5.20`. In your CodeRabbit docker image environment variables, set `CHROMADB_URL` to point to the hostname where ChromaDB can be reached. For persistance of your ChromaDB data, mount `/chroma/chroma` in the container to a volume mount. For more information on ChromaDB docker deployment, including how to set up authentication, refer to the [official documentation](https://docs.trychroma.com/deployment/docker). CodeRabbit will use CHROMA_CLIENT_AUTH_CREDENTIALS if it is set.
55+
56+
By default, CodeRabbit will store its data in the `coderabbitai/data` branch unless you set `ON_PREM_KNOWLEDGE_BASE_BRANCH=<branch_name>` with a value.

docs/self-hosted/github.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ OAUTH2_CLIENT_SECRET=[<client-secret>]
112112
ON_PREM_KNOWLEDGE_BASE=[true]
113113
# The branch which CodeRabbit will store the knowledge base json files in.
114114
ON_PREM_KNOWLEDGE_BASE_BRANCH=[coderabbitai/data]
115+
# URL to the host running ChromaDB 0.5.20.
116+
CHROMADB_URL=[http://chromadb:8000]
115117
```
116118

117119
:::note

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy