mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-13 03:59:05 +08:00
Update for llm-extraction-from-raw-html
This commit is contained in:
parent
0175152577
commit
2d0d5ac392
@ -92,8 +92,8 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"mode": {
|
"mode": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": ["llm-extraction"],
|
"enum": ["llm-extraction", "llm-extraction-from-raw-html"],
|
||||||
"description": "The extraction mode to use, currently supports 'llm-extraction'"
|
"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": {
|
"extractionPrompt": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
2
apps/js-sdk/firecrawl/types/index.d.ts
vendored
2
apps/js-sdk/firecrawl/types/index.d.ts
vendored
@ -107,7 +107,7 @@ export interface Params {
|
|||||||
[key: string]: any;
|
[key: string]: any;
|
||||||
extractorOptions?: {
|
extractorOptions?: {
|
||||||
extractionSchema: z.ZodSchema | any;
|
extractionSchema: z.ZodSchema | any;
|
||||||
mode?: "llm-extraction";
|
mode?: "llm-extraction" | "llm-extraction-from-raw-html";
|
||||||
extractionPrompt?: string;
|
extractionPrompt?: string;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user