Store all intents, responses, actions, and events into the database

Hi, i am working dockerized rasa 3.4.0. where i am trying to store all intents, responses, actions, and events into the database.

USE-CASE:

  • when user says: “HI” ( intent: greet )

the bot must fetch the corresponding response (utter_greet) of this intent (greet) from the database.

  • bot: “Hi How are you?” (action: utter_greet )

I used the Sql_Tracker. using this, i am only able store the events into the database. Can anyone help?

endpoints.yml

tracker_store:
  type: SQL
  dialect: "postgresql"  
  url: "postgres"
  db: "rasa"  
  username: "postgres" 
  password: "postgres"