An object containing parameters for defining the OpenAI Chat model.
The OpenAI client instance.
OptionalmodelRef?: ModelReference<CustomOptions>Optional reference to the model's configuration and custom options.
The name of the model.
OptionalpluginOptions?: PluginOptionsOptionalrequestBuilder?: ModelRequestBuilderthe created ModelAction
Method to define a new Genkit Model that is compatible with Open AI Chat Completions API.
These models are to be used to chat with a large language model.