pnp / blog

holds all blogs published on the Microsoft 365 Platform Community blog
https://pnp.github.io/blog
MIT License
69 stars 101 forks source link

How to use Azure OpenAI with your data in SharePoint libraries #1672

Open utterances-bot opened 9 months ago

utterances-bot commented 9 months ago

How to use Azure OpenAI with your data in SharePoint libraries

tl;dr We can index documents from a SharePoint library with Azure Cognitive Search and then use an Azure OpenAI model to query the data.

https://pnp.github.io/blog/post/how-to-use-azure_openai-with-data-in-your-sharepoint-libraries/

spoofan commented 9 months ago

There is currently a known issue with delegated permissions. Use application permissions instead and specify client secret in the request for the data source creation.

For detailed information please refer to: https://learn.microsoft.com/en-us/azure/search/search-howto-index-sharepoint-online

Ali-Haider91 commented 8 months ago

when connecting your openAI playground add your data through the AI search service by selecting all the content fields facing that error "You cannot use the same column data in multiple fields" https://imgur.com/a/pH8klHo

guide me solution?

spoofan commented 8 months ago

when connecting your openAI playground add your data through the AI search service by selecting all the content fields facing that error "You cannot use the same column data in multiple fields" https://imgur.com/a/pH8klHo

guide me solution?

Set it up like this: image

LowCodeRev commented 8 months ago

I've followed this and other similar guides and keep running into this error when I try to test my custom connector: "Unrecognized request arguments supplied: dataSources"

tdashworth commented 5 months ago

Great article! I am struggling to configure the indexer schedule. Any ideas?