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.

Embed model identifier in events

See original GitHub issue

Description of Problem: Original issue: https://github.com/RasaHQ/rasa/issues/8815#issuecomment-863979685

We need a unique model identifier in each event caused by a model in order to tie model predictions to a model

Overview of the Solution:

  1. Create unique id for each trained model and embed it in the fingerprint.json (or a different file if the graph model is already underway)
  2. Attach this unique model ID to the metadata field of every event caused by this model

Definition of Done:

  • Models include a unique ID
  • Every event caused by predictions of a model includes this ID in its metadata

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
rudolfixcommented, Jul 2, 2021

ok got it! just looked what is already in model archive and now I understand it, thanks!

0reactions
wochingecommented, Jul 2, 2021

Why do you want to create the fingerprint in the SDK yourself?

It will work as follows

  1. We assign each model a unique ID
  2. Whenever we update a tracker with new events we attach the unique model ID (this includes events created in the SDK, through the API, or internally)
  3. All persisted / published events will have this ID as part of their payload

How we handle it in Rasa X is up to the teams working on Rasa X. In theory they’d add a column to the model table which tracks the unique ID for each model in the database + have a column model_id on conversation_event. They then can tie each event to a specific model.

Read more comments on GitHub >

github_iconTop Results From Across the Web

C# Coding Events 2.3 Add Model Identifier - YouTube
This educational video was created for use in LaunchCode's in-person training programs. LaunchCode is unable to respond to comments on these ...
Read more >
Event Identifiers (Event Logging) - Win32 apps - Microsoft Learn
Event identifiers uniquely identify a particular event. Each event source can define its own numbered events and the description strings to ...
Read more >
14.3. Models and Data - LaunchCode Education
In coding-events , we add a unique identifier field to Events to better handle and track distinct Event instances. We'll also create another...
Read more >
Document Embedding Enhanced Event Detection with ...
This model first learns event detection oriented embeddings of documents through a hierarchical and supervised attention based RNN, which pays word-level ...
Read more >
Embedded JavaScript events | Looker - Google Cloud
The full dashboard URL. dashboard.dashboard_filters, Object, The filters applied to the dashboard. This object has the format: {"Filter name 1" ...
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