Closed
Description
In the sample code of this section there is a small typo error
just change the word move to movie in this part of the example:
// add the search results to the conversation
await foreach (var result in searchResults.Results)
{
conversation.Add(new ChatMessage(ChatRole.User, $"This movie is playing nearby: {result.Record.Title} and it's about {result.Record.Description}"));
}
URL of the section:
https://github.com/microsoft/Generative-AI-for-beginners-dotnet/blob/main/03-CoreGenerativeAITechniques/02-retrieval-augmented-generation.md#generating-the-response