Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public async Task RunAsync(IDashScopeClient client)
}
}

internal class ReceiptModel()
internal class ReceiptModel
{
[JsonPropertyName("乘车日期")]
public string? Date { get; init; }
Expand Down
4 changes: 2 additions & 2 deletions src/Cnblogs.DashScope.AI/DashScopeChatClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ private static readonly TextGenerationParameters
/// <param name="modelId"></param>
public DashScopeChatClient(IDashScopeClient dashScopeClient, string modelId)
{
ArgumentNullException.ThrowIfNull(dashScopeClient, nameof(dashScopeClient));
ArgumentNullException.ThrowIfNull(modelId, nameof(modelId));
ArgumentNullException.ThrowIfNull(dashScopeClient);
ArgumentNullException.ThrowIfNull(modelId);

_dashScopeClient = dashScopeClient;
_modelId = modelId;
Expand Down
4 changes: 2 additions & 2 deletions src/Cnblogs.DashScope.AI/DashScopeTextEmbeddingGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ public sealed class DashScopeTextEmbeddingGenerator
/// <param name="dimensions">The number of dimensions produced by the generator.</param>
public DashScopeTextEmbeddingGenerator(IDashScopeClient dashScopeClient, string modelId, int? dimensions = null)
{
ArgumentNullException.ThrowIfNull(dashScopeClient, nameof(dashScopeClient));
ArgumentNullException.ThrowIfNull(modelId, nameof(modelId));
ArgumentNullException.ThrowIfNull(dashScopeClient);
ArgumentNullException.ThrowIfNull(modelId);

_dashScopeClient = dashScopeClient;
_modelId = modelId;
Expand Down
17 changes: 0 additions & 17 deletions src/Cnblogs.DashScope.Sdk/DeepSeek/DeepSeekLlm.cs

This file was deleted.

14 changes: 0 additions & 14 deletions src/Cnblogs.DashScope.Sdk/DeepSeek/DeepSeekLlmName.cs

This file was deleted.

156 changes: 0 additions & 156 deletions src/Cnblogs.DashScope.Sdk/DeepSeek/DeepSeekTextGenerationApi.cs

This file was deleted.

142 changes: 0 additions & 142 deletions src/Cnblogs.DashScope.Sdk/QWen/QWenLlm.cs

This file was deleted.

Loading