OpenAiCompatibleModelFactory

constructor(baseUrl: String?, apiKey: String?, completionsPath: String?, embeddingsPath: String?, observationRegistry: <Error class: unknown class>)

Parameters

baseUrl

The base URL of the OpenAI API. Null for OpenAI default.

apiKey

The API key for the OpenAI compatible provider, or null for no authentication.