Basic getting started questions - Getting Started with Rasa / Tutorials, Resources & Videos - Rasa Community Forum

👋 Introducing the Rasa Playground

Basic getting started questions

You have selected 0 posts.


post by listaction on Jul 1, 2020

Hi all, Im trying to create a bot with this simple goal: detect a ticker in the question and provide the price for the ticker - some pre-defined exchange.

Thus, the goal is to identify arbitrary tickers there and use them without having to exhaustively provide all the tickers and reply back with the provided ticker.

Any help is appreciated.


post by zezutom on Jul 2, 2020

Hi @listaction,

Okay, so far you added a new intent for ticker detection. Next, you should:

Once you have done that, retrain the model and test it out.

Hope this is enough to get you started. Let me know if you get stuck.


post by listaction on Jul 2, 2020

@zezutom, thank you for the reply. my question is a different one. I’ve done all those things you describe (you’ll notice that in the commit diff) my question is: How do i support arbitrary tickers whereby the , what is the price of “blah” is tokenized without having to provide a list of all the tickers and train it, and reply back with “blah” (the ticker) when the bot utter’s something.


post by jkarel on Jul 2, 2020

@listaction You could create a custom action to do what you’re trying to do.


post by zezutom on Jul 2, 2020

@listaction in the commit diff I can only see you’ve registered the intent, but that’s fine - you seem to understand the basics. To answer you question about arbitrary tickers, I think you still need to provide more than just a few examples. The list doesn’t have to be exhaustive though. Also, I assume ticker names will probably follow certain pattern. If that’s the case, then you can easily define a regex that reliably identifies a ticker - have a look at the regex part of entity extraction.