File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -342,12 +342,12 @@ ChatCompletion completion = client.CompleteChat(messages, options);
342342
343343using JsonDocument structuredJson = JsonDocument .Parse (completion .Content [0].Text );
344344
345- Console .WriteLine ($" Final answer: {structuredJson .RootElement .GetProperty (" final_answer" ). GetString () }" );
345+ Console .WriteLine ($" Final answer: {structuredJson .RootElement .GetProperty (" final_answer" )}" );
346346Console .WriteLine (" Reasoning steps:" );
347347
348348foreach (JsonElement stepElement in structuredJson .RootElement .GetProperty (" steps" ).EnumerateArray ())
349349{
350- Console .WriteLine ($" - Explanation: {stepElement .GetProperty (" explanation" ). GetString () }" );
350+ Console .WriteLine ($" - Explanation: {stepElement .GetProperty (" explanation" )}" );
351351 Console .WriteLine ($" Output: {stepElement .GetProperty (" output" )}" );
352352}
353353```
You can’t perform that action at this time.
0 commit comments