You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var plan = await planner.CreatePlanAsync(kernel, "get the current date and time"); throws the error below:
System.Text.Json.JsonException HResult=0x80131500 Message=The JSON value could not be converted to System.String. Path: $ | LineNumber: 0 | BytePositionInLine: 1. Source=System.Text.Json StackTrace: at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, Utf8JsonReader& reader, Exception ex) at System.Text.Json.Serialization.JsonConverter1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan1 utf8Json, JsonTypeInfo1 jsonTypeInfo, Nullable1 actualByteCount) at System.Text.Json.JsonSerializer.Deserialize[TValue](JsonElement element, JsonSerializerOptions options) at Microsoft.SemanticKernel.Planning.Handlebars.KernelParameterMetadataExtensions.ParseJsonSchema(KernelParameterMetadata parameter) at Microsoft.SemanticKernel.Planning.Handlebars.HandlebarsPlanner.SetComplexTypeDefinition(KernelParameterMetadata parameter, HashSet1 complexParameterTypes, Dictionary2 complexParameterSchemas) at Microsoft.SemanticKernel.Planning.Handlebars.HandlebarsPlanner.GetAvailableFunctionsManual(IEnumerable1 availableFunctions, HashSet1& complexParameterTypes, Dictionary2& complexParameterSchemas)
at Microsoft.SemanticKernel.Planning.Handlebars.HandlebarsPlanner.d__5.MoveNext()
at Microsoft.SemanticKernel.Planning.PlannerInstrumentation.d__4`2.MoveNext()
at phi3vision_aiconsole.Program.d__1.MoveNext() in O:\Windows For Programming\Projects\Visual Studio\Console\Ai\phi3vision_aiconsole\Program.cs:line 87
at phi3vision_aiconsole.Program.
d__0.MoveNext() in O:\Windows For Programming\Projects\Visual Studio\Console\Ai\phi3vision_aiconsole\Program.cs:line 36
This exception was originally thrown at this call stack:
[External Code]
Inner Exception 1:
InvalidOperationException: Cannot get the value of a token type 'StartArray' as a string.
`
The text was updated successfully, but these errors were encountered:
var plan = await planner.CreatePlanAsync(kernel, "get the current date and time"); throws the error below:
d__0.MoveNext() in O:\Windows For Programming\Projects\Visual Studio\Console\Ai\phi3vision_aiconsole\Program.cs:line 36System.Text.Json.JsonException HResult=0x80131500 Message=The JSON value could not be converted to System.String. Path: $ | LineNumber: 0 | BytePositionInLine: 1. Source=System.Text.Json StackTrace: at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, Utf8JsonReader& reader, Exception ex) at System.Text.Json.Serialization.JsonConverter
1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan
1 utf8Json, JsonTypeInfo
1 jsonTypeInfo, Nullable1 actualByteCount) at System.Text.Json.JsonSerializer.Deserialize[TValue](JsonElement element, JsonSerializerOptions options) at Microsoft.SemanticKernel.Planning.Handlebars.KernelParameterMetadataExtensions.ParseJsonSchema(KernelParameterMetadata parameter) at Microsoft.SemanticKernel.Planning.Handlebars.HandlebarsPlanner.SetComplexTypeDefinition(KernelParameterMetadata parameter, HashSet
1 complexParameterTypes, Dictionary2 complexParameterSchemas) at Microsoft.SemanticKernel.Planning.Handlebars.HandlebarsPlanner.GetAvailableFunctionsManual(IEnumerable
1 availableFunctions, HashSet1& complexParameterTypes, Dictionary
2& complexParameterSchemas)at Microsoft.SemanticKernel.Planning.Handlebars.HandlebarsPlanner.d__5.MoveNext()
at Microsoft.SemanticKernel.Planning.PlannerInstrumentation.d__4`2.MoveNext()
at phi3vision_aiconsole.Program.d__1.MoveNext() in O:\Windows For Programming\Projects\Visual Studio\Console\Ai\phi3vision_aiconsole\Program.cs:line 87
at phi3vision_aiconsole.Program.
This exception was originally thrown at this call stack:
[External Code]
Inner Exception 1:
InvalidOperationException: Cannot get the value of a token type 'StartArray' as a string.
`
The text was updated successfully, but these errors were encountered: