RecordedCall

org.llm4s.testkit.RecordedCall
See theRecordedCall companion object
final case class RecordedCall

One request a ScriptedLLMClient received, kept so a test can check what the code under test sent.

Value parameters

conversation

the conversation the code sent

options

the completion options the code sent

streamed

true when the request came through streamComplete

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 lastUserText: Option[String]

The text of the last user message, if the conversation has one.

The text of the last user message, if the conversation has one.

Attributes

def messages: Seq[Message]

The messages of the conversation.

The messages of the conversation.

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product