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.");
|
||||
}
|
||||
|
||||
return [{ type: 'text', text: document.html}]
|
||||
return [{ type: 'text', text: document.markdown}]
|
||||
}
|
||||
|
||||
export async function generateOpenAICompletions({
|
||||
|
Loading…
Reference in New Issue
Block a user