Response of MemoryWebClient.Ask is different from REST API #845
-
I have a deployed instance in Azure, with some imported data, when I call the POST ASK with following format: {
"index": "default",
"question": "Who is John Snow?"
} And if I call it with MemoryWebClient with the same API URL & Key in the following way: var _kernelMemory = new MemoryWebClient(kernelMemoryConfig.BaseAddress, apiKey: kernelMemoryConfig.ApiKey);
var answer = await _kernelMemory.AskAsync(
query,
index: "default",
minRelevance: 0.0
); There result are different, the REST API result is better and correct but not the MemoryWebClient! Did I something wrong? |
Beta Was this translation helpful? Give feedback.
Answered by
imranshams
Oct 22, 2024
Replies: 1 comment 5 replies
-
@imranshams could you please provide some more info:
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I apologize for the confusion earlier. I’ve identified the issue—my plugin input was altered by the GenAI model, which caused the query to be different. I appreciate your time and assistance, and I’m sorry for any inconvenience this may have caused. Thank you so much for your help!