Merge pull request #111 from rodrigorodriguez/master
fix(core.gbapp): MSFT changed again LUIS url.
This commit is contained in:
commit
9daadb2ac1
1 changed files with 2 additions and 5 deletions
|
@ -96,14 +96,11 @@ export class GBConversationalService implements IGBConversationalService {
|
|||
// tslint:enable:no-unsafe-any
|
||||
|
||||
public async routeNLP(step: GBDialogStep, min: GBMinInstance, text: string): Promise<boolean> {
|
||||
// Invokes LUIS.
|
||||
|
||||
const endpoint = min.instance.nlpEndpoint.replace('/luis/v2.0', '');
|
||||
|
||||
const model = new LuisRecognizer({
|
||||
applicationId: min.instance.nlpAppId,
|
||||
endpointKey: min.instance.nlpKey,
|
||||
endpoint: endpoint
|
||||
endpoint: min.instance.nlpEndpoint
|
||||
});
|
||||
|
||||
let nlp: RecognizerResult;
|
||||
|
|
Loading…
Add table
Reference in a new issue