Skip to content

armgit / sie

Public Imported from GitHub
0

Open-source inference server and production cluster for all the models your agent needs.

examples(vision-doc-rag): align with v0.6.4 and live sie-test retest

svonavaf5a930a95585
diff --git a/examples/vision-doc-rag/README.md b/examples/vision-doc-rag/README.md
index 3f3c586fd..52e37cd15 100644
--- a/examples/vision-doc-rag/README.md
+++ b/examples/vision-doc-rag/README.md
@@ -43,9 +43,10 @@ data/multivectors.npz # page multivectors from ingest.py
without `instruction` to OCR the same page for a display snippet. The OCR
snippet is UX-only; it never enters ranking.
- `score` optional - `Qwen/Qwen3-VL-Reranker-2B` second-stage rerank over
- `(query text, page image)`. Off by default while we wait for an upstream
- adapter fix; flip `search.visual_rerank: true` in `config.yaml` to enable it
- on a cluster that's ready.
+ `(query text, page image)`. Off by default while we wait for upstream fixes
+ (image inputs on the SDK `score()` path and the cluster-side visual rerank
+ adapter); flip `search.visual_rerank: true` in `config.yaml` to enable it on
+ a stack that has them.
## Run it
diff --git a/examples/vision-doc-rag/config.yaml b/examples/vision-doc-rag/config.yaml
index 587548f28..1094ff022 100644
--- a/examples/vision-doc-rag/config.yaml
+++ b/examples/vision-doc-rag/config.yaml
@@ -19,10 +19,12 @@ models:
retriever: "vidore/colqwen2.5-v0.2"
docvqa: "mynkchaudhry/Florence-2-FT-DocVQA"
# Optional second-stage cross-encoder rerank. Visual model so we don't have to
- # collapse the page through OCR before reranking. Disabled by default while
- # we wait for the cluster-side adapter bug to land:
- # https://github.com/superlinked/sie-internal/issues/1026
- # Re-enable with search.visual_rerank: true once that ships.
+ # collapse the page through OCR before reranking. Disabled by default — two
+ # blockers as of 0.6.4 (verified against sie-test 2026-06-12):
+ # https://github.com/superlinked/sie-internal/issues/1368 (sdk: score() image inputs)
+ # https://github.com/superlinked/sie-internal/issues/1367 (server: adapter image tokens)
+ # Text-only rerank works. Re-enable with search.visual_rerank: true once both
+ # fixes ship.
reranker: "Qwen/Qwen3-VL-Reranker-2B"
# Page rendering. `auto` tries pdf2image/Poppler first and falls back to
diff --git a/examples/vision-doc-rag/python/requirements.txt b/examples/vision-doc-rag/python/requirements.txt
index 1ea77ae9d..d482d62a2 100644
--- a/examples/vision-doc-rag/python/requirements.txt
+++ b/examples/vision-doc-rag/python/requirements.txt
@@ -1,4 +1,4 @@
-sie-sdk==0.3.4
+sie-sdk==0.6.4
fastapi>=0.115.0
uvicorn>=0.30.0
numpy>=1.26.0