Comments (4)
hi @munaAchyuta
if you are working with Rasa multi intents, an example like this should work:
%[greet]("training": "1")
~[greet]
%[inform]("training": "1")
~[my name is] @[name]
%[greet+inform]("training": "1")
~[greet] ~[my name is] @[name]
~[my name is]
my name is
you can call me
i'm
~[greet]
hi
hello
@[name]
achyuta
muna
from chatito.
hi @AlvaroMonteagudo,
atm i am against adding nesting to intents, the DSL wont prevent you from writing a custom adapter to generate two intents, something like, for example you can add something like:
%[greet]
~[greet]
%[inform]
~[mi nombre] @[nombre]
%[greet AND inform]
~[greet] ~[mi nombre] @[nombre]
~[mi nombre]
Mi nombre es
Me llamo
Puedes llamarme
~[greet]
Hola
Ey
Buenas
Buenos días
Buenas tardes
Buenas noches
i think this is more or less what you want to do.. yeah there is still some repetition, maybe adding slots inside alisases would help reduce the code..
now once you have this DSL you can write your own custom adapter using the npm package (use the rasa adapter as reference: https://github.com/rodrigopivi/Chatito/blob/master/src/adapters/rasa.ts), then the name of the intent can be split by the AND
key and you generate two intents, does this help you?
from chatito.
Thanks for your feedback, just released v2.1.0 with support for the +
at the intent definition names, this should now work out of the box by default, feel free to reopen the issue if you have any other issues on this topic, thanks!
from chatito.
Hi,
can we have model which can generate distinguished sentence with intent from given input text.
like below example :
"Turn the bathroom light off and remind me to take the trash out."
There are two independent intents here:
turn_lights, set_reminder.
similarly another example : "Hey what's up? do you guys offer free trial?"
there are two intents here : greetings , product_pricing
Thanks & Regards,
Achyuta nanda Sahoo
from chatito.
Related Issues (20)
- relex
- Unhandled crash when generating testing data HOT 3
- Online ide HOT 2
- Optional slots HOT 1
- [BUG] Slot regression between v2.1.5 and v.2.2.1 HOT 5
- Import failing HOT 2
- Weighted probability HOT 10
- Snips NLU output format error HOT 1
- 数据量太大,然后速度太慢了 HOT 2
- How can I add previous generated json file with new examples? HOT 1
- How can I add Number? HOT 1
- "Can't generate X examples" warning doesn't say which intent it is referring to HOT 2
- How to use Chatito in angularjs HOT 1
- Training/Testing Number Via Cli? HOT 2
- how to use regex_features? HOT 1
- Downloading dsl files? HOT 1
- How to start Chatito on local host HOT 1
- I got JavaScript heap out of memory when training HOT 1
- How to determine whether happened over-fit?
- Save entities for test HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chatito.