Skip to content

Commit e3e821b

Browse files
authored
Merge pull request #2240 from asimurka/feature/rag-namespaces
LCORE-3186: Added namespaces to test RAG db
2 parents 627132c + f1de41c commit e3e821b

4 files changed

Lines changed: 16 additions & 11 deletions

File tree

tests/e2e/features/llama_stack_disrupted.feature

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -61,17 +61,6 @@ Feature: Llama Stack connection disrupted
6161
{"detail": {"response": "Unable to connect to OGX", "cause": "Connection error."}}
6262
"""
6363

64-
Scenario: Check if shields endpoint reports error when llama-stack is unreachable
65-
Given The service uses the lightspeed-stack.yaml configuration
66-
And The service is restarted
67-
And The llama-stack connection is disrupted
68-
When I access REST API endpoint "shields" using HTTP GET method
69-
Then The status code of the response is 503
70-
And The body of the response is the following
71-
"""
72-
{"detail": {"response": "Unable to connect to OGX", "cause": "Connection error."}}
73-
"""
74-
7564
Scenario: Check if tools endpoint reports error when llama-stack is unreachable
7665
Given The service uses the lightspeed-stack.yaml configuration
7766
And The service is restarted

tests/e2e/rag/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,22 @@
22

33
This directory holds committed BYOK vector stores used by the e2e suite.
44

5+
## OGX 1.0 KV key namespace
6+
7+
OGX 1.0 FAISS persistence uses
8+
`persistence.namespace: vector_io::faiss` (see `run-ci.yaml` and LCS BYOK
9+
enrichment). SQLite KV keys are therefore stored as:
10+
11+
```text
12+
vector_io::faiss:vector_stores:v3::<vector_store_id>
13+
vector_io::faiss:faiss_index:v3::<vector_store_id>
14+
15+
```
16+
17+
Fixtures committed here must use that prefix. Pre-1.0 un-namespaced keys
18+
(`vector_stores:v3::…`) are invisible to OGX 1.0 and yield empty search
19+
results even when file_search / `vector_io.query` run successfully.
20+
521
## `kv_store.db`
622

723
Faiss BYOK store used by `faiss.feature` and `inline_rag.feature` (the

tests/e2e/rag/kv_store.db

0 Bytes
Binary file not shown.

tests/e2e/rag/pdf_kv_store.db

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)