[Feature]: Native Oracle AI Database 26ai KnowledgeStore backend (OracleKnowledgeStore) for Knowledge Banks
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 12/100
Direzione di ricerca
Start at load_knowledge_store, which currently hardcodes PostgresKnowledgeStore, and read that store alongside the KnowledgeService and OperationValidator contracts it must satisfy. The issue names the Oracle tables (kb_documents, kb_passages, kb_passage_vectors, staged variants) and the CTXSYS.CONTEXT index, but the reference implementation lives in an out-of-tree fork, so the first step is locating the Postgres store and the bank/MCP routes to see what parity means. Done means dialect dispatch in load_knowledge_store plus an Oracle store passing the existing Knowledge Bank and /mcp/kb/{bank_id}/ tests; this is a design-scale port requiring Oracle 26ai familiarity.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Use Case
We run self-hosted Hindsight against Oracle AI Database 26ai / Autonomous AI Database (23.26.4.1.0) and use Knowledge Banks (/v1/default/knowledge-banks/* and /mcp/kb/{bank_id}/) alongside Memory Banks in production and CI.
Problem Statement
Knowledge Banks are now enabled by default on main (#6676), and the bank/MCP surface (#6791, #6801) assumes load_knowledge_store can serve every configured database backend. However, load_knowledge_store currently hardcodes PostgresKnowledgeStore, which blocks Oracle AI Database 26ai deployments from using Knowledge Banks without maintaining an out-of-tree fork.
How This Feature Would Help
- Backend parity out of the box: Allows Oracle 26ai deployments to use Knowledge Banks,
/v1/default/knowledge-banks/{bank_id}/operations*, and/mcp/kb/{bank_id}/with the sameKnowledgeServiceandOperationValidatorcontracts as PostgreSQL. - Native Oracle 26ai search: Uses native
VECTORdistance (FETCH EXACT FIRST ... ROWS ONLY), Oracle Text (CTXSYS.CONTEXT/CONTAINS), and RRF fusion — notably avoiding shared HNSW post-filtering recall loss (#6731) because each bank's vector search is exact-scoped bybank_id. - Safe UUID-shaped string binding: Uses
OracleLiteralStrfor UUID-shapedbank_idanddocument_idparameters so Oracle thin-driver UUID-to-RAW(16)coercion does not breakVARCHAR2keys.
Proposed Implementation & Validation Evidence
In our Oracle 26ai fork (rodrigoedu94-png/hindsight), we have implemented and live-tested OracleKnowledgeStore (kb_documents, kb_passages, kb_passage_vectors, kb_staged_passages, kb_staged_passage_vectors + CTXSYS.CONTEXT index) against Oracle 26ai 23.26.4.1.0, including:
- Conditional
JOIN kb_documentsoptimization (#6747) when document-level filters are active - Deterministic
(document_id, idx)tie-breaking (#6697) - Full validation of
#6731(small bank next to a 3,000-row big bank withDBMS_XPLAN.DISPLAY_CURSORALLSTATS LAST),#6791,#6801, and#6815.
If maintainers are open to it, we can prepare a clean upstream PR adding OracleKnowledgeStore and dialect dispatch in load_knowledge_store (mirroring #6772 for SQL/PGQ).
- Lingua principale
- Python
- Stelle
- 45.2k
- Fork
- 5.9k
- Merge medio
- 6h 18m
- PR unite (30g)
- 354
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di vectorize-io/hindsight
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
vectorize-io/hindsight#6923 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
vectorize-io/hindsight#6921 ·
I maintainer di solito rispondono entro 1 giorno
-
core
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
vectorize-io/hindsight#6910 ·
I maintainer di solito rispondono entro 1 giorno
-
core
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
vectorize-io/hindsight#6903 ·
I maintainer di solito rispondono entro 1 giorno
-
integration:openclaw
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
vectorize-io/hindsight#6893 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di vectorize-io/hindsight
Issue simili
-
Task select patterns with uppercase letters never matchForse già presa @manobhisriram l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
app: scripts status: backlog type: housekeeping
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
netbox-community/netbox-scripts#239 ·
I maintainer di solito rispondono entro 1 giorno
-
Lambda deploys fail once the bundle grows by about 254 KBForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
developmentseed/titiler-cmr#341 ·
I maintainer di solito rispondono entro 1 giorno
-
Card tables add "..." to every value in a DataFrame column when any value is longer than 30 charactersForse già presa @omkarbandikatte l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno