Comments (5)
ahh i see your point @albertotonon , let me think about this use cases a bit more, but something like this could work:
%[x]
my parcel should be delivered in @[delivery_time|variation1]
my parcel should be delivered @[delivery_time|variation2]
@[delivery_time|variation1]
3 days
5 hours
@[delivery_time|variation2]
as fast as possible
quickly
Would need to implement this kind of custom argument variations to be able to combine sentences more selectively but also map to the same entity name
from chatito.
hi, maybe some of this ways work for you?:
%[x]
my parcel should be delivered @[delivery_time]
@[delivery_time]
in 3 days days
as fast as possible
or
%[x]
my parcel should be delivered in @[delivery_time] days
my parcel should be delivered as fast as possible
@[delivery_time]
3 days
let me know if any of this works for you or what specific need you have
from chatito.
thanks for your answer, both ways do not work in my case or in general, unfortunately.
Option 1 works in that specific case but I cannot generalise it to other datasets since it's not always possible to rephrase sentences as you did :(
Option 2 does not mark "as fast as possible" as a slot.
What I think could be a very nice feature for chatito is the possibility of declaring templates such as
%[x]
my parcel should be delivered in @[delivery_time] days
my parcel should be delivered @[delivery_time as fast as possible]
Where in the second option both the slot type and the string are specified. What do you think?
I would code it myself but, unfortunately, I've never used JS :(
from chatito.
thanks for your prompt answer. Looking forward to the new version of chatito!
from chatito.
@albertotonon version 2.0.0 is released and this is fixed now, please read the docs, cheers
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.