Questions tagged [rasa-sdk]

46 questions
2
votes
1 answer

How to edit and confirm form slots in Rasa framework?

I'm building a booking bot using Python and Rasa. I want to add a confirmation step when user fills in all slots in my form. The requirements are: User may confirm the values. User may change the values. Bot must be expandable to handling other…
2
votes
0 answers

Unable to execute the command rasa run actions

I am using python 3.10.11 and rasa 3.6.0 After editing actions.py file by adding custom action code when I try to execute rasa run actions I am getting an error ModuleNotFoundError: No module named 'rasa_sdk_plugins' Hence the code isn't getting…
1
vote
0 answers

Rasa - ‘from_entity’ mapping for a non-existent entity

This Rasa issue seems to not really be described by the “Warning” (and the “Warning” in this case is effectively an error). It has this message for every slot and entity: /rasa/shared/utils/io.py:99: UserWarning: Slot ‘name’ uses a ‘from_entity’…
Hack-R
  • 22,422
  • 14
  • 75
  • 131
1
vote
0 answers

Dynamic beahavior in Rasa Forms

Hi am experiencing trouble implementing the dynamic behavior. Here is my code class ValidatehivNotPregForm(FormValidationAction): def name(self) -> Text: return "validate_NotPreg_form" async def required_slots( self, …
emmasa
  • 177
  • 2
  • 7
1
vote
1 answer

Can I load my Rasa NLU model stored in AWS S3 in Rasa server using a python script?

I have trained a Rasa NLU model for intent classification and entity extraction and uploaded it to a S3 bucket. Now how do I load it to Rasa Server using a python script? For example, using a CLI cmd: rasa run --model spacynlu.tar.gz…
Niles
  • 11
  • 2
1
vote
3 answers

Out of memory Error while training Rasa/LaBSE

I want to train rasa/LaBSE from the LanguageModelFeaturizer. I have followed the steps in the docs and did not change the default training data. My config file looks like: # The config recipe. #…
aamra
  • 11
  • 3
1
vote
0 answers

How to use 'categorical slot' in form in rasa 3.x?

I was trying to use 'categorical slot' in form in rasa 3.x but its not working as per the rasa 2.x 'categorical slot' . How to use 'categorical slot' in 'rasa 3.x' in correct way? I was using 'categorical slot' in rasa 3.x as below…
1
vote
1 answer

Rasa threshold implementation

I wanted an implementation where if the confidence of an intent is below say, 0.6 then a particular action to be invoked and perform an API call, from there on I want to be able to either execute custom action or continue with the intent which was…
Ali
  • 289
  • 4
  • 10
0
votes
1 answer

Rasa Action Server failing with ModuleNotFound error in Docker compose

I am trying to deploy a Rasa server and Rasa action server and it fails with the error 2023-08-21 13:38:47 INFO rasa_sdk.endpoint - Starting action endpoint server... 2023-08-21 13:38:47 ERROR rasa_sdk.executor - Failed to register package…
Peter Abolude
  • 87
  • 1
  • 1
  • 11
0
votes
0 answers

Rasa custom actions does not return lists in the shell

I am making a Rasa chatbot that recommend movies ,with a dataset of 10,000 movies. there is 4 entities in the nlu and 4 slots for every one of them. the bot askes the user about the movie genre and the user is expected to answer something like…
0
votes
0 answers

Rasa SocketIO - How to wait for the socket reply and provide the response in a more synchronous way?

I use this validation to send and receive messages between the client HTML chat and the rasa chatbot. I am using threads to wait for the socket to receive a message, but this is blocking the code from running, when for example 2 chats are…
0
votes
0 answers

Why Rasa agent is not maintaining state of conversation for forms?

I have trained RASA for sample form data with multiple slots. The trained model for the forms is working in RASA shell,but when i loaded the same model in agent,agent is not maintaining the state of conversation from rasa.core.agent import…
0
votes
2 answers

What will happen if I clear the slots of a form in RASA?

I want to iterate over a form until a slot value does not become true. I know that a form will continue to ask the questions in its required slots until they are filled. So, if I clear all the slots at the end of the form, will the form start over…
Rishikesh
  • 115
  • 1
  • 8
0
votes
1 answer

Iterate over a story in RASA until a slot condition is met

I want to iterate over my story until a slot_value condition is met. Below is my story - - story: spending form story steps: - action: utter_examine_spending - action: fixed_spending_form - active_loop: fixed_spending_form - active_loop:…
Rishikesh
  • 115
  • 1
  • 8
0
votes
1 answer

Deactivate the Rasa form in middle of Form Validation when an intent is triggered

Hey geniuses out there, I recently started doing work on RASA and came across a problem and wondering if that could be solved. I have a form called ‘registration_form’, which takes necessary signup details from a user. All the slots in the form are…
1
2 3 4