PostgreSQL configuration
Public API and bounds
Exports
Chunker
Split one document into ordered text passages.Example
Example
Chunker.split
Parameters and example
Parameters and example
Embedder
Turn text into vectors without coupling RAG to a model provider.Example
Example
Embedder.embed
Parameters and example
Parameters and example
FilterValue
Example
Example
FixedSizeChunker
Split text on nearby whitespace with deterministic overlap.Parameters and example
Parameters and example
FixedSizeChunker.split
Parameters and example
Parameters and example
MemoryBackend
Store a bounded corpus in process behind the standard backend contract.Parameters and example
Parameters and example
MemoryBackend.start
Example
Example
MemoryBackend.close
Example
Example
MemoryBackend.replace
Parameters and example
Parameters and example
MemoryBackend.delete
Parameters and example
Parameters and example
MemoryBackend.fetch
Parameters and example
Parameters and example
MemoryBackend.search
Parameters and example
Parameters and example
PostgresBackend
Persist chunks in PostgreSQL with full-text and array-vector ranking.Parameters and example
Parameters and example
PostgresBackend.start
Example
Example
PostgresBackend.close
Example
Example
PostgresBackend.replace
Parameters and example
Parameters and example
PostgresBackend.delete
Parameters and example
Parameters and example
PostgresBackend.fetch
Parameters and example
Parameters and example
PostgresBackend.search
Parameters and example
Parameters and example
RAGBackend
Storage adapter required by the provider-neutral RAG service.Example
Example
RAGBackend.start
Example
Example
RAGBackend.close
Example
Example
RAGBackend.replace
Parameters and example
Parameters and example
RAGBackend.delete
Parameters and example
Parameters and example
RAGBackend.fetch
Parameters and example
Parameters and example
RAGBackend.search
Parameters and example
Parameters and example
RAGChunk
One independently retrievable, namespace-scoped document passage.— means no declared default):
Parameters and example
Parameters and example
RAGDocument
One source document supplied to the chunking and indexing pipeline.— means no declared default):
Parameters and example
Parameters and example
RAGExtension
Create lifecycle-owned RAG services without choosing a storage provider.Parameters and example
Parameters and example
RAGExtension.start
Parameters and example
Parameters and example
RAGExtension.stop
Example
Example
RAGExtension.create_context
Parameters and example
Parameters and example
RAGExtension.context
Return the task-local extension context for the active invocation.Example
Example
RAGExtension.service
Parameters and example
Parameters and example
RAGExtension.memory
Parameters and example
Parameters and example
RAGExtension.postgres
Parameters and example
Parameters and example
RAGHit
One ranked passage returned from a RAG backend.— means no declared default):
Parameters and example
Parameters and example
RAGQuery
A bounded retrieval request understood by every backend.— means no declared default):
Parameters and example
Parameters and example
RAGService
Own one backend and expose the same RAG API to Tools and Tasks.Parameters and example
Parameters and example
RAGService.backend
Expose the configured adapter for provider-specific administration.Example
Example
RAGService.start
Example
Example
RAGService.close
Example
Example
RAGService.aenter
Example
Example
RAGService.aexit
Example
Example
RAGService.ingest
Parameters and example
Parameters and example
RAGService.delete
Parameters and example
Parameters and example
RAGService.fetch
Parameters and example
Parameters and example
RAGService.search
Parameters and example
Parameters and example
Scalar
Example
Example
SearchMode
Choose lexical, vector, or rank-fused retrieval.Example
Example
extension
Create lifecycle-owned RAG services without choosing a storage provider.Example
Example
extension.start
Parameters and example
Parameters and example
extension.stop
Example
Example
extension.create_context
Parameters and example
Parameters and example
extension.context
Return the task-local extension context for the active invocation.Example
Example
extension.service
Parameters and example
Parameters and example
extension.memory
Parameters and example
Parameters and example
extension.postgres
Parameters and example
Parameters and example
rag
Create lifecycle-owned RAG services without choosing a storage provider.Example
Example
rag.start
Parameters and example
Parameters and example
rag.stop
Example
Example
rag.create_context
Parameters and example
Parameters and example
rag.context
Return the task-local extension context for the active invocation.Example
Example
rag.service
Parameters and example
Parameters and example
rag.memory
Parameters and example
Parameters and example
rag.postgres
Parameters and example
Parameters and example