AI-in-a-Box leverages the expertise of Microsoft across the globe to develop and provide AI and ML solutions to the technical community. Our intent is to present a curated collection of solution accelerators that can help engineers establish their AI/ML environments and solutions rapidly and with minimal friction.
This pull request primarily introduces the use of Semantic Kernel Auto Function Calling using the gpt4-turbo, gpt-3.5-turbo model in the Semantic Kernel Bot. The changes also include updates to package versions and the addition of a new configuration setting.
gen-ai/semantic-kernel-bot-in-a-box/src/SemanticKernelBot.csproj: Several package versions are updated including Azure.Identity, HtmlAgilityPack, Microsoft.AspNetCore.Mvc.NewtonsoftJson, Microsoft.Bot.Builder.Azure, Microsoft.Bot.Builder.Dialogs, Microsoft.Bot.Builder.Integration.AspNet.Core, Microsoft.Data.SqlClient, Microsoft.Graph, Microsoft.Graph.Core, Microsoft.SemanticKernel, Microsoft.SemanticKernel.Planners.Handlebars, and Microsoft.SemanticKernel.Planners.OpenAI. A new package Azure.Security.KeyVault.Keys is added and System.Net.Http is updated.
This pull request primarily introduces the use of Semantic Kernel Auto Function Calling using the gpt4-turbo, gpt-3.5-turbo model in the Semantic Kernel Bot. The changes also include updates to package versions and the addition of a new configuration setting.
Here are the most important changes:
Semantic Kernel Auto Function Calling:
gen-ai/semantic-kernel-bot-in-a-box/README.md
: The flow of messages is updated to include the use of Semantic Kernel Auto Function Calling with gpt4-turbo, gpt-3.5-turbo model.gen-ai/semantic-kernel-bot-in-a-box/src/Bots/SemanticKernelBot.cs
: A new boolean_useAutoFunctionCall
is introduced in theSemanticKernelBot
class. This variable is used to control the use of auto function calling in the bot. Changes are made in theProcessMessage
method to handle this new setting. [1] [2] [3] [4] [5]Configuration Settings:
gen-ai/semantic-kernel-bot-in-a-box/src/appsettings.example.json
: TheUSE_STEPWISE_PLANNER
setting is now set tofalse
by default and a new settingUSE_AUTOFUNCTION_CALL
is introduced and set totrue
.Package Updates:
gen-ai/semantic-kernel-bot-in-a-box/src/SemanticKernelBot.csproj
: Several package versions are updated includingAzure.Identity
,HtmlAgilityPack
,Microsoft.AspNetCore.Mvc.NewtonsoftJson
,Microsoft.Bot.Builder.Azure
,Microsoft.Bot.Builder.Dialogs
,Microsoft.Bot.Builder.Integration.AspNet.Core
,Microsoft.Data.SqlClient
,Microsoft.Graph
,Microsoft.Graph.Core
,Microsoft.SemanticKernel
,Microsoft.SemanticKernel.Planners.Handlebars
, andMicrosoft.SemanticKernel.Planners.OpenAI
. A new packageAzure.Security.KeyVault.Keys
is added andSystem.Net.Http
is updated.