Forum Discussion
sanjaym12089
Dec 08, 2023Copper Contributor
Not getting file path and title in citations in Azure Open AI service
We have developed chat bot for custom data using Azure Open AI service. We are using SharePoint Document library as the data source. We configured data source, index and indexers as mentioned in Micr...
adam-laketree
Dec 13, 2023Copper Contributor
I had the same issue.
I found when the fields in the index were lowercase it mapped properly.
I found when the fields in the index were lowercase it mapped properly.
sanjaym12089
Dec 21, 2023Copper Contributor
Hi adam-laketree,
Thanks for your reply.
Actually I used field names in lower case only while creating index, still it is not working:
Below is the body I used to create index:
{
"name" : "sharepoint-index",
"fields": [
{ "name": "id", "type": "Edm.String", "key": true, "searchable": false },
{ "name": "metadata_spo_item_name", "type": "Edm.String", "key": false, "searchable": true },
{ "name": "metadata_spo_item_path", "type": "Edm.String", "key": false, "searchable": true },
{ "name": "metadata_spo_item_content_type", "type": "Edm.String", "key": false, "searchable": false },
{ "name": "metadata_spo_item_last_modified", "type": "Edm.DateTimeOffset", "key": false, "searchable": false },
{ "name": "metadata_spo_item_size", "type": "Edm.Int64", "key": false, "searchable": false },
{ "name": "keyphrases", "type": "Collection(Edm.String)", "searchable": true, "filterable": true },
{ "name": "content", "type": "Edm.String", "searchable": true, "filterable": false, "sortable": false, "facetable": false }
]
}
Can you please share body which you have used while creating index. It would be helpful!
Can you please share body which you have used while creating index. It would be helpful!