mirror of
https://github.com/VinciGit00/Scrapegraph-ai.git
synced 2026-07-01 21:00:48 +08:00
fix: generate answer node pdf has a bug
This commit is contained in:
parent
4c723858e6
commit
625ca9f22a
@ -114,7 +114,7 @@ class GenerateAnswerPDFNode(BaseNode):
|
|||||||
template=template_no_chunks_pdf_prompt,
|
template=template_no_chunks_pdf_prompt,
|
||||||
input_variables=["question"],
|
input_variables=["question"],
|
||||||
partial_variables={
|
partial_variables={
|
||||||
"context":chunk,
|
"context":doc,
|
||||||
"format_instructions": format_instructions,
|
"format_instructions": format_instructions,
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user