Skip to content

Build AI methods with your coding agent, then run them anywhere: as an MCP for chatbots, as a webapp for people, or via API for your software.

fix/Avoid hard dependency to Mistral for OCR (#330)

Louis Choquel9d93639f6abe
diff --git a/.pipelex/inference/backends.toml b/.pipelex/inference/backends.toml
index f4a4005b9..35e9de016 100644
--- a/.pipelex/inference/backends.toml
+++ b/.pipelex/inference/backends.toml
@@ -56,4 +56,3 @@ api_key = "${FAL_API_KEY}"
[internal] # software-only backend, runs internally, without AI
enabled = true
-
diff --git a/.pipelex/inference/deck/overrides.toml b/.pipelex/inference/deck/overrides.toml
index d341ec7d2..a6e8a49c6 100644
--- a/.pipelex/inference/deck/overrides.toml
+++ b/.pipelex/inference/deck/overrides.toml
@@ -7,4 +7,3 @@
[llm.choice_overrides]
for_text = "disabled"
for_object = "disabled"
-
diff --git a/pipelex/libraries/pipelines/documents.plx b/pipelex/libraries/pipelines/documents.plx
index b37d2dd88..1b6ac1adf 100644
--- a/pipelex/libraries/pipelines/documents.plx
+++ b/pipelex/libraries/pipelines/documents.plx
@@ -17,7 +17,6 @@ inputs = { document = "PDF" }
output = "Page"
page_images = true
page_views = false
-ocr = "mistral-ocr"
[pipe.ocr_page_contents_and_views_from_pdf]
type = "PipeOcr"
@@ -26,5 +25,4 @@ inputs = { document = "PDF" }
output = "Page"
page_images = true
page_views = true
-ocr = "mistral-ocr"