mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-12 19:49:10 +08:00
Nick: rm logs
This commit is contained in:
parent
56f048aeff
commit
994e1eb502
@ -184,7 +184,6 @@ export async function processUrl(
|
|||||||
// (link, index) => `${index + 1}. URL: ${link.url}, Title: ${link.title}, Description: ${link.description}`
|
// (link, index) => `${index + 1}. URL: ${link.url}, Title: ${link.title}, Description: ${link.description}`
|
||||||
// );
|
// );
|
||||||
|
|
||||||
console.log("search query: ", rephrasedPrompt);
|
|
||||||
|
|
||||||
|
|
||||||
const rerankerResult = await rerankLinksWithLLM(
|
const rerankerResult = await rerankLinksWithLLM(
|
||||||
|
@ -197,7 +197,6 @@ export async function generateOpenAICompletions(
|
|||||||
jsonCompletion.choices[0].message.content,
|
jsonCompletion.choices[0].message.content,
|
||||||
);
|
);
|
||||||
extract = options.schema ? extractData.data.extract : extractData;
|
extract = options.schema ? extractData.data.extract : extractData;
|
||||||
console.log("extract", extract);
|
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
logger.error("Failed to parse returned JSON, no schema specified.", {
|
logger.error("Failed to parse returned JSON, no schema specified.", {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user