Skip to content

Commit 625ca9f

Browse files
committed
fix: generate answer node pdf has a bug
1 parent 4c72385 commit 625ca9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scrapegraphai/nodes/generate_answer_pdf_node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def execute(self, state):
114114
template=template_no_chunks_pdf_prompt,
115115
input_variables=["question"],
116116
partial_variables={
117-
"context":chunk,
117+
"context":doc,
118118
"format_instructions": format_instructions,
119119
},
120120
)

0 commit comments

Comments
 (0)