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))

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open suspend override fun sendRequest(messages: List<Message>, tools: List<ToolDescription>): ModelResponse