OpenAIModel
class OpenAIModel(val authentication: Authentication.APIKey, val modelIdentifier: ModelIdentifier, val generationSettings: GenerationSettings, logLevel: LogLevel = LogLevel.NONE, apiUrl: OpenAIApiUrl) : Model
Constructors
Link copied to clipboard
constructor(authentication: Authentication.APIKey, modelIdentifier: ModelIdentifier, generationSettings: GenerationSettings, logLevel: LogLevel = LogLevel.NONE, apiUrl: OpenAIApiUrl)
Functions
Link copied to clipboard
open suspend override fun sendRequest(messages: List<Message>, tools: List<ToolDescription>, structuredOutputParameter: Parameter?): ModelResponse