Coder Social home page Coder Social logo

Comments (3)

tuetschek avatar tuetschek commented on June 30, 2024

I have just found out that this is much more serious since it occurs also with valid directions requests:

User 1:    z klamovky na anděl
User 2:    .

User DA confusion network:
1.000 inform(to_stop="Anděl")
1.000 inform(from_stop="Klamovka")

User best DA hypothesis:
1.000 inform(to_stop="Anděl")&inform(from_stop="Klamovka")
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

2015-03-17--14-43-30.620534-CET  MainProcess : DEBUG      
    D3State Dialogue Act in:
    1.000 inform(to_stop="Anděl")
    1.000 inform(from_stop="Klamovka")

2015-03-17--14-43-30.650679-CET  MainProcess : DEBUG      
    Context Resolution - Dialogue Act: 
    1.000 inform(to_stop="Anděl")
    1.000 inform(from_stop="Klamovka")

2015-03-17--14-43-30.665867-CET  MainProcess : DEBUG      
    Last Talked About Inference - Dialogue Act: 
    1.000 inform(to_stop="Anděl")
    1.000 inform(lta_task="find_platform")
    1.000 inform(lta_task="find_connection")
    1.000 inform(from_stop="Klamovka")
[...]

2015-03-17--14-43-30.693564-CET  MainProcess : INFO       
    ALEX: Looking up platform for: Klamovka -- Anděl

2015-03-17--14-43-30.701266-CET  MainProcess : INFO       
    SEARCHING: from(none, Klamovka)

System DA: iconfirm(to_stop="Anděl")&iconfirm(from_stop="Klamovka")&inform(platform="not_found")&inform(direction="Anděl")

System:    Dobře, ze zastávky Klamovka do zastávky Anděl. Spoj do Anděl nebyl nalezen.
TTS-prep:  Dobře, ze zastávky Klamovka do zastávky Anděl. Spoj do Anděl nebyl nalezen.

2015-03-17--14-43-30.756918-CET  MainProcess : INFO       
    SEARCHING: to(none, Anděl)

2015-03-17--14-43-30.763344-CET  MainProcess : INFO       
    PlatformFinder from and to has not been found:
    Klamovka, none -- Anděl, none

from alex.

ticcky avatar ticcky commented on June 30, 2024

I guess the most sensible thing to do would be to run both branches (find_connection and find_platform) and then make a decision about which one to use based on their output? (e.g. if one of them successfully completes its task, return its value)

Another possibility would be to introduce some pre-conditions for the tasks and prefer one method over the other using these? But this way introduces additional code for each task that needs to be synced with the tasks's actual code, and perhaps is good only for making irreversible changes.

What do you think?

from alex.

tuetschek avatar tuetschek commented on June 30, 2024

I don't know... I find the behavior very confusing – how can this happen at all? I tried to look at the code but I really don't understand what's going on in LTA, that's why I haven't attempted to fix it.

I thought that nothing can trigger the find_platform task unless you ask for it explicitly... i.e. mention "nástupiště" in your request.

I think that find_connection should be the default unless explicitly asked otherwise. Why is that not possible?

from alex.

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.