Coder Social home page Coder Social logo

djypanda / rasa3-for-botfront Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rasahq/rasa

2.0 0.0 3.0 144.09 MB

Slightly change to fit 'botfront' frontend project.

Home Page: https://rasa.com/docs/

License: Apache License 2.0

Shell 0.08% Python 99.31% Makefile 0.21% HTML 0.06% HCL 0.08% Dockerfile 0.23% Jinja 0.02%

rasa3-for-botfront's Introduction

Before GO !!!

This rasa fork can not run in standalone mode.
It's a part of botfront-for-rasa3 project.
It requests configurations from botfront-for-rasa3 backend service. And also use botfront backend service as a response and track server.

Run in docker

  1. Get the sourcecode
git clone https://github.com/djypanda/rasa3-for-botfront.git
cd rasa3-for-botfront
  1. Build the docker image If you run into some build errors due to the network connection problem (especially in cn), just run this command again.
docker build -t rasa3-for-bf:v0.1 -f docker/Dockerfile.botfront .
  1. Check the image
docker images

You should get a output like this:

REPOSITORY             TAG       IMAGE ID       CREATED          SIZE
rasa3-for-bf           v0.1      3e604ad10384   43 seconds ago   2.33GB

Now rasa docker image is ready, go to botfront part for the next step;

Development Installation

  1. Download sourcecode and create virtual environment:
git clone https://github.com/djypanda/rasa3-for-botfront.git
cd rasa3-for-botfront
python3 -m venv ./venv
source ./venv/bin/activate
  1. Install poetry:
curl -sSL https://install.python-poetry.org | python3 -
  1. Install rasa:
poetry install
  1. Run rasa:
# Change this project id to the project id created in botfront frontend
export BF_PROJECT_ID=chitchat-9D1ct-aMp
# This URL is for rasa service to get endpoint/credential config from botfront service
export BF_URL=http://localhost:3000/graphql 
rasa run --cors * --debug --enable-api

rasa3-for-botfront's People

Contributors

tmbo avatar wochinge avatar tabergma avatar ghostvv avatar ricwo avatar erohmensing avatar m-vdb avatar amn41 avatar rasabot avatar alwx avatar dakshvar22 avatar akelad avatar ancalita avatar metcalfetom avatar indam23 avatar b-quachtran avatar samsucik avatar federicotdn avatar evgeniiaraz avatar msamogh avatar kedz avatar koaning avatar hotthoughts avatar dependabot[bot] avatar joejuzl avatar tttthomasssss avatar twerkmeister avatar howl-anderson avatar phlf avatar degiz avatar

Stargazers

 avatar Panda.Joey avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.