Releases: cnblogs/dashscope-sdk
Releases · cnblogs/dashscope-sdk
v0.9.0
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
QwenCompletionandDeepSeekCompletionoverloads
Full Changelog: v0.8.0...v0.9.0
v0.8.0
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
- docs: add sdk issue template by @ikesnowy in #102
- feat: support cosy voice by @ikesnowy in #106
- feat: remove baichuan and llama2 methods by @ikesnowy in #108
- feat: add text generation parameters by @ikesnowy in #109
- feat: update readme doc and samples by @ikesnowy in #110
Full Changelog: v0.7.6...v0.8.0
v0.7.6
v0.7.5
v0.7.4
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.Sdkno longer depends onJsonSchema.Net.Generation, you may manually install it or useGetJsonSchemaAsNode()if you are innet9.0(docs).
What's Changed
- chore: upgrade json schema by @ikesnowy in #92
- build(deps): Update to M.E.AI 9.5.0-preview by @jozkee in #93
- chore: upgrade msai 9.5.0 by @ikesnowy in #94
- refactor: make library compatible with net6 by @ikesnowy in #96
Full Changelog: v0.7.3...v0.7.4