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 dc1340e commit 1705046Copy full SHA for 1705046
scrapegraphai/graphs/pdf_scraper_graph.py
@@ -119,4 +119,4 @@ def run(self) -> str:
119
inputs = {"user_prompt": self.prompt, self.input_key: self.source}
120
self.final_state, self.execution_info = self.graph.execute(inputs)
121
122
- return self.final_state.get("answer", "No answer found.")
+ return self.final_state.get("answer", "No answer found.")[0]
0 commit comments