当前位置: 首页 > 工具软件 > Rasa > 使用案例 >

Rasa Rasa-ui

司空鸿禧
2023-12-01

Training Data Format (rasa.com)

rasa ui

Git paschmann/rasa-ui: Rasa UI is a frontend for the Rasa Framework (github.com)

来自其readme----------------------------------------------------------------------------------------------------

Getting Started

Rasa UI can run on your Rasa instance, or on a separate machine. Technically Rasa is not required, you could just use the UI for managing training data.

Prerequisites

Node.js/npm - Serves Rasa UI - Required

Rasa - Developed against Version 1.2+ - Optional

Installing

  1. Clone/download the Rasa UI repository or a release
  2. Install npm packages.
  3. Set Rasa Server variable in package.json
git clone https://github.com/paschmann/rasa-ui.git
cd rasa-ui
npm install

Running

Run npm start from the server folder (rasa-ui)

npm start

Your web application should be available on http://localhost:5001

----------------------------------------------------------------------------------------------------------------------------

需要安装npm、mysql(网址在上),npm也需要vs环境(至少要搭载使用C++的桌面开发工具箱,至可以从vs installer修改配置)

npm遇到的问题

以下命令都在server文件的cmd打开的

Node.js Error: Cannot find module express的解决办法 - hello芳芳 - 博客园 (cnblogs.com)

npm start 前一天可以跑,但是第二天出现了更多的报错,主要是和package-lock.json有关

[Fixed] npm WARN old lockfile The package-lock.json file was created with an old version of npm - CNPUBF.Com

npm版本不匹配,downgrade为npm@6

node.js - npm WARN old lockfile The package-lock.json file was created with an old version of npm - Stack Overflow

还是有报错,先删去了packege-lock.json,运行npm install命令

npm WARN deprecated mkdirp@0.5.1: Legacy versions of mkdirp are no longer supported. Please updat... - 简书 (jianshu.com)

其他

开源智能聊天机器人rasa以及前端rasa-ui开发部署记录 - 金刀3691 - 博客园 (cnblogs.com)

 类似资料: