We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de7c35c commit 2299504Copy full SHA for 2299504
nemoguardrails/actions/llm/generation.py
@@ -130,7 +130,7 @@ async def init(self):
130
self._init_flows_index(),
131
)
132
133
- def _extract_user_message_example(self, flow: Flow) -> None:
+ def _extract_user_message_example(self, flow: Flow):
134
"""Heuristic to extract user message examples from a flow."""
135
elements = [item for item in flow.elements if item["_type"] != "doc_string_stmt" and item["_type"] != "stmt"]
136
if len(elements) != 2:
0 commit comments