Metadata field should be passed through the input channel
See original GitHub issueTo use metadata with the input channel, you currently have to overwrite several functions in the RestInputChannel
(e.g. receive
, stream_response
, on_message_wrapper
).
Potential Solution:
- Would be cool if we implement a function
get_metadata(request)
which returnsNone
by default, and can be overwritten to return adict
of metadata stream_response
,on_message_wrapper
should pass on a potentialmetadata
object toUserMessage
by default
https://github.com/RasaHQ/rasa/blob/master/rasa/core/channels/channel.py#L398
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Passing through ID3 metadata - AWS Elemental MediaLive
You can set up outputs so that ID3 metadata that is in the channel input is automatically passed through to the output. To...
Read more >Can I pass metadata through Vue Formulate's schema API ...
The solution so far: I'm using Vue Formulate's schema API to generate fields. In Vue Formulate's options, I can conditionally add a class...
Read more >How to pass metadata in POST request and then extract it?
Hi, I want to pass some extra data in POST request. ... an issue open for this: Metadata field should be passed through...
Read more >Metadata basics and actions in Lightroom Classic
You can edit all visible metadata fields in the Metadata panel by enabling the Edit-Only mode. The current metadata values are not displayed...
Read more >Format events for HTTP Event Collector - Splunk Documentation
Each request can contain a HEC token, a channel identifier header, event metadata, or event data, depending on whether your events are raw ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
would be good if all the supported channels did this by default also
Thanks!
In my opinion that’s too much guessing. It would add a lot of overhead for certain channels to the tracker which is only required by a small subset of people. Hence, I’d prefer if we rather clarify how to quickly extend an input channel to get the required information.