Can not extract entities

I am not able extract entities from the data… {'text': 'Get google current price', 'intent': {'id': -7522231481017289405, 'name': 'price', 'confidence': 0.9999994039535522}, 'entities': [], 'intent_ranking': [{'id': -7522231481017289405, 'name': 'price', 'confidence': 0.9999994039535522}} can you help me with that?

data in my intnets.yml file is:

version: "2.0"

intents:
  - greetings
  - add
  - bye
  - tell_a_joke
  - price:
      use_entities:
        - ticker
  - add stock
  

entities:
  - ticker



nlu:
- intent: greetings
  examples: |
    - Hii
    - hi
    - hey
    - Hello
    - Heya
    - wassup

- intent: add
  examples: |
    - add stock AAPL for 9 days
    - add stock MSFT 12 to monitor list
    - add my stock GOOG 19
    - add TSLA 14  days
    
- intent: Bye
  examples: |
    - Bye
    - bie
    - by
    - see you
    - see ya

- intent: tell_a_joke
  examples: |
    - Tell me a joke
    - One more joke
    - Do you know jokes
    - Can you tell a joke
    - Can you say something funny
    - Would you entertain me
    - What about a joke

- intent: this_is_funny
  examples: |
    - This is funny
    - That's a funny one
    - Hahaha
    - That's a good one

- intent: price
  examples: |
    - current price of [TSLA]{"entity":"ticker"}
    - tell me current price of [AMZN]{"entity":"ticker"}
    - I want to know the current price of [NSRGY]{"entity":"ticker"}
    - tell me about the current price of [AAPL]{"entity":"ticker"}
    - Can you tell me the current price of [HDB]{"entity":"ticker"}
    - current price of [KOTAKBANK.NS]{"entity":"ticker"}
    - Please tell me the current price of [ZM]{"entity":"ticker"}
    - current price of [RELIANCE.NS]{"entity":"ticker"}
    - give me current price of [MMM]{"entity":"ticker"}
    - price of [NFLX]{"entity":"ticker"}
    - Get me the current price of [PNB.NS]{"entity":"ticker"}
    - [UVSL.NS]{"entity":"ticker"}
    - [IDEA.NS]{"entity":"ticker"}
    - [LAKSHVILAS.NS]{"entity":"ticker"}
    - [ADANIPOWER.NS]{"entity":"ticker"}
    - [RTNINFRA.BO]{"entity":"ticker"}
    - [RPOWER.NS]{"entity":"ticker"}
    - [TVSMOTOR-BL.NS]{"entity":"ticker"}
    - [SUZLON.NS]{"entity":"ticker"}
    - [YESBANK.NS]{"entity":"ticker"}
    - [MAHABANK.NS]{"entity":"ticker"}
    - [IDEA.BO]{"entity":"ticker"}
    - [RCOM.BO]{"entity":"ticker"}
    - [CENTRALBK.NS]{"entity":"ticker"}
    - [IOB.NS]{"entity":"ticker"}
    - [RTNPOWER.NS]{"entity":"ticker"}
    - [RENUKA.BO]{"entity":"ticker"}
    - [TATAMOTORS.NS]{"entity":"ticker"}
    - [AAPL]{"entity":"ticker"}
    - [TATAMOTORS-BL.NS]{"entity":"ticker"}
    - [BANKBARODA.NS]{"entity":"ticker"}
    - [BHEL.NS]{"entity":"ticker"}
    - [ITC.NS]{"entity":"ticker"}
    - [ONGC.NS]{"entity":"ticker"}
    - [HFCL.NS]{"entity":"ticker"}
    - [ASHOKLEY.NS]{"entity":"ticker"}
    - [IMUN]{"entity":"ticker"}
    - [KGET]{"entity":"ticker"}
    - [GOOG]{"entity":"ticker"}
    - [MSFT]{"entity":"ticker"}
    - [GOOGL]{"entity":"ticker"}
    - [FB]{"entity":"ticker"}
    - [TSM]{"entity":"ticker"}
    - [BABA]{"entity":"ticker"}
    - [JPM]{"entity":"ticker"}
    - [V]{"entity":"ticker"}
    - [NVDA]{"entity":"ticker"}
    - [JNJ]{"entity":"ticker"}
    - [WMT]{"entity":"ticker"}
    - [UNH]{"entity":"ticker"}
    - [BAC]{"entity":"ticker"}
    - [MA]{"entity":"ticker"}
    - [PG]{"entity":"ticker"}
    - [HD]{"entity":"ticker"}
    - [DIS]{"entity":"ticker"}
    - [PYPL]{"entity":"ticker"}
    - [ASML]{"entity":"ticker"}
    - [CMCSA]{"entity":"ticker"}
    - [XOM]{"entity":"ticker"}
    - [TM]{"entity":"ticker"}
    - [KO]{"entity":"ticker"}
    - [PEP]{"entity":"ticker"}
    - [PFE]{"entity":"ticker"}
    - [CSCO]{"entity":"ticker"}
    - [INTC]{"entity":"ticker"}
    - [NKE]{"entity":"ticker"}
    - [ORCL]{"entity":"ticker"}
    - [ADBE]{"entity":"ticker"}
    - [CVX]{"entity":"ticker"}
    - [T]{"entity":"ticker"}
    - [NVS]{"entity":"ticker"}
    - [ABT]{"entity":"ticker"}
    - [ACN]{"entity":"ticker"}
    - [HON]{"entity":"ticker"}
    - [MCD]{"entity":"ticker"}
    - [UL]{"entity":"ticker"}
    - [PM]{"entity":"ticker"}
    - [QCOM]{"entity":"ticker"}
    - [JPM]{"entity":"ticker"}
    - current price of [AAPL]{"entity":"ticker"}
    - tell me current price of [MMM]{"entity":"ticker"}
    - I want to know the current price of [NIFTY]{"entity":"ticker"}
    - tell me about the current price of [HDFC]{"entity":"ticker"}
    - Can you tell me the current price of [HDB]{"entity":"ticker"}
    - current price of [KOTAKBANK.NS]{"entity":"ticker"}
    - Please tell me the current price of [ZM]{"entity":"ticker"}

- lookup: stock
  examples: |
    - \nasdaq_screener_1642495838667.txt

@gauravsanas88 can you share the rasa --version please?

Rasa Version : 2.8.1

I’ve integrated rasa with opsdroid.

@gauravsanas88 type rasa --version while activating the env, thanks.

did not get you.

Rasa Version      :         2.8.1
Minimum Compatible Version: 2.8.0
Rasa SDK Version  :         2.8.4
Rasa X Version    :         0.35.0
Python Version    :         3.8.12
Operating System  :         Linux-5.13.0-28-generic-x86_64-with-glibc2.17
Python Path       :         /home/woyce-1-5/anaconda3/envs/rasa3/bin/python

@gauravsanas88 can you share the traceback of some query with the screenshot please, starting from query and till end

rasa shell --debug

@gauravsanas88 this code you written where and your rasa server and action server is running ?

I’m integrating Rasa with opsdroid. I’ve rasa configuration in configuration.yaml file attached below.

Well I not personally implemented on this, but I can only help you on rasa part :frowning: I’m trying to help you.

Thank you. I’m able to get basic responses from rasa like “greetings” , but problem is I’m not able extract entities.

here is my intent.yml file is this the right way to write intents?

version: "2.0"

intents:
  - greetings
  - add
  - bye
  - tell_a_joke
  - price:
      use_entities:
        - ticker
  - add stock
  

entities:
  - ticker



nlu:
- intent: greetings
  examples: |
    - Hii
    - hi
    - hey
    - Hello
    - Heya
    - wassup

- intent: add
  examples: |
    - add stock AAPL for 9 days
    - add stock MSFT 12 to monitor list
    - add my stock GOOG 19
    - add TSLA 14  days
    
- intent: Bye
  examples: |
    - Bye
    - bie
    - by
    - see you
    - see ya

- intent: tell_a_joke
  examples: |
    - Tell me a joke
    - One more joke
    - Do you know jokes
    - Can you tell a joke
    - Can you say something funny
    - Would you entertain me
    - What about a joke

- intent: this_is_funny
  examples: |
    - This is funny
    - That's a funny one
    - Hahaha
    - That's a good one

- intent: price
  examples: |
    - current price of [TSLA]{"entity":"ticker"}
    - tell me current price of [AMZN]{"entity":"ticker"}
    - I want to know the current price of [NSRGY]{"entity":"ticker"}
    - tell me about the current price of [AAPL]{"entity":"ticker"}
    - Can you tell me the current price of [HDB]{"entity":"ticker"}
    - current price of [KOTAKBANK.NS]{"entity":"ticker"}
    - Please tell me the current price of [ZM]{"entity":"ticker"}
    - current price of [RELIANCE.NS]{"entity":"ticker"}
    - give me current price of [MMM]{"entity":"ticker"}
    - price of [NFLX]{"entity":"ticker"}
    - Get me the current price of [PNB.NS]{"entity":"ticker"}
    - [UVSL.NS]{"entity":"ticker"}
    - [IDEA.NS]{"entity":"ticker"}
    - [LAKSHVILAS.NS]{"entity":"ticker"}
    - [ADANIPOWER.NS]{"entity":"ticker"}
    - [RTNINFRA.BO]{"entity":"ticker"}
    - [RPOWER.NS]{"entity":"ticker"}
    - [TVSMOTOR-BL.NS]{"entity":"ticker"}
    - [SUZLON.NS]{"entity":"ticker"}
    - [YESBANK.NS]{"entity":"ticker"}
    - [MAHABANK.NS]{"entity":"ticker"}
    - [IDEA.BO]{"entity":"ticker"}
    - [RCOM.BO]{"entity":"ticker"}
    - [CENTRALBK.NS]{"entity":"ticker"}
    - [IOB.NS]{"entity":"ticker"}
    - [RTNPOWER.NS]{"entity":"ticker"}
    - [RENUKA.BO]{"entity":"ticker"}
    - [TATAMOTORS.NS]{"entity":"ticker"}
    - [AAPL]{"entity":"ticker"}
    - [TATAMOTORS-BL.NS]{"entity":"ticker"}
    - [BANKBARODA.NS]{"entity":"ticker"}
    - [BHEL.NS]{"entity":"ticker"}
    - [ITC.NS]{"entity":"ticker"}
    - [ONGC.NS]{"entity":"ticker"}
    - [HFCL.NS]{"entity":"ticker"}
    - [ASHOKLEY.NS]{"entity":"ticker"}
    - [IMUN]{"entity":"ticker"}
    - [KGET]{"entity":"ticker"}
    - [GOOG]{"entity":"ticker"}
    - [MSFT]{"entity":"ticker"}
    - [GOOGL]{"entity":"ticker"}
    - [FB]{"entity":"ticker"}
    - [TSM]{"entity":"ticker"}
    - [BABA]{"entity":"ticker"}
    - [JPM]{"entity":"ticker"}
    - [V]{"entity":"ticker"}
    - [NVDA]{"entity":"ticker"}
    - [JNJ]{"entity":"ticker"}
    - [WMT]{"entity":"ticker"}
    - [UNH]{"entity":"ticker"}
    - [BAC]{"entity":"ticker"}
    - [MA]{"entity":"ticker"}
    - [PG]{"entity":"ticker"}
    - [HD]{"entity":"ticker"}
    - [DIS]{"entity":"ticker"}
    - [PYPL]{"entity":"ticker"}
    - [ASML]{"entity":"ticker"}
    - [CMCSA]{"entity":"ticker"}
    - [XOM]{"entity":"ticker"}
    - [TM]{"entity":"ticker"}
    - [KO]{"entity":"ticker"}
    - [PEP]{"entity":"ticker"}
    - [PFE]{"entity":"ticker"}
    - [CSCO]{"entity":"ticker"}
    - [INTC]{"entity":"ticker"}
    - [NKE]{"entity":"ticker"}
    - [ORCL]{"entity":"ticker"}
    - [ADBE]{"entity":"ticker"}
    - [CVX]{"entity":"ticker"}
    - [T]{"entity":"ticker"}
    - [NVS]{"entity":"ticker"}
    - [ABT]{"entity":"ticker"}
    - [ACN]{"entity":"ticker"}
    - [HON]{"entity":"ticker"}
    - [MCD]{"entity":"ticker"}
    - [UL]{"entity":"ticker"}
    - [PM]{"entity":"ticker"}
    - [QCOM]{"entity":"ticker"}
    - [JPM]{"entity":"ticker"}
    - current price of [AAPL]{"entity":"ticker"}
    - tell me current price of [MMM]{"entity":"ticker"}
    - I want to know the current price of [NIFTY]{"entity":"ticker"}
    - tell me about the current price of [HDFC]{"entity":"ticker"}
    - Can you tell me the current price of [HDB]{"entity":"ticker"}
    - current price of [KOTAKBANK.NS]{"entity":"ticker"}
    - Please tell me the current price of [ZM]{"entity":"ticker"}

This part should come in domain.yml and nlu: part should have come in nlu.yml

Please ref doc: Domain | Training Data Format

Can be the issue as I never mentioned both in same file.

Even I m facing same issue 2.8.1 entities not getting recognised almost 40+ examples are given yet

Some values it recognises if new word is replaced it fails to understand it is also entity