Giter Site home page Giter Site logo

Comments (34)

rossdargan avatar rossdargan commented on July 22, 2024 7

Yup, this would be pretty useful!

from wit.

patapizza avatar patapizza commented on July 22, 2024 2

@mattpennington @kundusandeepan Thanks for raising this. This is still something we want to support.

from wit.

natcohen avatar natcohen commented on July 22, 2024 1

@blandinw Is there any news regarding this?

from wit.

Seraf avatar Seraf commented on July 22, 2024

Will the confidence be global or per intent (more logic) ?

from wit.

ar7hur avatar ar7hur commented on July 22, 2024

@Seraf most probably per intent.

from wit.

ar7hur avatar ar7hur commented on July 22, 2024

While we haven't implemented this feature yet, with the new spanless entities you have a good workaround for most situations.

For instance if you get
Do you sell item XXX and if yes, how much does it cost?

Instead of doing two intents availability and price, you do just one intent product_question with two spanless entities availability_question (values "true" | "false") and price_question (values "true" | "false"). It works quite well on for many users.

from wit.

conradev avatar conradev commented on July 22, 2024

I'd love to see this feature

from wit.

Glavin001 avatar Glavin001 commented on July 22, 2024

+1 This would be awesome! Supporting chains of intents in sentences would make it feel so natural to users and less work for the developer.

@ar7hur 's link to spanless entities is broken. I found this blog post very informative: https://wit.ai/blog/2013/10/01/entities-update
Thanks!

from wit.

robdefeo avatar robdefeo commented on July 22, 2024

Is this feature going to be ready soon?

from wit.

Glavin001 avatar Glavin001 commented on July 22, 2024

I think we are getting closer with Composite Entities: https://wit.ai/blog/2015/05/05/composite-entity
However, it would be great to have Composite Intents. Looking forward to this!

from wit.

kundusandeepan avatar kundusandeepan commented on July 22, 2024

Is multi-intent supported yet ?

from wit.

okaris avatar okaris commented on July 22, 2024

Any updates on this?

from wit.

olivierlesnicki avatar olivierlesnicki commented on July 22, 2024

still broken

from wit.

lahdo avatar lahdo commented on July 22, 2024

Any updates on this?

from wit.

olivierlesnicki avatar olivierlesnicki commented on July 22, 2024

no update

from wit.

mattpennington avatar mattpennington commented on July 22, 2024

Any updates on this?

from wit.

kundusandeepan avatar kundusandeepan commented on July 22, 2024

from wit.

murat0658 avatar murat0658 commented on July 22, 2024

any update?

from wit.

l5t avatar l5t commented on July 22, 2024

https://wit.ai/blog/2017/04/18/supporting-100000-developers-and-beyond

We are also reintroducing the N-Best feature. Simply put, it means that now Wit.ai will not just return the best intent, but a ranked list of several possible intents. This is especially helpful to implement a reformulation strategy if you’re implementing an FAQ: for an ambiguous query, your app could say “Did you mean X,Y or Z…”. It is also great to implement your own training mechanism: when Wit is not super confident, you could retrieve the 3 most relevant entities and let your user validate the correct one…

from wit.

olivierlesnicki avatar olivierlesnicki commented on July 22, 2024

@l5t @stopachka this is not the solution to the problem described here

from wit.

l5t avatar l5t commented on July 22, 2024

Can you provide a concrete example to help us better understand the use case?

from wit.

kundusandeepan avatar kundusandeepan commented on July 22, 2024

from wit.

hactar avatar hactar commented on July 22, 2024

I think what the users want, including one of my customers, are sentences such as "Call me a cab and text my girlfriend that I'm on my way", which is actually "call me a cab" and "text my girlfriend that I'm on my way" - to be interpreted as two separate intents, each with their own entities, in once sentence. And unfortunately this is not as simple as tokenising with "and" as not all such sentences have an "and", and some sentences with and and in them may not have two intents (Get me a cab to marks and spencers).

from wit.

patapizza avatar patapizza commented on July 22, 2024

Hi @kundusandeepan @hactar,

The way to do this would be to use one (binary) trait entity per intent, instead of a single trait entity named "intent" with multiple values.

For example, instead of having one trait entity "intent" (values: "weather_forecast" and "ask_time"), you could have two trait entities: "weather_forecast" (values: "true"), "ask_time" (values: "true"). You can then tag sentences like "weather in Paris and what time is it" with both entities.

Hope this helps.

from wit.

kundusandeepan avatar kundusandeepan commented on July 22, 2024

from wit.

olivierlesnicki avatar olivierlesnicki commented on July 22, 2024

@patapizza that's exactly what doesn't work!

from wit.

patapizza avatar patapizza commented on July 22, 2024

@olivierlesnicki Can you be more specific? Do you have an app I can look at? Thanks.

from wit.

mr2tkoollove avatar mr2tkoollove commented on July 22, 2024

sorry, but i cant get multiple intent when using "trait"

from wit.

stopachka avatar stopachka commented on July 22, 2024

Hey @mr2tkoollove do you mind giving me an example of what you are trying? Happy to help

from wit.

Arthur31 avatar Arthur31 commented on July 22, 2024

@ar7hur , What's up to multiple intents ?
Do i force wit to understand ?

from wit.

blandinw avatar blandinw commented on July 22, 2024

To achieve a similar result, you can create one binary trait entity per intent.
Using the example in this issue, you would create the trait entities "turn_lights" and "set_reminder" with 1 value "true".

from wit.

munaAchyuta avatar munaAchyuta commented on July 22, 2024

@ar7hur @robdefeo @Glavin001 @Seraf @conradev any conclusion to this issue ?

can we have model which distinguishes sentence with intent from a given a 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

Thanks.

from wit.

blandinw avatar blandinw commented on July 22, 2024

Please see my last comment for a workaround. This is not supported today in Wit, but we'd like to work on it at some point (but don't wait on it 😊).

from wit.

Shinoy-12 avatar Shinoy-12 commented on July 22, 2024

Hey!
Let's say i have a entity "x" and this entity is defined under intent "y" and "z".
When i write a statement...will wit.ai show intent "y" and intent "z" with entity "x"?

from wit.

Related Issues (20)

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.