ConsensusRagService

Rag service that combines multiple RagServices and returns the best results

Constructors

Link copied to clipboard
constructor(ragServices: List<RagService>)

Properties

Link copied to clipboard
Link copied to clipboard
open override 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 infoString(verbose: Boolean?, indent: Int): String
Link copied to clipboard
open fun provision()

Provision this rag service if necessary

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

Make a RAG request