Replies - Activity - Hajer - Rasa Community Forum

Main Content

Posts by Hajer

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

Category: Rasa Open Source
Date: Aug 30, 2022
Hi everyone, my problem is similar to yours but i have the error message :
AgentNotReady:

Sentiment analysis graph custom component

Category: Rasa Open Source
Date: Jan 4, 2022
Thank you very much

Custom graph component

Category: Rasa Open Source
Date: 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

Custom graph component

Category: Rasa Open Source
Date: Dec 21, 2021
Thank you Nik202. I tried to do what you had tell to Fares. I run shell --debug and i have this in my screen :
021-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 2021-12-21 16:21:36 DEBUG h5py._conv -...

Custom graph component

Category: Rasa Open Source
Date: Dec 21, 2021
it wasn’t but when i put sentiment.py in action folder, it gives me the same error.

Custom graph component

Category: Rasa Open Source
Date: Dec 21, 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?

Custom graph component

Category: Rasa Open Source
Date: Dec 16, 2021
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.

Custom graph component

Category: Rasa Open Source
Date: Dec 16, 2021
did
import nltk from nltk.sentiment.vader import SentimentIntensityAnalyzer
I put the two code in one code. i hope it’s okay now.
Thank you for your help

Custom graph component

Category: Rasa Open Source
Date: Dec 16, 2021
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

from rasa.models import SentimentIntensityAnalyzer

Custom graph component

Category: Rasa Open Source
Date: Dec 16, 2021
Graph component is here to connect a new node with other components.
In graphcomponent class, i put : from nltk.sentiment.vader import SentimentIntensityAnalyzer
In sentiment.py i don’t know how to call SentimentIntensityAnalyzer…
do i have to put from rasa.models import SentimentIntensityAnalyzer ?...

Introducing entity roles and groups

Category: Release Announcements
Date: Dec 8, 2020
Hello @Tanja, it’s finally work for me For now, it’s ok. If i have any problem i will open a new thread about it. Thank you very much

Introducing entity roles and groups

Category: Release Announcements
Date: Dec 4, 2020
Thank you, i modified my .md files but the NLU doesn’t seem to recognize the group.
I modified my files like that :
intent:infos

J’ai acheté 145 [pommes]{"entity": "type_food", "group": "Fruits"} je veux acheter de la [viande hachée]{"entity": "type_food", "group": "Viande"}

Entity extraction regexentityextractor

Category: Rasa Open Source
Date: Dec 1, 2020
Yes i know that. I will try something else … But in my case, RegexFeaturizer don’t seem to help DietClassifier … It is not working at all… I will try something else … Thank you

Entity extraction regexentityextractor

Category: Rasa Open Source
Date: Dec 1, 2020
My pipeline is like that :
language: "fr" pipeline:

name: WhitespaceTokenizer name: RegexFeaturizer name: RegexEntityExtractor use_regexes: True name: LexicalSyntacticFeaturizer name: CountVectorsFeaturizer name: CountVectorsFeaturizer analyzer: "char_wb" min_ngram: 1 max_ngram: 4 name: DIETClas...

Email classification

Category: Rasa Open Source
Date: Oct 23, 2020
Thank you, i am working on it. It 's already better.
I am using this one now :
language: "fr" pipeline:

name: WhitespaceTokenizer name: RegexFeaturizer name: RegexEntityExtractor use_regexes: True name: "CRFEntityExtractor" name: LexicalSyntacticFeaturizer name: CountVectorsFeaturizer name: CountVectorsFeaturizer analyzer: "char_wb" min_n...

Email classification

Category: Rasa Open Source
Date: Oct 20, 2020
It’s a very simple example, but in a lot of case, the e-mail is much longer than this one

Email classification

Category: Rasa Open Source
Date: Oct 20, 2020
For example : ##################################################################### Test n° 1 en 650 ms pour “Bonjour, je suis Madame Ludivine, numéro d’adhérent : 1\1256325, je vous met ci-joint mon rib vous pouvez-joindre au : 06 32 14 89 12”: Intentions trouvées : modif_RIB (confiance : 0.998...

Email classification

Category: Rasa Open Source
Date: Oct 20, 2020
Hello, i am using french language with this pipeline
language: "fr" pipeline:

name: WhitespaceTokenizer name: RegexFeaturizer name: "CRFEntityExtractor" name: LexicalSyntacticFeaturizer name: EntitySynonymMapper name: CountVectorsFeaturizer name: CountVectorsFeaturizer analyzer: "char_wb" min_n...