question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

support for training data fetched from DB

See original GitHub issue

I like this idea, suggested by @3x14159265 of being able to load training data from a DB rather than a json file. Primarily because a DB is a more flexible & robust way to store that data, and not because of performance.

If possible, I don’t want rasa NLU to dictate what database people use to store their stuff. So maybe we can create an abstract TrainingDataLoader class, from which everything else derives, including the ones which read json files. Then users can subclass that to read from whichever DB they like.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:3
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
dinal24commented, Apr 27, 2017

Hey @tmbo Thanks for the insights!

I’d like to keep that and rather separate model persistence and data loading

I think in this case, we do something like introducing AbstractDataLoader which gets implemented for loading training data from file-system or mongo-db.AbstractPersistor for persistance will include, aws, gcs, & mongo-db (no change in the current implementation except, introducing a mongo-db class).

0reactions
anushka17agarwalcommented, Jan 12, 2021

Can we find these updates and how to use them in the documentation?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fetch and display data from the database in OutSystems
It's time to load some data to the Screen. Go to Interface > UI Flows > Main Flow, and then right-click your Home...
Read more >
Best Practices When Fetching Data from a Database - Anant
Let's look at how we can use different techniques for faster, more maintainable code! Ensure you are familiar with asynchronous execution before trying...
Read more >
How to Fetch Data using API and SQL databases!
We are going to learn fetching data from an API and how you can use SQL databases to extract data and save it...
Read more >
Fetch training data | Vertex AI | Google Cloud
Fetch feature values for model training​​ For model training, you need a training data set that contains examples of your prediction task. These...
Read more >
Different ways to fetch records from External Database
we can fetch the results from External Database by using below ways. 1. RDB-List method in activity- It is used to retrieve rows...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found