Uploaded image for project: 'NLPCraft'
  1. NLPCraft
  2. NLPCRAFT-118

Insufficient NCIntentTerm validation.

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 0.7.0
    • Main API
    • None

    Description

      This code currently passes the validation (from WeatherModel):

          public NCResult onMatch(
              NCIntentMatch ctx,
              @NCIntentTerm("ind") List<NCToken> indToksOpt,
              @NCIntentTerm("city") Optional<NCToken> cityTokOpt_extra, /* SHOULD BE INVALID */
              @NCIntentTerm("city") Optional<NCToken> cityTokOpt,
              @NCIntentTerm("date") Optional<NCToken> dateTokOpt
          ) {
      

      Attachments

        Activity

          People

            sergeykamov Sergey Kamov
            aradzinski Aaron Radzinski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: