Untrusted

org.llm4s.prompt.Untrusted$package.Untrusted
@Experimental
object Untrusted

Constructors of Untrusted values.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Untrusted.type

Members list

Value members

Concrete methods

def apply[A](value: A): Untrusted[A]

value, marked as untrusted.

value, marked as untrusted.

Attributes

def text(value: String): Untrusted[String]

Text from outside the application: a document, an email, a user's upload.

Text from outside the application: a document, an email, a user's upload.

Attributes

def toolResult(message: ToolMessage): Untrusted[String]

The text of a tool's result (its text parts, joined by newlines).

The text of a tool's result (its text parts, joined by newlines).

Attributes

Extensions

Extensions

extension [A](untrusted: Untrusted[A])
def value: A

The value, unfenced.

The value, unfenced.

Attributes