[ASSISTANT]: The image depicts a futuristic humanoid robot standing in an alien landscape. The robot has a detailed, intricate design with visible mechanical components and a spacesuit-like exterior. In the background, a colorful cosmic scene with stars, a luminous nebula, and a distant planet can be seen, creating a sci-fi atmosphere.
Last active
September 22, 2024 08:55
-
-
Save vman/04d46f62b4d4bf4b08cc5e0ae26441c6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var chatClient = openAiClient.GetChatClient(deploymentName); | |
List<ChatMessage> messages = [ | |
new UserChatMessage( | |
ChatMessageContentPart.CreateImageMessageContentPart(BinaryData.FromStream(File.OpenRead("C:\\images\\ROBOT ASTRONAUT .png")), "image/jpg" , | |
ImageChatMessageContentPartDetail.High) | |
), | |
new UserChatMessage("What is in this image?") | |
]; | |
ChatCompletion chatCompletion = chatClient.CompleteChat(messages); | |
Console.WriteLine($"[ASSISTANT]: {chatCompletion}"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment