ModelClient

interface ModelClient

The ModelClient interface represents a client that can call a model.

The call method calls the model with the given messages.

See also

ChatMessage
AgentRoutingSpecResolverException
Result

Inheritors

Functions

Link copied to clipboard
abstract fun call(messages: List<ChatMessage>): Result<ChatMessage, AgentRoutingSpecResolverException>