the model id as it is used by the OpenAI API
whether the streaming API shall be used
a function that returns the API key to use for this model, called on each request
the OpenAI API compatible endpoint where the model is hosted. If not provided the default OpenAI endpoint will be used.
Optional
defaultRequestSettings: { optional default settings for requests made using this model.
a function that returns the API key to use for this model, called on each request
Optional
defaultoptional default settings for requests made using this model.
whether the streaming API shall be used
Readonly
idthe unique id for this language model. It will be used to identify the model in the UI.
the model id as it is used by the OpenAI API
the OpenAI API compatible endpoint where the model is hosted. If not provided the default OpenAI endpoint will be used.
Protected
createPrivate
getProtected
getProtected
handleProtected
handleProtected
initializeProtected
isProtected
supports
the unique id for this language model. It will be used to identify the model in the UI.