QueryTransformer

org.llm4s.rag.transform.QueryTransformer
See theQueryTransformer companion trait

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def applyChain(query: String, transforms: Seq[QueryTransformer]): Result[String]

Apply a chain of transforms sequentially.

Apply a chain of transforms sequentially.

Each transform receives the output of the previous one. Short-circuits on the first error.

Value parameters

query

The original query

transforms

The transforms to apply in order

Attributes

Returns

The fully transformed query