Extraction Configuration
Optional Features Configuration
inference_params = InferenceParameters(
# ID of the model, required.
model_id="MY_MODEL_ID",
# Optional Features: set to `True` or `False` to override defaults
# Enhance extraction accuracy with Retrieval-Augmented Generation.
rag=None,
# Extract the full text content from the document as strings.
raw_text=None,
# Calculate bounding box polygons for all fields.
polygon=None,
# Boost the precision and accuracy of all extractions.
# Calculate confidence scores for all fields.
confidence=None,
# ... any other options ...
)const modelParams = {
// ID of the model, required.
modelId: "MY_MODEL_ID",
// Optional Features: set to `true` or `false` to override defaults
// Enhance extraction accuracy with Retrieval-Augmented Generation.
rag: undefined,
// Extract the full text content from the document as strings.
rawText: undefined,
// Calculate bounding box polygons for all fields.
polygon: undefined,
// Boost the precision and accuracy of all extractions.
// Calculate confidence scores for all fields.
confidence: undefined,
// ... any other options ...
};Dynamic Model Options
Text Context
Data Schema
Code Sample
Last updated
Was this helpful?


