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
Is your feature request related to a problem? Please describe.
When using the container version, you need to access web service. There is no SDK Abstraction as sdk version differ in webservice endpoints... #424
The problem here is that prediction results are not the same...
Exemple in code :
Task pred;
if (_config.UseLocalServices)
{
pred = GetPredictionFromEndpointAsync(_config.LuisAPIKey, _config.LuisContainerUrl, _config.LuisAppId, _config.LuisSlotName, question.ToLowerInvariant());
}
else
{
IList<DynamicList> dynamicLists = _luisFeedDynamicListService.LuisEntries.Select(e => new DynamicList(e.Key, RequestListExtensions.FromLuisEntries(e.Value))).ToList();
var predictionRequest = new PredictionRequest(question.ToLowerInvariant(), null, null, dynamicLists);
pred = _luisClient.Prediction.GetSlotPredictionAsync(
Guid.Parse(_config.LuisAppId),
slotName: _config.LuisSlotName,
predictionRequest,
verbose: true,
showAllIntents: true,
log: true);
}
Describe the solution you'd like
The proper solution would be to change only the enpoint like this: Version Azure
_luisClient = new LUISRuntimeClient(new ApiKeyServiceClientCredentials(_config.LuisAPIKey))
{
Endpoint = _config.LuisHostRegion
};
Version container
_luisClient = new LUISRuntimeClient(new MockCredentials())
{
Endpoint = "http://localhost:5010"
};
The text was updated successfully, but these errors were encountered:
It looks that you are using the LUIS Runtime SDK. This is for Cognitive Speech SDK. I will try to find a channel that you can post your LUIS Runtime SDK questions.
Inside the Speech SDK, there is a IntentRecognizer that talks to the LUIS service as well. Check it out here.
Is your feature request related to a problem? Please describe.
When using the container version, you need to access web service. There is no SDK Abstraction as sdk version differ in webservice endpoints...
#424
The problem here is that prediction results are not the same...
Exemple in code :
Task pred;
Describe the solution you'd like
The proper solution would be to change only the enpoint like this:
Version Azure
_luisClient = new LUISRuntimeClient(new ApiKeyServiceClientCredentials(_config.LuisAPIKey))
{
Endpoint = _config.LuisHostRegion
};
Version container
_luisClient = new LUISRuntimeClient(new MockCredentials())
{
Endpoint = "http://localhost:5010"
};
The text was updated successfully, but these errors were encountered: