Assistance Needed with Integrating Rasa Chatbot, Node-RED, and SQLite

Hello Rasa Community,

I am currently working on a project that involves integrating a Rasa Chatbot with Node-RED for executing SQLite database queries. As I’m quite new to this, I’ve encountered some challenges and would greatly appreciate any guidance or advice from the community. Here’s what I’ve done so far and where I’m facing issues:

  1. Project Setup:
  • I’ve created a Rasa Chatbot using the basic setup without any Python code, mainly using .yml files. The setup is based on the “Moodbot” example from Rasa.
  • In Node-RED, I’m using two plugins: node-red-contrib-rasa-actionserver to establish an interface between Node-RED and Rasa, and node-red-node-sqlite for performing simple queries on a local SQLite database.
  1. Current Status:
  • The SQLite query I intend to run is: SELECT * FROM DATA ORDER BY TIMESTAMP.
  • I’m struggling to set up the communication between the Rasa Chatbot and Node-RED correctly, particularly with configuring the HTTP nodes (http in and http response) in Node-RED and ensuring they work seamlessly with Rasa actions.
  1. Specific Challenges:
  • I’m unsure how to correctly define and use the http in and http response nodes in Node-RED to handle requests from the Rasa chatbot.
  • I’ve also encountered a validation error in Rasa stating “Project validation completed with errors,” and I’m struggling to pinpoint the exact issue.
  • I’m having a issue with understanding how the custom actions work and how I integrate them into my .yml file. Especially when it comes to where do i invoice that class from my custom action? I tried to connect via that custom action to Node-Red, but didnt work

I’m seeking advice on the following:

  • Detailed steps for configuring Node-RED nodes, especially the HTTP nodes, to work with Rasa.
  • Insights into troubleshooting the Rasa validation error.
  • Any best practices or tips for beginners in integrating Rasa with Node-RED and SQLite.

I uploaded the .yml files and the actions.py files that I changed

Any help or suggestions would be highly appreciated. I’m eager to learn and make progress in this exciting project.

Thank you in advance!