-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dead ALEX after requesting departure_time without necessary info #165
Comments
Yes, this is the right place, thanks. I'll look at it. |
OK, this is actually a result of a deeper inconsistency... @jurcicek: Why is The variable is initialy an empty |
Actually, now it seems to me that we should separate Or we should introduce a way to initialize them in |
DeterministicDiscriminativeDialogueState automatically create all accessed The automatic creation was chosen because I did not want to use hasattr. Best regards, Work tel. (CZ): +420221914402 http://ufal.mff.cuni.cz/filip-jurcicek On 27 May 2015 at 11:36, Ondrej Dusek [email protected] wrote:
|
On 27 May 2015 at 11:41, Ondrej Dusek [email protected] wrote:
Conceptually, I want to keep them as a part of the state. The dialogue
You mean all variables or only the conn_info and route_alternative
|
I mean only Yes, I know that I can change them to whatever I want later, but calling I think that we can give a list of these variables in the ontology – they will then be initialized by the |
The `dialogue_state` variable is now a member variable of the state, (same as `conn_info` and `directions`), not a slot. This reflects the actual usage of the variable – it is always integer, never a probability distribution. Now wo don't need to use `isinstance` to test whether a route has been found, we can use `is not None`, which is nicer. This fixes the problem reported in #165.
Dialogue:
s: hello()
u: request(departure_time)
s: ...
u: inform(alternative=2)
s: Dead, there is no connection info.
After we request departure_time or departure_time_rel, it probably somehow creates 'route_alternative' slot in DState "slots" -- with value = none, even though the user did not provide enough info to find connection.
Then when I ask for any alternative, it crashes.
Using: hdc_policy with google info.
(hopefully this is the right place to put this :))
The text was updated successfully, but these errors were encountered: