Closed rnpramasamy closed 1 year ago
Hello @rnpramasamy, thank you for your interest in the project.
I see you implemented your own search document model SharePointDoc. Is that using the preview SharePoint Indexer? https://learn.microsoft.com/en-us/azure/search/search-howto-index-sharepoint-online
Also, have you been able to run the bot with the DEBUG flag enabled? Any insights into the planners thought process should be helpful in debugging the issue.
Closing this issue due to inactivity - please feel free to reopen if needed!
I updated SearchPlugin to use my Cognitive Search Index. When I ran and tested this bot, I was getting "Value cannot be null. (Parameter 'input')" error.
at System.Text.RegularExpressions.ThrowHelper.ThrowArgumentNullException(ExceptionArgument arg) at System.Text.RegularExpressions.Regex.Match(String input) at Microsoft.SemanticKernel.Planners.StepwisePlanner.ParseResult(String input) at Microsoft.SemanticKernel.Planners.StepwisePlanner.<>cDisplayClass2_0.<gGetNextStepAsync|0>d.MoveNext()
at Microsoft.SemanticKernel.Planners.StepwisePlanner.d 2.MoveNext()
at Microsoft.SemanticKernel.NativeFunction.<>c.<b__35_4>d.MoveNext()
at Microsoft.SemanticKernel.NativeFunction.d 18.MoveNext()
at Microsoft.SemanticKernel.InstrumentedSKFunction.d21.MoveNext()
at Microsoft.SemanticKernel.InstrumentedSKFunction.d 10.MoveNext()
at Microsoft.SemanticKernel.Planning.Plan.d47.MoveNext()
at Microsoft.SemanticKernel.Kernel.d 21.MoveNext()
at Microsoft.BotBuilderSamples.SKBot.d17.MoveNext() in E:\GitHub\semantic-kernel-bot-in-a-box\src\Bots\SKBot.cs:line 123
at Microsoft.BotBuilderSamples.StateManagementBot.d 5.MoveNext() in E:\GitHub\semantic-kernel-bot-in-a-box\src\Bots\StateManagementBot.cs:line 51
at Microsoft.Bot.Builder.ActivityHandler.d0.MoveNext()
at Microsoft.BotBuilderSamples.StateManagementBot.d 3.MoveNext() in E:\GitHub\semantic-kernel-bot-in-a-box\src\Bots\StateManagementBot.cs:line 28
at Microsoft.Bot.Builder.MiddlewareSet.d3.MoveNext()
at Microsoft.Bot.Builder.BotAdapter.d 23.MoveNext()
My updated code:
Please help me to fix this issue.