Open LittleLittleCloud opened 1 week ago
Sample 4 does not have "using Microsoft.SemanticKernel.Connectors.OpenAI" these are using statements in sample 4
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.SemanticKernel;
using Microsoft.SemanticKernel.ChatCompletion;
For this I do not think you are not on latest
The LLM invokes the funciton call before I even start asking my age when I use gpt-3.5-turbo
This is OpenAI model specific thing, if we add a persona like
chatHistory.AddSystemMessage("Respond only to requested information. If the user says hi just respond greeting do not tell extra information");
It responds only greeting unless otherwise we ask age, but the main goal of this sample is to match Stephen's video not beyond that. Hence, I will update the prompt to the same prompt pattern of Stephen My name is Alice. How old am I?
https://youtu.be/jrNfKeGSuCg?t=553
Naïve guess: the reason it responds age when name is provided because its calling behavior is set to AutoInvokeKernelFunctions
.
Sample 1
Spell error in initilization![image](https://github.com/dotnet/ai-samples/assets/16876986/469ad07a-9167-40f8-9d89-8c3487f40f6b)
Sample 2
spell error: compilation -> completion![image](https://github.com/dotnet/ai-samples/assets/16876986/7b0bb8b0-66f2-4197-9ea7-956189f0e3ca)
spell error: whilw -> while![image](https://github.com/dotnet/ai-samples/assets/16876986/1852d440-47d8-4e85-b04e-c11ebffd4819)
resonse -> response![image](https://github.com/dotnet/ai-samples/assets/16876986/c3492653-c562-416e-8537-e10e5c412610)
Sample 3
Sample 4
Sample 5
Directoty -> Directory![image](https://github.com/dotnet/ai-samples/assets/16876986/bec9df4e-3488-4c6a-8d45-d93dd7ae3c28)
Whitespace missing and --prerelease tag is missing![image](https://github.com/dotnet/ai-samples/assets/16876986/fc2c747f-fa68-496d-b14d-5ed92e46b04d)
The highlighted using statement has already been added in previous steps![image](https://github.com/dotnet/ai-samples/assets/16876986/942071f0-1d11-4fe9-b53f-e433f7574215)
Need to disable SKEXP warning between step 4 and 5![image](https://github.com/dotnet/ai-samples/assets/16876986/1fb7f087-6213-4f85-8978-e8efd3660d47)
Sample 6
Maksure -> make sure![image](https://github.com/dotnet/ai-samples/assets/16876986/5b8c88dd-90ad-4ee1-b50e-e8c15a177f73)
missing suppress skexp warning in source![image](https://github.com/dotnet/ai-samples/assets/16876986/34ee8238-b1fe-4629-8cd1-1eb50ddc74f7)
missing Kernel after Semantic![image](https://github.com/dotnet/ai-samples/assets/16876986/f990347b-c285-4571-8650-379c85d23248)
Sample 7
The Complete sample project section is still for Sample 6![image](https://github.com/dotnet/ai-samples/assets/16876986/eded714d-eb35-40af-8ebc-c9fd961f0a85)
Sevice -> Service![image](https://github.com/dotnet/ai-samples/assets/16876986/19d0bf6d-d842-484e-8aa9-1295346740d6)
kerel -> kernel![image](https://github.com/dotnet/ai-samples/assets/16876986/2aeee5fc-8112-4a02-9e81-838e4bf7d1f0)
Miss semi-colomn at the end of code snippet![image](https://github.com/dotnet/ai-samples/assets/16876986/487f9001-4e55-49b8-89bf-aff29c39706e)
Not clear on how to invoke web api from console. Do we miss the setup for openapi page?![image](https://github.com/dotnet/ai-samples/assets/16876986/9f0c075e-e614-4e62-8d81-eb4b8b0c1e44)