getbased-rag 0.7.2__tar.gz → 0.7.3__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.
- {getbased_rag-0.7.2/src/getbased_rag.egg-info → getbased_rag-0.7.3}/PKG-INFO +1 -1
- {getbased_rag-0.7.2 → getbased_rag-0.7.3}/pyproject.toml +1 -1
- {getbased_rag-0.7.2 → getbased_rag-0.7.3/src/getbased_rag.egg-info}/PKG-INFO +1 -1
- {getbased_rag-0.7.2 → getbased_rag-0.7.3}/src/lens/store.py +4 -1
- {getbased_rag-0.7.2 → getbased_rag-0.7.3}/LICENSE +0 -0
- {getbased_rag-0.7.2 → getbased_rag-0.7.3}/README.md +0 -0
- {getbased_rag-0.7.2 → getbased_rag-0.7.3}/setup.cfg +0 -0
- {getbased_rag-0.7.2 → getbased_rag-0.7.3}/src/getbased_rag.egg-info/SOURCES.txt +0 -0
- {getbased_rag-0.7.2 → getbased_rag-0.7.3}/src/getbased_rag.egg-info/dependency_links.txt +0 -0
- {getbased_rag-0.7.2 → getbased_rag-0.7.3}/src/getbased_rag.egg-info/entry_points.txt +0 -0
- {getbased_rag-0.7.2 → getbased_rag-0.7.3}/src/getbased_rag.egg-info/requires.txt +0 -0
- {getbased_rag-0.7.2 → getbased_rag-0.7.3}/src/getbased_rag.egg-info/top_level.txt +0 -0
- {getbased_rag-0.7.2 → getbased_rag-0.7.3}/src/lens/__init__.py +0 -0
- {getbased_rag-0.7.2 → getbased_rag-0.7.3}/src/lens/api_key.py +0 -0
- {getbased_rag-0.7.2 → getbased_rag-0.7.3}/src/lens/cli.py +0 -0
- {getbased_rag-0.7.2 → getbased_rag-0.7.3}/src/lens/config.py +0 -0
- {getbased_rag-0.7.2 → getbased_rag-0.7.3}/src/lens/embedder.py +0 -0
- {getbased_rag-0.7.2 → getbased_rag-0.7.3}/src/lens/ingest.py +0 -0
- {getbased_rag-0.7.2 → getbased_rag-0.7.3}/src/lens/registry.py +0 -0
- {getbased_rag-0.7.2 → getbased_rag-0.7.3}/src/lens/server.py +0 -0
- {getbased_rag-0.7.2 → getbased_rag-0.7.3}/tests/test_env_loader.py +0 -0
- {getbased_rag-0.7.2 → getbased_rag-0.7.3}/tests/test_onnx_embedder.py +0 -0
- {getbased_rag-0.7.2 → getbased_rag-0.7.3}/tests/test_server.py +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "getbased-rag"
|
|
7
|
-
version = "0.7.
|
|
7
|
+
version = "0.7.3"
|
|
8
8
|
description = "getbased-rag — standalone RAG knowledge server (formerly the Electron-bundled Lens)"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = "AGPL-3.0-or-later"
|
|
@@ -197,7 +197,10 @@ class Store:
|
|
|
197
197
|
try:
|
|
198
198
|
self._client().delete_collection(self._collection)
|
|
199
199
|
except Exception as e: # noqa: BLE001
|
|
200
|
-
|
|
200
|
+
# Sanitize collection name to prevent CRLF log-injection — the
|
|
201
|
+
# collection name comes from user-supplied library IDs.
|
|
202
|
+
safe_name = self._collection.replace("\r", " ").replace("\n", " ")[:128]
|
|
203
|
+
log.warning("drop collection %s failed: %s", safe_name, e)
|
|
201
204
|
|
|
202
205
|
def list_sources(self) -> list[dict]:
|
|
203
206
|
"""Aggregate by source: returns [{source, chunks}, ...] sorted by source.
|
|
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
|