Domain schemas reference
Reference for built-in domain schemas and custom schema creation. This page is a short overview and index; each subsystem has its own page.
Overview
Domain schemas define entity types with descriptions that improve GLiNER zero-shot extraction accuracy. Each schema supplies domain-specific labels and descriptions; assess extraction quality on your own sample data.
On this subsystem
-
Built-in domain schemas — the eight registered GLiNER schemas (
poleo,podcast,news,scientific,business,entertainment,medical,legal) and how to select one withGLiNEREntityExtractor.for_schema,ExtractorBuilder.with_gliner_schema, orlist_schemas/get_schema. -
Custom schemas and persistence —
DomainSchema, the Bolt-onlySchemaManageroverview, the GLiNER-to-POLE+O entity type mapping, and theDomainSchema/EntityTypeConfig/RelationTypeConfig/EntitySchemaConfigmodels. -
SchemaManager persistence API —
save_schema,load_schema,list_schemas,set_active_version,delete_schema, and the rest of theneo4j_agent_memory.schema.SchemaManagerCRUD surface.