diff --git a/apps/api/openapi.json b/apps/api/openapi.json index a466e50b..bb271976 100644 --- a/apps/api/openapi.json +++ b/apps/api/openapi.json @@ -92,8 +92,8 @@ "properties": { "mode": { "type": "string", - "enum": ["llm-extraction"], - "description": "The extraction mode to use, currently supports 'llm-extraction'" + "enum": ["llm-extraction", "llm-extraction-from-raw-html"], + "description": "The extraction mode to use. llm-extraction: Extracts information from the cleaned and parsed content. llm-extraction-from-raw-html: Extracts information directly from the raw HTML." }, "extractionPrompt": { "type": "string", diff --git a/apps/js-sdk/firecrawl/types/index.d.ts b/apps/js-sdk/firecrawl/types/index.d.ts index 9e6f18cd..91a58043 100644 --- a/apps/js-sdk/firecrawl/types/index.d.ts +++ b/apps/js-sdk/firecrawl/types/index.d.ts @@ -107,7 +107,7 @@ export interface Params { [key: string]: any; extractorOptions?: { extractionSchema: z.ZodSchema | any; - mode?: "llm-extraction"; + mode?: "llm-extraction" | "llm-extraction-from-raw-html"; extractionPrompt?: string; }; }