OpenSearch Knowledge
OpenRAG uses OpenSearch for its vector-backed knowledge store. This is a specialized database for storing and retrieving embeddings, which helps your Agent efficiently find relevant information. OpenSearch provides powerful hybrid search capabilities with enterprise-grade security and multi-tenancy support.
+Authentication and document access
+OpenRAG supports two authentication modes based on how you install OpenRAG, and which mode you choose affects document access.
+No-auth mode (Basic Setup): This mode uses a single anonymous JWT token for OpenSearch authentication, so documents uploaded to the documents index by one user are visible to all other users on the OpenRAG server.
OAuth mode (Advanced Setup): Each OpenRAG user is granted a JWT token, and each document is tagged with user ownership. Documents are filtered by user ownership, ensuring users only see documents they uploaded or have access to.
Ingest knowledge
OpenRAG supports knowledge ingestion through direct file uploads and OAuth connectors. To configure the knowledge ingestion pipeline parameters, see Docling Ingestion.
@@ -107,7 +111,7 @@ A new filter is created with default settings that match everything.You can use custom embedding models by specifying them in your configuration.
If you use an unknown embedding model, OpenRAG will automatically fall back to 1536 dimensions and log a warning. The system will continue to work, but search quality may be affected if the actual model dimensions differ from 1536.
The default embedding dimension is 1536 and the default model is text-embedding-3-small.
For models with known vector dimensions, see settings.py in the OpenRAG repository.