Need help with numerical data - Getting Started with Rasa / Tutorials, Resources & Videos - Rasa Community Forum
👋 Introducing the Rasa Playground
Need help with numerical data
post by WhiteDevil on Nov 11, 2020
Hi, I started learning rasa recently so this question might be too easy for most people. Please don’t be harsh on me. So I’m trying to take numerical data as input from the user, but have failed to do so. I browsed through the rasa documentation but didn’t find anything useful. Mentioning the relevant snippets from domain.yml and nlu.yml.
nlu.yml
- intent: number_of_people
examples: |- We are [[6]] (number) people
- We are a group of [[8]] (number) people
domain.yml
entities:
- number
slots:
number:
type: float min_value: 1.0 max_value: 12.0
post by siriusraja on Nov 14, 2020
Hi @WhiteDevil
You can use any of the below entity extractor to extract numerical values.
- Duckling HTTP extractor - Components
- Regex Entity extractor - Components