Open bpw320 opened 2 weeks ago
turns out I used an index for UrlFieldName in DataSourceFieldMappings caused the error, my other question is, I have a bunch of indexes, how do I get their values? ChatCitation only has a few properties, Title, Chunkid, FilePath.etc. Thanks
@bpw320 Thanks for your question! Could you please specify what do you mean by index values?
If you are interested in getting actual property values from Azure AI Search index, I'm not sure if it's possible to receive it directly from ChatCitation
, but it should be possible to get an index data by using Azure AI Search directly in combination with ChatCitation.ChunkId
. Please let me know if that helps.
Thanks!
Thanks for this.
in your example:
private static IReadOnlyList GetCitations(ChatMessageContent chatMessageContent)
{
var message = chatMessageContent.InnerContent as OpenAI.Chat.ChatCompletion;
}
return an error: Invalid URI: The format of the URI could not be determined
I am not sure if it is a bug or not, but it did not work
Thanks