0

Caleb: switched back to markdown for extraction

This commit is contained in:
Caleb Peffer 2024-04-30 10:23:12 -07:00
parent ad9c8e77d1
commit d1235a0029

View File

@ -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({