FiveRandomWords

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
using var client = GetAuthenticatedChatClient();

var response = await client.GetResponseAsync(
    chatMessages: [new ChatMessage(ChatRole.User, "Generate 5 random words.")],
    new ChatOptions
    {
        ModelId = ModelVariant2.Claude37SonnetLatest.ToValueString(),
    });

Console.WriteLine(response.ToString());