mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-05 17:00:44 +08:00
Update extract.ts
This commit is contained in:
parent
9512d81e05
commit
d196b9d93d
@ -32,6 +32,13 @@ const MAX_EXTRACT_LIMIT = 100;
|
||||
const MAX_RANKING_LIMIT = 10;
|
||||
const SCORE_THRESHOLD = 0.75;
|
||||
|
||||
/**
|
||||
* Extracts data from the provided URLs based on the request parameters.
|
||||
* Currently in beta.
|
||||
* @param req - The request object containing authentication and extraction details.
|
||||
* @param res - The response object to send the extraction results.
|
||||
* @returns A promise that resolves when the extraction process is complete.
|
||||
*/
|
||||
export async function extractController(
|
||||
req: RequestWithAuth<{}, ExtractResponse, ExtractRequest>,
|
||||
res: Response<ExtractResponse>
|
||||
|
Loading…
x
Reference in New Issue
Block a user