RAGContext

org.llm4s.agent.guardrails.rag.RAGContext
See theRAGContext companion class
object RAGContext

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
RAGContext.type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(query: String, chunks: Seq[String]): RAGContext

Create context from query and chunks only.

Create context from query and chunks only.

Attributes

def withSources(query: String, chunks: Seq[String], sources: Seq[String]): RAGContext

Create context with source information.

Create context with source information.

Attributes