[ 
https://issues.apache.org/jira/browse/NLPCRAFT-206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aaron Radzinski updated NLPCRAFT-206:
-------------------------------------
    Description: 
# Intents should have their own metadata that can be (a) used in term matching 
logic and (b) be accessible to the intent callback.
 # Intents should be able to match on model's metadata (additionally to token 
and intent metadata).
 # Left and right values in DSL predicate should be equal from DSL grammar 
point of view.
 # We should equally support single-quoted and double-quoted strings in DSL 
grammar.
 # Built-in functions should support nested calls.
 # Add more built-in functions to aid in nested calling functionality: head(), 
tail(), sort(), etc.
 # We need to support basic algebraic operations in expressions.

{quote}NOTE: we can now support arbitrary parameters (incl. empty) to the 
built-in functions by passing list of values into the function: func(1, 2, 
$intent_meta_k1) != null
{quote}

  was:
# Intents should have their own metadata that can be (a) used in term matching 
logic and (b) be accessible to the intent callback.
 # Intents should be able to match on model's metadata (additionally to token 
and intent metadata).
 # Left and right values in DSL predicate should be equal from DSL grammar 
point of view.
 # We should equally support single-quoted and double-quoted strings in DSL 
grammar.
 # Built-in functions should support nested calls.
 # Add more built-in functions to aid in nested calling functionality: head(), 
tail(), sort(), etc.
 # We need to support basic algebraic operations in expressions.

{quote}NOTE: we can now support parameters to the built-in functions by passing 
list of values into the function: func(1, 2, $intent_meta_k1) != null
{quote}


> Improve intent and token DSL.
> -----------------------------
>
>                 Key: NLPCRAFT-206
>                 URL: https://issues.apache.org/jira/browse/NLPCRAFT-206
>             Project: NLPCraft
>          Issue Type: Task
>          Components: model
>            Reporter: Aaron Radzinski
>            Assignee: Aaron Radzinski
>            Priority: Major
>             Fix For: 0.7.5
>
>
> # Intents should have their own metadata that can be (a) used in term 
> matching logic and (b) be accessible to the intent callback.
>  # Intents should be able to match on model's metadata (additionally to token 
> and intent metadata).
>  # Left and right values in DSL predicate should be equal from DSL grammar 
> point of view.
>  # We should equally support single-quoted and double-quoted strings in DSL 
> grammar.
>  # Built-in functions should support nested calls.
>  # Add more built-in functions to aid in nested calling functionality: 
> head(), tail(), sort(), etc.
>  # We need to support basic algebraic operations in expressions.
> {quote}NOTE: we can now support arbitrary parameters (incl. empty) to the 
> built-in functions by passing list of values into the function: func(1, 2, 
> $intent_meta_k1) != null
> {quote}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to