You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 16, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: docs/integrations/knowledge-base.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,11 +49,11 @@ Or you can comment directly on some lines of code in the PR. `@coderabbitai do n
49
49
50
50
##Self-hosted knowledge base {#self-hosted}
51
51
52
-
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.
52
+
For self-hosted / on-premises deployments, you can enable the knowledge base features by setting`SELF_HOSTED_KNOWLEDGE_BASE=true` in the environment variables for your self-hosted docker image.
53
53
54
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
55
56
-
By default, CodeRabbit will store its data in the`coderabbitai/data` branch, unless you set a value for`ON_PREM_KNOWLEDGE_BASE_BRANCH=<branch_name>`.
56
+
By default, CodeRabbit will store its data in the`coderabbitai/data` branch, unless you set a value for`SELF_HOSTED_KNOWLEDGE_BASE_BRANCH=<branch_name>`.
57
57
58
58
###Walkthrough
59
59
@@ -66,5 +66,5 @@ By default, CodeRabbit will store its data in the `coderabbitai/data` branch, un
66
66
`@coderabbitai always make sure to enforce camelCase`
67
67
68
68
- CodeRabbit should respond that it has added a learning.
69
-
- Check out the branch called`coderabbit/data` in the repository (or whatever branch name you have set for`ON_PREM_KNOWLEDGE_BASE_BRANCH`). It should contain a file called learnings.json with an entry containing what you told it to remember.
69
+
- Check out the branch called`coderabbit/data` in the repository (or whatever branch name you have set for`SELF_HOSTED_KNOWLEDGE_BASE_BRANCH`). It should contain a file called learnings.json with an entry containing what you told it to remember.
70
70
- Future PRs should utilize the contents of this learnings file. Congratulations! You have configured the CodeRabbit Self-hosted knowledge base.