Skip to content

Instantly share code, notes, and snippets.

View Horizon733's full-sized avatar
🏠
Working from home

Dishant Gandhi Horizon733

🏠
Working from home
View GitHub Profile
@Horizon733
Horizon733 / Dockerfile
Last active November 10, 2022 14:38
Simple and easy Dockerfiile and docker-compose file for deploying rasa chatbot on any cloud platform
FROM python:3.7.7-stretch AS BASE
RUN apt-get update \
&& apt-get --assume-yes --no-install-recommends install \
build-essential \
curl \
git \
jq \
libgomp1 \
vim
@Horizon733
Horizon733 / actions.py
Last active August 29, 2023 13:57
How to add Carousels on Rasa-webchat by Botfront
class ActionCarousel(Action):
def name(self) -> Text:
return "action_carousels"
def run(self, dispatcher, tracker: Tracker, domain: "DomainDict") -> List[Dict[Text, Any]]:
message = {
"type": "template",
"payload": {
"template_type": "generic",
"elements": [