Universal.Operative.Sdk.Discrete.Alibaba.DashScope
3.0.0
dotnet add package Universal.Operative.Sdk.Discrete.Alibaba.DashScope --version 3.0.0
NuGet\Install-Package Universal.Operative.Sdk.Discrete.Alibaba.DashScope -Version 3.0.0
<PackageReference Include="Universal.Operative.Sdk.Discrete.Alibaba.DashScope" Version="3.0.0" />
<PackageVersion Include="Universal.Operative.Sdk.Discrete.Alibaba.DashScope" Version="3.0.0" />
<PackageReference Include="Universal.Operative.Sdk.Discrete.Alibaba.DashScope" />
paket add Universal.Operative.Sdk.Discrete.Alibaba.DashScope --version 3.0.0
#r "nuget: Universal.Operative.Sdk.Discrete.Alibaba.DashScope, 3.0.0"
#:package Universal.Operative.Sdk.Discrete.Alibaba.DashScope@3.0.0
#addin nuget:?package=Universal.Operative.Sdk.Discrete.Alibaba.DashScope&version=3.0.0
#tool nuget:?package=Universal.Operative.Sdk.Discrete.Alibaba.DashScope&version=3.0.0
Universal.Operative.Sdk.Discrete.Alibaba.DashScope
DashScope conversational providers for Universal.Operative.Sdk discrete operatives.
Quick start
using Universal.Operative.Sdk.Discrete.Alibaba.DashScope;
using var model = new GenerationModel(
Environment.GetEnvironmentVariable("DASHSCOPE_API_KEY")!,
new GenerationModel.Options
{
ModelId = Universal.Alibaba.DashScope.Client.V1.DashScopeModels.Text.QwenPlus,
EnableThinking = true,
});
GenerationModel uses DashScope's native text-generation endpoint and supports streaming text, reasoning, function calls, usage, native sampling options, workspace endpoints, and web search.
Choose the adapter that matches the API route accepted by the model:
GenerationModel— nativetext-generation/generationfor text-generation models.MultimodalGenerationModel— nativemultimodal-generation/generationfor Qwen vision/audio and unified multimodal models such asqwen3.8-flash; accepts text, image, audio, and video blocks.ChatCompletionsModel— DashScope's OpenAI-compatiblechat/completionsroute.ResponsesModel— DashScope's OpenAI-compatibleresponsesroute, including reasoning and function-call item streams.MessagesModel— DashScope's Anthropic-compatiblev1/messagesroute.
All five adapters preserve streamed text, reasoning, fragmented function calls, stop reasons, usage, and tool-call identity across an engine tool round trip. Region and billing-plan endpoints must match the API key. Native /api/v1 endpoints passed to compatibility adapters are converted to the corresponding compatibility path automatically.
The former Model name is obsolete and remains available as a compatibility wrapper until the next major release.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Universal.Alibaba.DashScope.Client (>= 1.1.0)
- Universal.Operative.Sdk (>= 6.1.2)
- Universal.Operative.Sdk.Discrete (>= 3.0.0)
-
net8.0
- Universal.Alibaba.DashScope.Client (>= 1.1.0)
- Universal.Operative.Sdk (>= 6.1.2)
- Universal.Operative.Sdk.Discrete (>= 3.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Supports conversation managers and durable chronologies.