souvikg10
(Souvik Ghosh)
September 27, 2018, 3:32pm
1
In my endpoints.yml
nlu:
url: ${NLU_URL}
params:
- model_name: ${NLU_MODEL}
- project_name: ${AGENT}
nlg:
url: ${NLG_URL}
I have environment values
However neither my NLG nor NLU server are getting called from rasa core.
Is it the right way?
akelad
(Akela Drissner)
September 27, 2018, 3:58pm
2
can you post this as an issue on the Core repo please souvik? Things that are potential bugs should always be an issue
souvikg10
(Souvik Ghosh)
September 27, 2018, 4:12pm
3
I want to confirm first if the format is correct or not because I didn’t find examples of NLu as an endpoint anywhere yet. If the format is correct then i’ll Post an issue
akelad
(Akela Drissner)
September 27, 2018, 4:17pm
4
Yeah I think it should be correct. It might not be reading your env vars though? try posting the actual urls in there, and otherwise post an issue please
1 Like
dpluth
(Dpluth)
October 23, 2018, 3:45pm
6
Was this resolved? Could you link the issue?
souvikg10
(Souvik Ghosh)
October 23, 2018, 3:54pm
7
It is not resolved yet
opened 06:48PM - 27 Sep 18 UTC
closed 11:47AM - 21 Mar 19 UTC
**Rasa Core version**:0.11.6
**Python version**: 3.6
**Operating system** … (windows, osx, ...): linux
**Issue**:
In my endpoints.yml
```
nlu:
url: ${NLU_URL}
params:
- model_name: ${NLU_MODEL}
- project_name: ${AGENT}
nlg:
url: ${NLG_URL}
```
I have environment values. I have also tried directly putting the URL, model name and project name.
NLG started working but not the NLU, is there something wrong with the params?
There is an enhancement request
dpluth
(Dpluth)
October 23, 2018, 4:40pm
8
Thanks, did you get your workaround to work?
I get:
"error": "Unable to initialize persistor"
It doesn’t seem to be able to find the right model
souvikg10
(Souvik Ghosh)
October 23, 2018, 4:54pm
9
The workaround was to put the endpooint file path in the env vars