RagService

interface RagService

Central interface for Retrieval-Augmented Generation (RAG) services. Returns entities as well as text chunks.

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val name: String

Name of the RAG service. Should be unique per application instance. User code may use this to select a RAG service.

Functions

Link copied to clipboard
open fun provision()

Provision this rag service if necessary

Link copied to clipboard
abstract fun search(ragRequest: RagRequest): RagResponse

Make a RAG request