A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Correct get_tool_calls_from_response signature
shamoon948c664dcfe7
diff --git a/src/paperless_ai/client.py b/src/paperless_ai/client.pyindex 57eedaa75..2b66bfd9b 100644--- a/src/paperless_ai/client.py+++ b/src/paperless_ai/client.py@@ -52,7 +52,7 @@ class AIClient:)tool_calls = self.llm.get_tool_calls_from_response(result,- error_on_no_tool_calls=True,+ error_on_no_tool_call=True,)logger.debug("LLM query result: %s", tool_calls)parsed = DocumentClassifierSchema(**tool_calls[0].tool_kwargs)