Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

Update for llm-extraction-from-raw-html

Eric Ciarla2d0d5ac39262
diff --git a/apps/api/openapi.json b/apps/api/openapi.json
index a466e50b5..bb2719760 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 9e6f18cde..91a58043d 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;
};
}