-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
API Domain Call Issues #4080
Comments
Thanks for raising this issue, @wochinge will get back to you about it soon. |
What do you need the
It does so, means
Mhm, how did your domain body look like? seems sth is wrong here. By the way: |
As discussed in this forum thread, the use case is where we want to reset the content of an existing Rasa X instance. If I start with a new Rasa X instance and I want to import existing NLU, Stories and domain. For the domain, there's no
|
I've done some more testing with templates. I'm using
As you can see from this screenshot of Responses, I see the following issues:
I see from some comments from #3798 that templates are really moving out of the domain and should be edited separately. Maybe there should be a separate set of calls for templates from the domain calls and just completely pull templates out of domain. |
I just tried the endpoint myself and it's working as expected. Do you have an idea what could be going wrong here @ricwo ? |
Hi @rgstephens, I haven't been able to reproduce the issues you mentioned. Would you mind sharing exact steps to reproduce the problem? Here's what I did:
Result:
|
ok, so before I start, I'm going to remove my domain. Here's what it looks like before I start testing: I make the I put the original domain file with the I can't run step #2 without my intents & actions so I run another PUT without Now I do as you request and do the PUT with store_templates but with the 2nd version of the domain: Everything worked this time, but I had to run the PUT twice to get everything uploaded. |
@ricwo can you take another look at this? feel free to close if we can not reproduce |
I think this can be closed. The remaining issues in this thread are covered in #4185. |
The Rasa X domain related API calls have some issues:
DELETE
call as there is for the Stories & NLU Training data API callsPUT
appears to do nothing unless you specify thestore_templates=true
param. It should update the domain like the Stories & NLU calls do as it's default (without requiring a query param).PUT
call withstore_templates=true
updatedintents
andactions
but nottemplates
.There is no way to delete content from the domain via the API.
Rasa X version: 0.19.5
The text was updated successfully, but these errors were encountered: