LlmResult

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

Attributes

Companion
class
Source
LlmResult.scala
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

Source
LlmResult.scala
def success[A](value: A): LlmResult[A]

A successful result holding value.

A successful result holding value.

Attributes

Source
LlmResult.scala