DashscopeLLMClient

constructor(apiKey: String, settings: DashscopeClientSettings = DashscopeClientSettings(), baseClient: HttpClient = HttpClient(), clock: Clock = Clock.System, toolsConverter: OpenAICompatibleToolDescriptorSchemaGenerator = OpenAICompatibleToolDescriptorSchemaGenerator())(source)

Parameters

apiKey

The API key for the DashScope API

settings

The base URL, chat completion path, and timeouts for the DashScope API, defaults to "https://dashscope-intl.aliyuncs.com/compatible-mode/v1" and 900s

baseClient

HTTP client for making requests

clock

Clock instance used for tracking response metadata timestamps