I’m doing like that:
dispatcher.utter_message(image= 'https://dvtb78sd925mn.cloudfront.net/wp-content/uploads/2018/10/15110630/exemplo-marketing-de-relacionamento.png')
But rasa x is not showing the image
I’m doing like that:
dispatcher.utter_message(image= 'https://dvtb78sd925mn.cloudfront.net/wp-content/uploads/2018/10/15110630/exemplo-marketing-de-relacionamento.png')
But rasa x is not showing the image
Can you post the output you’re seeing in Rasa X?
The code
# This files contains your custom actions which can be used to run
# custom Python code.
#
# See this guide on how to implement these action:
# https://rasa.com/docs/rasa/core/actions/#custom-actions/
# This is a simple example for a custom action which utters "Hello World!"
from typing import Any, Text, Dict, List
from rasa_sdk import Action, Tracker
from rasa_sdk.executor import CollectingDispatcher
class ActionHelloWorld(Action):
def name(self) -> Text:
return "action_hello_world"
def run(self, dispatcher: CollectingDispatcher,
tracker: Tracker,
domain: Dict[Text, Any]) -> List[Dict[Text, Any]]:
dispatcher.utter_message(text="Hello World!")
dispatcher.utter_message(image= 'https://dvtb78sd925mn.cloudfront.net/wp-content/uploads/2018/10/15110630/exemplo-marketing-de-relacionamento.png')
return []
In rasa x:
In rasa shell:
@joicepreuss which version of Rasa X are you using?
Rasa-x - 0.25.2.
I have try with the Rasa-webchat
and works, so I will use it. But I don’t understand what happened with rasa x.
Would you be able to create an isuse for this on our rasa
github repo? Sounds like a potential bug
Hi @joicepreuss,
May I know how you set up endpoint for custom actions (actions.py) in Rasa X? Thanks, AV
action_endpoint: url: “http://localhost:5055/webhook”
i too have the same issue. How did you solved it?
Any update on this ? I am also facing the same issue. Not able to return a local image from Custom Action Server.