feat:add summary label

This commit is contained in:
aries_ckt
2023-11-14 22:35:11 +08:00
parent 85da219a0a
commit 62819107a5

View File

@@ -32,14 +32,14 @@ class ExtractRefineSummary(BaseChat):
} }
return input_values return input_values
# async def stream_call(self): async def stream_call(self):
# last_output = None last_output = None
# async for output in super().stream_call(): async for output in super().stream_call():
# last_output = output last_output = output
# yield output yield output
#
# last_output = f"<summary>{last_output}</summary>" last_output = f"<summary>{last_output}</summary>"
# yield last_output yield last_output
def stream_call_reinforce_fn(self, text): def stream_call_reinforce_fn(self, text):
"""return reference""" """return reference"""