Azure-Samples / chat-with-your-data-solution-accelerator

A Solution Accelerator for the RAG pattern running in Azure, using Azure AI Search for retrieval and Azure OpenAI large language models to power ChatGPT-style and Q&A experiences. This includes most common requirements and best practices.
https://azure.microsoft.com/products/search
MIT License
624 stars 294 forks source link

Semantic Kernel plugin #320

Closed ross-p-smith closed 2 weeks ago

ross-p-smith commented 3 months ago

Motivation

To demonstrate how and when to use semantic kernel as an AI agent.

How would you feel if this feature request was implemented?

semantics

Requirements

Tasks

To be filled in by the engineer picking up the issue

reechamishra commented 2 months ago

@gmndrg Hi Gia ! Can you please elaborate the requirements and more details to this task ?

gmndrg commented 2 months ago

@mrcarter8 Can you please help @reechamishra who will be working on this feature, with the requirements for the Semantic Kernel plugin? Thank you so much!

cpich3g commented 2 months ago

@reechamishra The idea is to build an AzureAISearch plugin using SK and then leverage it similar to the vector search plugin build for CosmosDB. There are few samples available that are being used as base for this (https://github.com/Azure/azure-search-vector-samples/blob/main/demo-python/readme.md). Since SK has released a new version for their SDK, working on building this using that.

mirojs commented 2 months ago

@ross-p-smith While developing this nice feature, it would be even nicer to keep an eye on a simple way of including TaskWeaver as well. Thanks.

reechamishra commented 1 month ago

@mrcarter8 Can you help us with requirements on this issue ? We would like to pick this one to work on next sprint if we get more details for engineers to work on .

cecheta commented 1 month ago

The first pull request to add Semantic Kernel to the repository has been merged: #758

For the QuestionAnswerTool (RAG), LangChain is still currently being used at the moment. Using Semantic Kernel memory for RAG does not seem to be suitable for this particular use-case because:

For now, we will look to use the Azure AI Search SDK to perform the retrieval of documents, however we can use Semantic Kernel to call the LLM after the documents have been retrieved.

cecheta commented 3 weeks ago

Moving to "Planned" until work to remove LangChain from tools has been implemented as part of #323.

gaurarpit commented 2 weeks ago

I think this is done. Can we move it to "Done" @superhindupur ?

gaurarpit commented 2 weeks ago

All associated tasks have been closed.

superhindupur commented 2 weeks ago

I think this is done. Can we move it to "Done" @superhindupur ?

Yes!