This commit is contained in:
23
packages/elixir/lib/kreuzberg/ocr_pipeline_config.ex
generated
Normal file
23
packages/elixir/lib/kreuzberg/ocr_pipeline_config.ex
generated
Normal file
@@ -0,0 +1,23 @@
|
||||
# This file is auto-generated by alef — DO NOT EDIT.
|
||||
# alef:hash:4e15143f4af1ae8bafbdb1506ef057da924484c66a19483966333558ad437e75
|
||||
# To regenerate: alef generate
|
||||
# To verify freshness: alef verify --exit-code
|
||||
# Issues & docs: https://github.com/kreuzberg-dev/alef
|
||||
defmodule Kreuzberg.OcrPipelineConfig do
|
||||
@moduledoc """
|
||||
Multi-backend OCR pipeline with quality-based fallback.
|
||||
|
||||
Backends are tried in priority order (highest first). After each backend
|
||||
produces output, quality is evaluated. If it meets `quality_thresholds.pipeline_min_quality`,
|
||||
the result is accepted. Otherwise the next backend is tried.
|
||||
"""
|
||||
|
||||
@typedoc "Multi-backend OCR pipeline with quality-based fallback."
|
||||
@type t :: %__MODULE__{
|
||||
stages: [map()],
|
||||
quality_thresholds: map()
|
||||
}
|
||||
|
||||
defstruct stages: [],
|
||||
quality_thresholds: nil
|
||||
end
|
||||
Reference in New Issue
Block a user