OpenRAG 0.2.3__tar.gz → 0.2.3.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {openrag-0.2.3/src/openrag.egg-info → openrag-0.2.3.0.2}/PKG-INFO +1 -1
- {openrag-0.2.3 → openrag-0.2.3.0.2}/pyproject.toml +1 -1
- {openrag-0.2.3 → openrag-0.2.3.0.2/src/openrag.egg-info}/PKG-INFO +1 -1
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/services/search_service.py +1 -1
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/session_manager.py +6 -2
- {openrag-0.2.3 → openrag-0.2.3.0.2}/LICENSE +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/MANIFEST.in +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/README.md +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/setup.cfg +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/agent.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/api/__init__.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/api/auth.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/api/chat.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/api/connector_router.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/api/connectors.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/api/docling.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/api/documents.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/api/flows.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/api/keys.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/api/knowledge_filter.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/api/langflow_files.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/api/models.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/api/nudges.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/api/oidc.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/api/provider_health.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/api/provider_validation.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/api/router.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/api/search.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/api/settings.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/api/tasks.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/api/upload.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/api/v1/__init__.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/api/v1/chat.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/api/v1/documents.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/api/v1/knowledge_filters.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/api/v1/search.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/api/v1/settings.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/api_key_middleware.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/auth_context.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/auth_middleware.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/config/__init__.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/config/config_manager.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/config/settings.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/connectors/__init__.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/connectors/base.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/connectors/connection_manager.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/connectors/google_drive/__init__.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/connectors/google_drive/connector.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/connectors/google_drive/oauth.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/connectors/langflow_connector_service.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/connectors/onedrive/__init__.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/connectors/onedrive/connector.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/connectors/onedrive/oauth.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/connectors/service.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/connectors/sharepoint/__init__.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/connectors/sharepoint/connector.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/connectors/sharepoint/oauth.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/main.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/models/__init__.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/models/processors.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/models/tasks.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/openrag.egg-info/SOURCES.txt +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/openrag.egg-info/dependency_links.txt +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/openrag.egg-info/entry_points.txt +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/openrag.egg-info/requires.txt +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/openrag.egg-info/top_level.txt +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/services/__init__.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/services/api_key_service.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/services/auth_service.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/services/chat_service.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/services/conversation_persistence_service.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/services/document_service.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/services/flows_service.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/services/knowledge_filter_service.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/services/langflow_file_service.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/services/langflow_history_service.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/services/langflow_mcp_service.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/services/models_service.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/services/monitor_service.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/services/session_ownership_service.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/services/task_service.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/tui/__init__.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/tui/_assets/docker-compose.gpu.yml +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/tui/_assets/docker-compose.yml +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/tui/_assets/flows/components/ollama_embedding.json +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/tui/_assets/flows/components/ollama_llm.json +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/tui/_assets/flows/components/ollama_llm_text.json +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/tui/_assets/flows/components/watsonx_embedding.json +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/tui/_assets/flows/components/watsonx_llm.json +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/tui/_assets/flows/components/watsonx_llm_text.json +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/tui/_assets/flows/ingestion_flow.json +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/tui/_assets/flows/openrag_agent.json +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/tui/_assets/flows/openrag_nudges.json +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/tui/_assets/flows/openrag_url_mcp.json +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/tui/_assets/openrag-documents/docling.pdf +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/tui/_assets/openrag-documents/ibm_anthropic.pdf +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/tui/_assets/openrag-documents/openrag-documentation.pdf +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/tui/_assets/openrag-documents/warmup_ocr.pdf +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/tui/main.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/tui/managers/__init__.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/tui/managers/container_manager.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/tui/managers/docling_manager.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/tui/managers/env_manager.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/tui/screens/__init__.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/tui/screens/config.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/tui/screens/diagnostics.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/tui/screens/logs.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/tui/screens/monitor.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/tui/screens/welcome.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/tui/utils/__init__.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/tui/utils/clipboard.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/tui/utils/platform.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/tui/utils/validation.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/tui/utils/version_check.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/tui/widgets/__init__.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/tui/widgets/command_modal.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/tui/widgets/diagnostics_notification.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/tui/widgets/error_notification.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/tui/widgets/factory_reset_warning_modal.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/tui/widgets/flow_backup_warning_modal.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/tui/widgets/prune_options_modal.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/tui/widgets/upgrade_instructions_modal.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/tui/widgets/version_mismatch_warning_modal.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/tui/widgets/waves.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/utils/__init__.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/utils/container_utils.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/utils/document_processing.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/utils/embedding_fields.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/utils/embeddings.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/utils/file_utils.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/utils/gpu_detection.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/utils/hash_utils.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/utils/langflow_headers.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/utils/logging_config.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/utils/opensearch_queries.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/utils/paths.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/utils/process_pool.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/utils/telemetry/__init__.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/utils/telemetry/category.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/utils/telemetry/client.py +0 -0
- {openrag-0.2.3 → openrag-0.2.3.0.2}/src/utils/telemetry/message_id.py +0 -0
|
@@ -331,7 +331,7 @@ class SearchService:
|
|
|
331
331
|
"aggs": {
|
|
332
332
|
"data_sources": {"terms": {"field": "filename", "size": 20}},
|
|
333
333
|
"document_types": {"terms": {"field": "mimetype", "size": 10}},
|
|
334
|
-
"owners": {"terms": {"field": "
|
|
334
|
+
"owners": {"terms": {"field": "owner", "size": 10}},
|
|
335
335
|
"connector_types": {"terms": {"field": "connector_type", "size": 10}},
|
|
336
336
|
"embedding_models": {"terms": {"field": "embedding_model", "size": 10}},
|
|
337
337
|
},
|
|
@@ -194,7 +194,11 @@ class SessionManager:
|
|
|
194
194
|
"user_roles": ["openrag_user"], # compatible with OpenSearch's roles_key
|
|
195
195
|
}
|
|
196
196
|
|
|
197
|
-
token
|
|
197
|
+
# Check for token from environment variable first
|
|
198
|
+
token = os.getenv("OPENSEARCH_JWT_TOKEN")
|
|
199
|
+
if not token:
|
|
200
|
+
# If no env token, generate using JWT
|
|
201
|
+
token = jwt.encode(token_payload, self.private_key, algorithm=self.algorithm)
|
|
198
202
|
return token
|
|
199
203
|
|
|
200
204
|
def verify_token(self, token: str) -> Optional[Dict[str, Any]]:
|
|
@@ -266,4 +270,4 @@ class SessionManager:
|
|
|
266
270
|
def _create_anonymous_jwt(self) -> str:
|
|
267
271
|
"""Create JWT token for anonymous user in no-auth mode"""
|
|
268
272
|
anonymous_user = AnonymousUser()
|
|
269
|
-
return self.create_jwt_token(anonymous_user)
|
|
273
|
+
return self.create_jwt_token(anonymous_user)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openrag-0.2.3 → openrag-0.2.3.0.2}/src/tui/_assets/openrag-documents/openrag-documentation.pdf
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|