Тёмный

CODE Presents: Intro to AI with MS Semantic Kernel 

CODE Magazine
Подписаться 3,3 тыс.
Просмотров 1,7 тыс.
50% 1

Наука

Опубликовано:

 

7 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 10   
@asdasdaa7063
@asdasdaa7063 8 месяцев назад
You have hands down the best video in regards to Semantic Kernel. I pray you do more in depth, long videos like this one!
@Codemag
@Codemag 7 месяцев назад
Much appreciated!
@SebastianLouisSG
@SebastianLouisSG 5 месяцев назад
Hi Chat interface is a single entry point. So how do I determine which plugin to call? For example I have two functions 1 semantic function and one native function When I type a query how the program decide which one to call? Is it via the skprompt definition ?
@MikeYeager2
@MikeYeager2 5 месяцев назад
Hi @SebastianLouisSG. You can call the prompt manually if you like. var semanticFunctions = kernel.ImportPluginFromPromptDirectory(functionDirectory); var excuseResult = await kernel.InvokeAsync(semanticFunctions["Excuses"], new KernelArguments { ["input"] = "my cat" }); But what works best, especially with GPT-4 is automatic function calling. OpenAIPromptExecutionSettings settings = new() { ToolCallBehavior = ToolCallBehavior.AutoInvokeKernelFunctions }; var result = await kernel.InvokePromptAsync($"Question: {question}", new(settings)); With this setting, the LLM will use the descriptions of the functions you've loaded to decide if is should call one or more of them and it will do it automatically for you.
@SebastianLouisSG
@SebastianLouisSG 5 месяцев назад
@@MikeYeager2 thanks 👍
@pauldurrant7897
@pauldurrant7897 8 месяцев назад
i did some work with AWS Alexa Skills builder looks very simular
@ziohalex
@ziohalex 8 месяцев назад
Hi, thanks for the presentation. Very interesting. Can you share the code presented?
@Codemag
@Codemag 7 месяцев назад
Sorry for the delay with the holidays: Shoot us an email at info(at)codemag(dot)com
@rupenanjaria
@rupenanjaria 7 месяцев назад
Hi, it's nice to learn here. However, it seems we can not try this on our own until we have paid subscription to either OpenAI or Azure AI service. Correct?
@MikeYeager2
@MikeYeager2 5 месяцев назад
I believe OpenAI has a free subscription level you can use.
Далее
Semantic Kernel: Plugins have landed  | Studio17
11:01
.NET and C# are in trouble. Here is what I'd do.
10:57
ПРИКОЛЫ НАД БРАТОМ #shorts
00:23
Просмотров 3,1 млн
Новый хит Люси Чеботиной 😍
00:33
Turns out REST APIs weren't the answer (and that's OK!)
10:38
HTTP Polling vs SSE vs WebSocket vs WebHooks
22:22
Просмотров 6 тыс.
Semantic Kernel in 7 mins - EASY Tutorial
7:40
Просмотров 5 тыс.
Introduction to Memories in the Semantic Kernel SDK
20:47
Беспроводной пылесос DREAME Z20
1:00
What’s the best iPhone or Android?
0:48
Просмотров 2,8 млн
Беспроводной пылесос DREAME Z20
1:00