This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
Sample08_UseYourOwnData always return "information is not available"
Describe the bug
I created a Chat playground with ChatGPT-4 and my own data using Azure AI Studio. It works perfectly in Azure AI Studio and also as a web sample application (which is written in Python).
However, when called using the example at https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/openai/Azure.AI.OpenAI/tests/Samples/Sample08_UseYourOwnData.cs, it always returns the phrase: "assistant: The requested information is not available in the retrieved data. Please try another query or topic." even though message.AzureExtensionsContext.Messages contains the references. It also doesn't work from the C# example created by Azure AI Studio.
I'm using package Azure.AI.OpenAI --version 1.0.0-beta.8. All login data and references seem to be correct.
Expected behavior
Same result of Chat playground or web sample application made from Azure AI Studio.
Actual behavior
always returns the phrase: "assistant: The requested information is not available in the retrieved data. Please try another query or topic."
Sample08_UseYourOwnData always return "information is not available"
Describe the bug
I created a Chat playground with ChatGPT-4 and my own data using Azure AI Studio. It works perfectly in Azure AI Studio and also as a web sample application (which is written in Python). However, when called using the example at https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/openai/Azure.AI.OpenAI/tests/Samples/Sample08_UseYourOwnData.cs, it always returns the phrase: "assistant: The requested information is not available in the retrieved data. Please try another query or topic." even though message.AzureExtensionsContext.Messages contains the references. It also doesn't work from the C# example created by Azure AI Studio. I'm using package Azure.AI.OpenAI --version 1.0.0-beta.8. All login data and references seem to be correct.
Expected behavior
Same result of Chat playground or web sample application made from Azure AI Studio.
Actual behavior
always returns the phrase: "assistant: The requested information is not available in the retrieved data. Please try another query or topic."
Reproduction Steps
Create a Chat playground on Azure AI Studio with "Add Your Data", make it work, try the c# sample https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/openai/Azure.AI.OpenAI/tests/Samples/Sample08_UseYourOwnData.cs or the c# sample from the Azure AI chat playground.
Environment
Azure.AI.OpenAI --version 1.0.0-beta.8. .net core 6 Visual studio Console application only to test result