LlmResult

org.llm4s.javaapi.LlmResult
See theLlmResult companion class
object LlmResult

Attributes

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

Members list

Value members

Concrete methods

def failure[A](error: LLMError): LlmResult[A]

A failed result holding error.

A failed result holding error.

Attributes

def success[A](value: A): LlmResult[A]

A successful result holding value.

A successful result holding value.

Attributes