JevResponse

org.llm4s.jev.JevResponse
See theJevResponse companion object
final case class JevResponse

Jev's answers to one JevRequest.

Value parameters

answers

one answer per question, under the id the question was asked with

model

the versioned model that answered (jev-1.13.0 for the alias jev-latest): log it, because an alias moves when a new release ships

requestId

the API's request id (x-typesafe-request-id), for support, when it sent one

usage

tokens used

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def choice(id: String): Result[ChoiceAnswer]

The answer to the Choice question id, or a org.llm4s.error.ValidationError when it is absent or of another type.

The answer to the Choice question id, or a org.llm4s.error.ValidationError when it is absent or of another type.

Attributes

def noul(id: String): Result[NoulAnswer]

The answer to the Noul question id, or a org.llm4s.error.ValidationError when it is absent or of another type.

The answer to the Noul question id, or a org.llm4s.error.ValidationError when it is absent or of another type.

Attributes

def score(id: String): Result[ScoreAnswer]

The answer to the Score question id, or a org.llm4s.error.ValidationError when it is absent or of another type.

The answer to the Score question id, or a org.llm4s.error.ValidationError when it is absent or of another type.

Attributes

def withRequestId(requestId: Option[String]): JevResponse

Adds the API's request id.

Adds the API's request id.

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product