diff --git a/specs/llmwhisperer.json b/specs/llmwhisperer.json index bef1fdd..1cd64d2 100644 --- a/specs/llmwhisperer.json +++ b/specs/llmwhisperer.json @@ -1549,7 +1549,8 @@ "schema": { "default": 10.0, "type": "number" - } + }, + "x-internal": true }, { "in": "query", @@ -1585,7 +1586,8 @@ "schema": { "default": false, "type": "boolean" - } + }, + "x-internal": true }, { "in": "query", @@ -1662,7 +1664,8 @@ "schema": { "default": 0.0, "type": "number" - } + }, + "x-internal": true }, { "in": "query", @@ -1671,8 +1674,6 @@ "schema": { "default": "form", "enum": [ - "document_insights", - "excel", "form", "high_quality", "low_cost", @@ -1689,9 +1690,7 @@ "schema": { "default": "layout_preserving", "enum": [ - "dump-text", "layout_preserving", - "line-printer", "text" ], "type": "string" diff --git a/src/unstract/llmwhisperer/_sdk_llmwhisperer/models/extract_mode.py b/src/unstract/llmwhisperer/_sdk_llmwhisperer/models/extract_mode.py index 660564e..97aa933 100644 --- a/src/unstract/llmwhisperer/_sdk_llmwhisperer/models/extract_mode.py +++ b/src/unstract/llmwhisperer/_sdk_llmwhisperer/models/extract_mode.py @@ -1,11 +1,9 @@ # Generated by tools/gen_sdk.sh from specs/llmwhisperer.json. DO NOT EDIT. from typing import Literal -ExtractMode = Literal["document_insights", "excel", "form", "high_quality", "low_cost", "native_text", "table"] +ExtractMode = Literal["form", "high_quality", "low_cost", "native_text", "table"] EXTRACT_MODE_VALUES: set[ExtractMode] = { - "document_insights", - "excel", "form", "high_quality", "low_cost", diff --git a/src/unstract/llmwhisperer/_sdk_llmwhisperer/models/extract_output_mode.py b/src/unstract/llmwhisperer/_sdk_llmwhisperer/models/extract_output_mode.py index 87757bc..33402a0 100644 --- a/src/unstract/llmwhisperer/_sdk_llmwhisperer/models/extract_output_mode.py +++ b/src/unstract/llmwhisperer/_sdk_llmwhisperer/models/extract_output_mode.py @@ -1,12 +1,10 @@ # Generated by tools/gen_sdk.sh from specs/llmwhisperer.json. DO NOT EDIT. from typing import Literal -ExtractOutputMode = Literal["dump-text", "layout_preserving", "line-printer", "text"] +ExtractOutputMode = Literal["layout_preserving", "text"] EXTRACT_OUTPUT_MODE_VALUES: set[ExtractOutputMode] = { - "dump-text", "layout_preserving", - "line-printer", "text", } diff --git a/tools/gen_sdk.sh b/tools/gen_sdk.sh index fb9b8d6..d1299f4 100755 --- a/tools/gen_sdk.sh +++ b/tools/gen_sdk.sh @@ -15,7 +15,7 @@ REPO="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" # here, so the next refresher can tell what they are replacing. SPEC_SOURCE_REPO="Zipstack/unstract-llm-whisperer" SPEC_SOURCE_PATH="specs/llmwhisperer.json" -SPEC_SOURCE_REV="750f941ee229e12cc05d8bd85edaab6a337a8758" +SPEC_SOURCE_REV="c4cc7f1426612a5489f40c5948bb198f89f19c9f" VENV="$REPO/.gen-venv" # The generator shells out to ruff for its own post-processing. Without this it