AzureExtensionsContext is not populated with document info when called via the API
Sean Walsh
50
Reputation points
When I use Azure Data Studio, I can interact with my custom data set and the query returns the AzureExtensionsContext object populated with the appropriate document identification details, as a "tool" role message.
Screenshot of the chat:
If I inspect that content, I can see the filePath being correctly populated with the file Id (a Guid + PageNumber):
I copy the C# code into my app, and run it. I get the following:
I can see the Content populated in the AzureExtensionsContext, but when I inspect that JSON, the filePath is null:
How do I get the API call to include the file information?
Sign in to answer