Skip to content
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

make Rasa Open Source response timeout configurable #4756

Closed
xyzdcgan opened this issue Nov 12, 2019 · 8 comments · Fixed by #5358
Closed

make Rasa Open Source response timeout configurable #4756

xyzdcgan opened this issue Nov 12, 2019 · 8 comments · Fixed by #5358
Labels
type:enhancement ✨ Additions of new features or changes to existing ones, should be doable in a single PR

Comments

@xyzdcgan
Copy link

xyzdcgan commented Nov 12, 2019

Hello,

I am using RASA NLU in local instance.

I am currently training the model for 15000 questions and 500 intent.
After 1 hour of training it displays the error :-

"
Training NLU model...
2019-11-12 16:33:06 ERROR sanic.root - Exception occurred while handling uri:
'http://localhost:5002/api/projects/default/models/jobs'
NoneType: None
"
My current PC configuration is 16 GB ram and i5 7th gen.

I tried with 7000 question and 80 intent and for that it was working without any error

@sara-tagger
Copy link
Collaborator

Thanks for raising this issue, @akelad will get back to you about it soon✨

Please also check out the docs and the forum in case your issue was raised there too 🤗

@xyzdcgan
Copy link
Author

Yes, sure I am waiting and trying different method to solve the training error, till @akelad helps

Thanks @sara-tagger

@akelad
Copy link
Contributor

akelad commented Nov 16, 2019

@xyzdcgan what command did you use for training?

@akelad akelad added the status:more-details-needed Waiting for the user to provide more details / stacktraces / answer a question label Nov 16, 2019
@xyzdcgan
Copy link
Author

xyzdcgan commented Nov 18, 2019

@akelad I trained the model using the train button in ui.

Screenshot from 2019-11-18 11-18-51

Update: Currently i am able to train with 425 intent but with only 3000 question,
But it failed when i trained with 425 intent and 4500 question.

I am generating question using: https://rodrigopivi.github.io/Chatito/

@no-response no-response bot removed the status:more-details-needed Waiting for the user to provide more details / stacktraces / answer a question label Nov 18, 2019
@akelad
Copy link
Contributor

akelad commented Nov 25, 2019

I assume the server times out after an hour - we have a default timeout hour of one hour:

DEFAULT_REQUEST_TIMEOUT = 60 * 5 # 5 minutes

@wochinge do you know if that's configurable?

@stale
Copy link

stale bot commented Feb 23, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the status:stale label Feb 23, 2020
@wochinge wochinge added type:enhancement ✨ Additions of new features or changes to existing ones, should be doable in a single PR and removed status:stale labels Feb 24, 2020
@wochinge
Copy link
Contributor

We have to make this line configurable

app.config.RESPONSE_TIMEOUT = 60 * 60

@wochinge wochinge changed the title RASA NLU Training Error make Rasa Open Source response timeout configurable Feb 24, 2020
@mmalhotra
Copy link
Contributor

#5358

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement ✨ Additions of new features or changes to existing ones, should be doable in a single PR
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants