Skip to main content

Module context

Module context 

Source

Functions§

build_pipeline_handle_from_items
Build a fresh SphereQLPipeline from a slice of CategorizedItemInputs using SphereQLPipeline::new (default PipelineConfig). Returns the wrapped handle ready to feed into a schema.
build_schema
create_default_index
create_schema_with_defaults
default_no_embedder_handle
Default embedder handle that always errors. Use this when wiring a schema for a deployment that only exposes resolvers which don’t require text embedding (or as a placeholder until a real embedder is plugged in).
into_pipeline_handle
Wrap an existing SphereQLPipeline for use as GraphQL context data.

Type Aliases§

CategoryPipelineHandle
Shared, lockable handle to the fitted category-enrichment pipeline.
EmbedderHandle
Type-erased text embedder shared across resolvers.
SphericalSchema