Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Conversation

@VanyLaw
Copy link
Contributor

@VanyLaw VanyLaw commented May 22, 2020

Description

pass endpointKey if exist to runtime.

Notice:
The endpointKey must bound with your luis application. Can bound in Luis portal like:
image

Otherwise, it will cause the 403 error.
image

Task Item

close #3145

Screenshots

endpointKey Resource will be call:
image

configList.push('--luis:endpointKey');
configList.push(config.luis.authoringKey);
}
if (config.luis.authoringRegion) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see this removed and it suggests that the --luis:endpoint is not necessary when the user supplies an authoringKey instead of endpointKey. Is this correct?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

endpoint is the URL base on luis region, it's not necessary because c# runtime will make it itself in builder.UseLuisConfigAdapter().UseLuisSettings() in Program.cs file (It's a feature of C# SDK).

@cwhitten cwhitten merged commit 07383b5 into master May 24, 2020
@cwhitten cwhitten deleted the wenyluo/3145 branch May 24, 2020 20:00
lei9444 pushed a commit to lei9444/BotFramework-Composer-1 that referenced this pull request Jun 15, 2021
…microsoft#3165)

* send endpointkey to runtime

* remove auth

Co-authored-by: Chris Whitten <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LUIS authoringKey used for endpoint calls instead of endpointKey

3 participants