Default Model Client
class DefaultModelClient(defaultModelClientProperties: DefaultModelClientProperties, delegate: LangChainModelClient = LangChainModelClient(LangChainChatModelFactory.createClient(defaultModelClientProperties))) : ModelClient
The DefaultModelClient class is a default implementation of the ModelClient interface.
The call method calls the OpenAI model with the given messages.
Parameters
default Model Client Properties
The properties for the default model client.
Constructors
Link copied to clipboard
constructor(defaultModelClientProperties: DefaultModelClientProperties, delegate: LangChainModelClient = LangChainModelClient(LangChainChatModelFactory.createClient(defaultModelClientProperties)))