mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-12 10:09:00 +08:00
Caleb: switched back to markdown for extraction
This commit is contained in:
parent
ad9c8e77d1
commit
d1235a0029
@ -29,7 +29,7 @@ function prepareOpenAIDoc(
|
|||||||
throw new Error("Markdown content is missing in the document.");
|
throw new Error("Markdown content is missing in the document.");
|
||||||
}
|
}
|
||||||
|
|
||||||
return [{ type: 'text', text: document.html}]
|
return [{ type: 'text', text: document.markdown}]
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function generateOpenAICompletions({
|
export async function generateOpenAICompletions({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user