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 aa184aa commit 8e5ba29Copy full SHA for 8e5ba29
apps/application/flow/step_node/document_extract_node/impl/base_document_extract_node.py
@@ -38,6 +38,11 @@ def bytes_to_uploaded_file(file_bytes, file_name="file.txt"):
38
splitter = '\n`-----------------------------------`\n'
39
40
class BaseDocumentExtractNode(IDocumentExtractNode):
41
+ def save_context(self, details, workflow_manage):
42
+ self.context['content'] = details.get('content')
43
+ self.answer_text = details.get('content')
44
+
45
46
def execute(self, document, chat_id, **kwargs):
47
get_buffer = FileBufferHandle().get_buffer
48
0 commit comments