Rag Reference
class RagReference(val name: String, val description: String, val options: RagOptions, summarizerPromptRunner: PromptRunner) : LlmReference
Expose a RagService as an LlmReference with tools.
Constructors
Link copied to clipboard
constructor(name: String, description: String, options: RagOptions, summarizerPromptRunner: PromptRunner)
Functions
Link copied to clipboard
Link copied to clipboard
Return the instance of the tool object. Defaults to this
Link copied to clipboard
Create a tool object for this reference.
Link copied to clipboard
A safe prefix for LLM tools associated with this reference. Defaults to the name lowercased with spaces replaced by underscores. Subclasses can override it