Skip to content

Releases: cnblogs/dashscope-sdk

v0.9.0

11 Nov 15:06
c8d9f8c

Choose a tag to compare

What's Changed

  • refactor: remove FluentAssertions by @ikesnowy in #111
  • Bump Microsoft.Extensions.AI from 9.7.0 to 9.8.0 by @dependabot[bot] in #115
  • Bump Microsoft.Extensions.AI.Abstractions from 9.7.0 to 9.8.0 by @dependabot[bot] in #116
  • Bump Microsoft.Extensions.AI from 9.8.0 to 9.9.0 by @dependabot[bot] in #120
  • Bump Microsoft.Extensions.AI.Abstractions from 9.8.0 to 9.9.0 by @dependabot[bot] in #121
  • feat: support temp oss upload by @ikesnowy in #123
  • Bump Microsoft.Extensions.AI from 9.9.1 to 9.10.0 by @dependabot[bot] in #125
  • feat: update parameters by @ikesnowy in #129
  • Bump Microsoft.Extensions.AI from 9.10.0 to 9.10.2 by @dependabot[bot] in #128
  • Adds thinking support to multimodal parameters
  • Support domain models like roleplay(qwen-character), translation, deep research, data mining
  • Support change strategy for web search plugin
  • Obsolete QwenCompletion and DeepSeekCompletion overloads

Full Changelog: v0.8.0...v0.9.0

v0.8.0

08 Jul 06:42
32d51c8

Choose a tag to compare

BREAKING CHANGES

Shortcut methods for LLama2 and BaiChuan LLM are no longer provided, use GetTextCompletionAsync() and specify model name to continue use.

Highlights

TTS support

Usage:

using var tts = await dashScopeClient.CreateSpeechSynthesizerSocketSessionAsync("cosyvoice-v2");
var taskId = await tts.RunTaskAsync(
    new SpeechSynthesizerParameters { Voice = "longxiaochun_v2", Format = "mp3" });
await tts.ContinueTaskAsync(taskId, "博客园");
await tts.ContinueTaskAsync(taskId, "代码改变世界");
await tts.FinishTaskAsync(taskId);
var file = new FileInfo("tts.mp3");
using var stream = file.OpenWrite();
await foreach (var b in tts.GetAudioAsync())
{
    stream.WriteByte(b);
}

More text generation parameters

Support TranslationOptions and SearchOptions in text completion.

Support Logprobs in text completion.

What's Changed

Full Changelog: v0.7.6...v0.8.0

v0.7.6

11 Jun 16:43
f14fcff

Choose a tag to compare

What's Changed

  • fix: require system.text.json 8.0 for compatibility issue by @ikesnowy in #101

Full Changelog: v0.7.5...v0.7.6

v0.7.5

09 Jun 05:59
e188f5a

Choose a tag to compare

QWen3 Support

Use TextGenerationParameter.EnableThinking to toggle reasoning on qwen3

What's Changed

Full Changelog: v0.7.4...v0.7.5

v0.7.4

07 Jun 17:31
b20cadf

Choose a tag to compare

BREAKING CHANGES

  • The minimal framework requirement has dropped to net6.0, there might be framework-related issues, but should be ok for most of times, just a reminder if wired bug happens.
  • Cnblogs.DashScope.Sdk no longer depends on JsonSchema.Net.Generation, you may manually install it or use GetJsonSchemaAsNode() if you are in net9.0(docs).

What's Changed

Full Changelog: v0.7.3...v0.7.4

v0.7.3

12 May 03:07
e95ef44

Choose a tag to compare

What's Changed

  • Update to M.E.AI 9.4.3-preview.1.25230.7 by @jozkee in #91

Full Changelog: v0.7.2...v0.7.3

v0.7.2

09 Apr 08:46
48f979f

Choose a tag to compare

What's Changed

  • fix: mark snapshot generator unpackable by @ikesnowy in #88
  • Update to M.E.AI 9.4.0-preview.1.25207.5 by @jozkee in #89

New Contributors

Full Changelog: v0.7.1...v0.7.2

v0.7.1

20 Mar 04:30
7098634

Choose a tag to compare

What's Changed

  • feat: add application call sample by @ikesnowy in #85
  • feat: allow setting workspace id per application request by @ikesnowy in #86
  • feat: support reasoning models by @ikesnowy in #87

Full Changelog: v0.7.0...v0.7.1

v0.7.0

17 Mar 08:55
3420472

Choose a tag to compare

What's Changed

Full Changelog: v0.6.1...v0.7.0

v0.6.1

08 Mar 13:41
630119d

Choose a tag to compare

What's Changed

Full Changelog: v0.6.0...v0.6.1