Unable to generate bot response. Details: Error: 400: => Runtime error: Function `ChatSkill.ExtractUserMemories` execution failed. Microsoft.SemanticKernel.AI.AIException: Access denied: The request is not authorized, HTTP status: 403
Describe the bug
When I open the chatbot and type to chat, I get an error message: Unable to generate bot response. Details: Error: 400: => Runtime error: Function ChatSkill.ExtractUserMemories execution failed. Microsoft.SemanticKernel.AI.AIException: Access denied: The request is not authorized, HTTP status: 403
I used postman to try is normal
Screenshots
my chat bot screen:
my console screen:
used the postman to try to call API
Desktop (please complete the following information):
- OS: Windows 10
@Julian-Chou can you pull the latest and try this again.
@Julian-Chou - do you have AI endpoint and Key set up in Embeddings section in appsettings.json? Key can alternatively be set using dotnet secrets as well. Also, make sure you have access to the selected model.
@hathind-ms I use OpenAI as AI completion service, it can ignore Endpoint value. My json file is below, please let me know if I misunderstood you, thanks.
@hathind-ms I use OpenAI as AI completion service, it can ignore Endpoint value. My json file is below, please let me know if I misunderstood you, thanks.
Hello Julian, you will have to use an embedding model for this. The one you have gtp-3.5-turbo is a completion model.
