OpenAIModel
class OpenAIModel(val authentication: Authentication.APIKey, val modelIdentifier: OpenAIModelIdentifier, openAI: OpenAI = defaultOpenAI(authentication)) : Model
Constructors
Link copied to clipboard
constructor(authentication: Authentication.APIKey, modelIdentifier: OpenAIModelIdentifier, openAI: OpenAI = defaultOpenAI(authentication))
Functions
Link copied to clipboard
open suspend override fun sendRequest(messages: List<Message>, tools: List<ToolDescription>): ModelResponse