OgmRagService

class OgmRagService(modelProvider: <Error class: unknown class>, queryRunner: OgmCypherSearch, schemaResolver: SchemaResolver, platformTransactionManager: <Error class: unknown class>, properties: OgmRagServiceProperties = OgmRagServiceProperties()) : RagService

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>, queryRunner: OgmCypherSearch, schemaResolver: SchemaResolver, platformTransactionManager: <Error class: unknown class>, properties: OgmRagServiceProperties = OgmRagServiceProperties())

Properties

Link copied to clipboard
Link copied to clipboard
open override val name: String

Human-readable name of the RAG service.

Functions

Link copied to clipboard
open fun infoString(verbose: Boolean?, indent: Int): String
Link copied to clipboard
open override fun search(ragRequest: RagRequest): RagResponse

Make a RAG request