You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
📝 Add docstrings to feat/intent_transformers (#317)
Docstrings generation was requested by @JarbasAl.
* #316 (comment)
The following files were modified:
* `ovos_plugin_manager/templates/transformers.py`
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
e.g. NER could be performed here by modifying intent.match_data
123
+
Transforms the intent match object before the intent handler is triggered.
124
+
125
+
This method can be used to modify or inject data into the intent, such as performing named entity recognition (NER) or altering match data. By default, it returns the intent unchanged.
126
+
127
+
Args:
128
+
intent: The intent match object to be transformed.
129
+
130
+
Returns:
131
+
The transformed intent match object.
108
132
"""
109
133
returnintent
110
134
111
135
defdefault_shutdown(self):
112
-
""" perform any shutdown actions """
136
+
"""
137
+
Performs any necessary shutdown actions for the transformer.
138
+
139
+
Intended to be overridden by subclasses to implement cleanup procedures.
0 commit comments