Skip to content

Commit

Permalink
refactor: ♻️ decrease the amount of tokens per card
Browse files Browse the repository at this point in the history
  • Loading branch information
emiliosheinz committed Mar 5, 2023
1 parent 3361fe1 commit 9083cf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/openai/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export async function generateFlashCards({
}: GenerateFlashCardsParam): Promise<Array<CardInput>> {
/** Created to possibly use as params in the future */
const amountOfCards = 3
const tokensPerCard = 50
const tokensPerCard = 40

/** Build topics strings */
const joinedTopics = topics.map(({ title }) => title).join(', ')
Expand Down

0 comments on commit 9083cf8

Please sign in to comment.