Ogm Rag Facet Provider
class OgmRagFacetProvider(modelProvider: <Error class: unknown class>, ogmCypherSearch: OgmCypherSearch, schemaResolver: SchemaResolver, sessionFactory: <Error class: unknown class>, platformTransactionManager: <Error class: unknown class>, properties: NeoRagServiceProperties) : AbstractWritableContentElementRepository, RagFacetProvider
Performs RAG queries in readonly transactions using Neo4j OGM. Requires a Neo4j OGM PlatformTransactionManager to be configured in the Spring context.
Constructors
Link copied to clipboard
constructor(modelProvider: <Error class: unknown class>, ogmCypherSearch: OgmCypherSearch, schemaResolver: SchemaResolver, sessionFactory: <Error class: unknown class>, platformTransactionManager: <Error class: unknown class>, properties: NeoRagServiceProperties)
Functions
Link copied to clipboard
Link copied to clipboard
fun entityVectorSearch(request: <Error class: unknown class>, embedding: FloatArray, labels: Set<String>): List<<Error class: unknown class><EntityData>>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The Retrievables have been saved to the store, but Retrievables are special, and we probably want to embed them
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Will call save on the root and all descendants. The database only needs to store each descendant and link by id, rather than otherwise consider the entire structure.