SpringVectorStoreRagService

@ApiStatus.Experimental
class SpringVectorStoreRagService(vectorStore: <Error class: unknown class>, val description: String) : WritableRagService

RagService wrapping a Spring AI VectorStore.

Constructors

Link copied to clipboard
constructor(vectorStore: <Error class: unknown class>, description: String)

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 accept(documents: List<<Error class: unknown class>>)
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

Link copied to clipboard
open override fun writeContent(root: MaterializedDocument): List<String>

Write the given content root and its children to the underlying store.