All - Activity - Hajer - Rasa Community Forum

Conversation on Rasa Issues

Thread: AttributeError: 'coroutine' object has no attribute 'handle_text'

Aug 30, 2022

Hi everyone, my problem is similar to yours but I have the error message:

AgentNotReady:

Thread: Sentiment analysis graph custom component

Jan 4, 2022

Thank you very much!

Hi, i implemented a pretrained model for sentiment analysis with vadersentiment.

    def convert_to_rasa():
        entity = {"value": value,
                   "confidence": confidence,
                   "entity": "sentiment",
                   "extractor": "sentiment_extractor"}

return entity…

Thread: Custom graph component

Dec 21, 2021

@nik202 thank you, I will replace the code of sentiment.py by the code of new custom action. I think it will be more logical. because now it’s not working about displaying sentiment of text

Thank you Nik202. I tried to do what you told to Fares. I run shell --debug and I have this on my screen:

2021-12-21 16:21:36 DEBUG h5py._conv - Creating converter from 7 to 5
2021-12-21 16:21:36 DEBUG h5py._conv - Creating converter from 5 to 7

Thread: Custom graph component

Dec 16, 2021

ImportError: Cannot retrieve class from path sentiment.SentimentIntensityAnalyzer. I have this error now :’( I have a file named sentiment.py when I put a SentimentIntensityAnalyzer class inside. Normally it’s okay no?

when I run my code, I got this message:

GraphSchemaValidationException: Your model uses a graph component ‘SentimentAnalyzer’ which does not have the required method ‘provide’. Please make sure you’re either using the right component or that your component is registered with the correct component type.

import nltk
from nltk.sentiment.vader import SentimentIntensityAnalyzer

Yes okay

from __future__ import annotations
from typing import Dict, Text, Any
from rasa.engine.graph import GraphComponent, ExecutionContext
from rasa.engine.storage.resource import Resource
from rasa.engine.storage.storage import ModelStorage

Graph component is here to connect a new node with other components.

Thank you Nik202 but the version of Rasa is 2 not 3. I already read it.

Hi, i am using Rasa 3 but I didn’t manage to implement a sentiment analysis vader sentiment. I didn’t understand how it works… Is it possible to have a detailed tutorial about it? How to use graph component? How to find the way to put from something import SentimentAnalyzer?

Thread: Problem intent/entities

Jan 8, 2021

Hello everyone, I wish you all a happy new year. I have a problem. In my training set, I have two sections of intent and name’s entity. The name entity when it is in one of the sections led the recognition of intent of a new message… I don’t know if it’s clear ^^ But I want to know if there is a way to enhance this?

Thread: Entity Groups and role

Dec 9, 2020

Hello Rasa community, I am working with entity groups and I am faced with a scenario when an entity can be part of two groups. But how can I do to train the NLU correctly? Can I do like that:

I want to buy a [mobile]{"entity" : "type", "group":"informatics","group":"Little_Furnitures"}

Thank you!

Thread: Introducing entity roles and groups

Dec 8, 2020

Hello @Tanja, it finally works for me! For now, it’s okay. If I have any problem, I will open a new thread about it. Thank you very much

Thread: Email classification

Oct 23, 2020

Thank you, I am working on it. I am using this one now:

language: "fr"
pipeline:
  - name: WhitespaceTokenizer
  - name: RegexFeaturizer
  - name: RegexEntityExtractor
    use_regexes: True
  - name: "CRFEntityExtractor"