Git Product home page Git Product logo

cognitive-luis-programmatic's People

Contributors

andreluizsecco avatar dependabot[bot] avatar michel-weber avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cognitive-luis-programmatic's Issues

[Question] Retrieving an Intent

Hi,
I wanted to ask: if I use an Intent getter like GetIntentByNameAsync(...) and the intent selected does not exists the method returns null? Or it tries to create a new Intent and returns that?

Thanks

[Discussion] Changing Namespaces

I'm thinking about changing the namespaces (in the next version) and structures of the project to organize and facilitate a bit more at the time of use.
As resources increase, the use of the same namespace becomes more confusing.

ps: obviously, this will cause a breaking change.

Example

Now:

using (var client = new LuisProgClient("Your_Authoring_Key", Regions.WestUS))
{
    var apps = await client.GetAllAppsAsync();

    var intents = await client.GetAllIntentsAsync(
        appId: "24d2a592-165d-468f-8800-7778900afc11",
        appVersionId: "0.1"
    );
}

After:

using (var client = new LuisProgClient("Your_Authoring_Key", Regions.WestUS))
{
    var apps = await client.Apps.GetAllAsync();
    
    var intents = await client.Intents.GetAllAsync(
        appId: "24d2a592-165d-468f-8800-7778900afc11",
        appVersionId: "0.1"
    );
}

I would like to know your opinions and if anyone has any objections.

Improve unit tests

We currently have a problem trying to run all the tests at the same time, having to run the test classes separately.
It is necessary to make improvements in the unit tests to allow the execution of all the tests at the same time.

Feature: Support versions endpoint

Dear @andreluizsecco,
I want to let you know I'm working on supporting the /apps/{appId}/versions endpoint.

This is needed to cover my use case:
My use case is, to export the whole app (/apps/{appId}/versions/{versionId}/export) to json and then import it again on another luis instance (used for DevOps / CI/CD).

I'm working on it here:
https://github.com/michel-weber/Cognitive-LUIS-Programmatic/tree/feature/versionservice

I'm also implementing/extending your integration tests to cover my new code and trying to stay close to your naming/coding conventions.

Please let me know if you have any guidance on contributing to your project.

Kind regards
Michel

Luis price Tier s0

Hello Andre, it's possible to use Cognitive-Luis_Programmatic with a cognitive service Luis with Tier price S0 using di subscription key?

Thanks

Verify if "exception.Error" is null before getting "exception.Error.StatusCode"

Hi Andre,

First of all, thanks for awesome library.
I just noted one small bug in the ServiceClient class.

throw new Exception($"{exception.Error.Code} - {exception.Error?.Message ?? exception.Message}");

You verify if "Error" is null before trying to get the value of the Error.Message property, but you don't do the same for Error.Code. In this case, the application will throw a NullReferenceException instead of the expected one.

Cheers.

does GetAllEntitiesAsync work?

I'm trying to use GetAllEntitiesAsync (luisId, luisVersion) but it does not work in my case:
IReadOnlyCollection entities = await luisClient.GetAllEntitiesAsync(_config.LuisId, _config.LuisVersion);
returns always a collection with 0 items... Why is that? I've checked and for instance with GetAllIntentsAsync the _config.LuisId and _config.LuisVersion work.

[Question] Force training and publish

Hi,
Is there a way to force the training in the moment I call the TrainAsync(...) method without queuing it? Or to wait until the training is finished successfully? And the same thing with publishing the model?
I would like to be sure that when I start these activities at a certain time they will be completed.
Thanks

NullReferenceException on a new client creation.

Hi,

I have a problem when trying to access the appID of my LUIS app.
I double checked the subscription key and the location is set to WestEurope.

What can be the problem for the error below? Do i have to do any additional configuration before creating an LuisProgClient() object?

capture

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.