Replies - Activity - sten - Rasa Community Forum

Error: embedding_intent_classifier

as far as I can remember you probably have #intent which have only one item …
#intent: abc

should have more than one :
#intent: abc

Feedback on ConveRT Model + Rasa NLU

pip install rasa==1.5.0

ERROR: Could not find a version that satisfies the requirement rasa==1.5.0

do I have to do something special ?

Wanted: new ideas for the Rasa demo bot

I would like very VERY extensive QA/FAQ … may be mined from the forum and stackoverflow and probably carbon-copy sentences as answers from the docs … plus quick examples of doing stuff.
May be as a second stage short guided Recipes …

Prediction: Sentence or words?

As I’m reading the papers a question comes to mind …
How would I go about if I want to featurize along with the intent and entities also POS tags.
In my case Subject-Verb-Object. Let say I have a way to programmatically extract them via spacy OR pattern.en library

Split : domain.yml

I just also figured out I can use C/C++ preprocessor
cpp -P included.inc > output.file

thanks …
hiyapyco - cool…
i searched for yaml&markdown lib and there was none that you can use to manipulate the structure in python …
it seems also the markdown parser the rasa uses, doesn’t support multi-lines like this :
markdown-multiline

Leading questions?

can you do that ? i mean story starting with bot action !
how would then be this triggered !??
how does the bot knows to use this !!

Greedy intent?

hmm … thanks will try it … i just happen to be reading the tutorial on FORMS

Rasa Masterclass: Episode List & Resources

Is there a plans for episodes on the architecture : like the ones you have on earlier versions, but abit more detailed, so we can make a connection with the API for extentding RASA, such as Actions,Custom NLU components, the pipeline, feature generation&merge, vectors creation and NN modules …etc

Can I use database for training bot?

I dont think so … nobody but you knows the schema of your data.
F.e. i wrote some data in non-standard .txt file and then I wrote a script to generate rasa .md files from it.

qa2md.py
You have to do something similar, but from DB.

One option is to write script to generate nlu.md, stories.md and domain.yml from the DB.
If you mainly have the replies in the DB you can create Actions to fetch the data and decide based on intent and slot data…what to do…

Novel idea

cool thanks, will try it

Multi line and bullets

So inside domain.yml I should use two slashes to be able to write multiline inside the yaml file ex:
utter_abc:

Retrevial-response : multiple intents match?

but doesn’t then I lose the Respnse-pick-logic that handles the responses i.e. I have to code that myself ?

RASA == Production system?

yeah … the IF-THEN rules match 90% Stories (except that stories take context into account in PS you do this via Working-memory) .
Also normally it have a score attached to every rule which is updated in a similar manner to Reinforcement learning Q-value.
AFAIK you do similar thing during interact…

Action POST request

i see … it seems too complicated to be able to generate it on the fly … hmm.

Extracting : verbs, nouns, adj, phrases .etc?

from another post I got this :
msg = tracker.latest_message.get('text')

I can spacy-nlp-pos it to get those …
so I’m ok for now, thanks

## intent: math_expr?

how do I do that ?

Error: embedding_intent_classifier

i made it work

Error: embedding_intent_classifier

i have responses.md file
how do i make it work with ResponseSelector ?

Error: embedding_intent_classifier

that was it , btw i would need it for FAQ handling quick question :
if I have multiple *.md files in /data, does rasa train pick them up … or there is some way to point them

Inspecting data from the shell!

here is quick example :
(I’m slurping the files into arrays)
shell_cmds.py
In [72]: from shell_cmds import *
In [73]: c = ShellCmds('nlu.md','stories.md','../domain.yml')
In [74]: print c.find_utter('example')
(63, ' utter_example:\n')
In [75]: print c.show_utter('example')
utter_e…

Parsing intent and filling slot?

yes… i tested it … and works thanks…
Is there a way to set the slot with specific value every time … f.e. let say i have :
conditional
if
if-then

can I force it to set etype=conditional in all 3 cases ?

Inspecting data from the shell!

you don’t leave the shell.
when the files become big it is harder to find what you are looking for.
you dont need to think which file to look for.
I may be willing to write a class that does the grepping … if it is easier to integrate it in thee shell

RasaX: create intent

when annotating OR creating new entries in a Chat often the new utterances can’t be matched to the available intents.
Without this feature you have to stop annotating (sometimes discard the whole dialog) create the new intents, retrain and then start again …
Having this means you can do the whole…

Using slots?

that’s the problem the documentation does not explain that !!

Using slots?

I’m unsure how it works ?
Does it autovivify implicitly if I just use it OR I have to explicitly have to declare it in domain.yaml so I can use it in stories.md

Supervised Response Selector [Experimental]

is there an example project ?

Supervised Response Selector [Experimental]

I’m about to test it …
In the docs it says it supports multiple questions per intent.

intent: chitchat/ask_name

The question is, does it support multiple responses too ?
Something like :

ask name

* chitchat/ask_name