Skip to content

Commit

Permalink
Caleb: switched back to markdown for extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
calebpeffer committed Apr 30, 2024
1 parent ad9c8e7 commit d1235a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/api/src/lib/LLM-extraction/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit d1235a0

Please sign in to comment.