Closed souvikg10 closed 2 years ago
Hi @souvikg10 please see the section "Handling Lists of Messages During Inference in an NLU Component" in the migration guide. Does this cover what you're looking for?
Yeah that's exactly what i meant. I wonder how i missed it when i checked the documentation earlier.
Rasa Open Source version
3.0.0
Rasa SDK version
No response
Rasa X version
No response
Python version
3.8
What operating system are you using?
Linux
What happened?
In the version migration, one point which seems to be missing for custom components migration is the fact the
process
method now accepts List[Message] instead of previously accepted Message object if your components depends on the featurizers or even tokenizers .Could be a useful addition since
process
method is quite a significant one.def process(self, messages: List[Message]) -> List[Message]:
Also Curious as to why? I always assumed only one message is processed at a time.
Command / Request
No response
Relevant log output
No response