Skip to content

Commit

Permalink
Merge pull request #19 from cnblogs/ikesnowy-patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
ikesnowy committed Mar 18, 2024
2 parents a191cfa + c2c9b51 commit 960c161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dotnet add package Cnblogs.SemanticKernel.Connectors.DashScope
using Microsoft.SemanticKernel;

var builder = Kernel.CreateBuilder();
builder.Services.AddDashScopeChatCompletion("your-api-key", "qwen-max");
builder.Services.AddLogging().AddDashScopeChatCompletion("your-api-key", "qwen-max");
var kernel = builder.Build();

var prompt = "<message role=\"user\">Tell me about the Cnblogs</message>";
Expand Down

0 comments on commit 960c161

Please sign in to comment.