Chat completion with your own data #6016
-
Hi, I have been following the example to use your own data within Azure OpenAI (https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/use-your-data?tabs=ai-search). Following this I uploaded a number of markdown files which creates an index for me. Is it possible to configure the Kernel/chat completion (C#) to use the search index created from my data? Thanks, Euan |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 15 replies
-
@eeadie Yes, here is an example of configuring Kernel and Chat Completion service to use with your data: |
Beta Was this translation helpful? Give feedback.
-
Is the endpoint of azure serach on azure. You can found it in azure portal
…________________________________
Da: Euan Eadie ***@***.***>
Inviato: lunedì 29 aprile 2024 11:14
A: microsoft/semantic-kernel ***@***.***>
Cc: Ugo Castellani ***@***.***>; Comment ***@***.***>
Oggetto: Re: [microsoft/semantic-kernel] Chat completion with your own data (Discussion #6016)
@dmytrostruk<https://github.com/dmytrostruk> thanks this looks useful. I have created an Azure AI search index, however I can't seem to find how to get the DataSourceEndpoint. Would you be able to point me towards any documentation that details how to get the endpont once setup?
—
Reply to this email directly, view it on GitHub<#6016 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AA77TTU7EFSWFQBS3AY5PFLY7YFPDAVCNFSM6AAAAABG22SS76VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TENRQGQ2TM>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
try tu use .AddAzureOpenAIChatCompletion(config: completionWithDataConfig) where in completionWithDataConfig you can configure all the values you try to use before. |
Beta Was this translation helpful? Give feedback.
@eeadie @ErikSkaarup We added a new way how to specify
with data
configuration, here is an example:https://github.com/microsoft/semantic-kernel/blob/3fdb1bb358d8acdf0c705d683e9330d93b3e8ff1/dotnet/samples/Concepts/ChatCompletion/AzureOpenAIWithData_ChatCompletion.cs
It should be released this week.