From 3361fe1a49248aa5b02d78e716e2919d45d7c10c Mon Sep 17 00:00:00 2001 From: Emilio Schaedler Heinzmann Date: Sun, 5 Mar 2023 17:59:08 -0300 Subject: [PATCH] refactor: :recycle: increase the amount of tokens per card --- src/utils/openai/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/openai/index.ts b/src/utils/openai/index.ts index 480efa7..97177da 100644 --- a/src/utils/openai/index.ts +++ b/src/utils/openai/index.ts @@ -56,7 +56,7 @@ export async function generateFlashCards({ }: GenerateFlashCardsParam): Promise> { /** Created to possibly use as params in the future */ const amountOfCards = 3 - const tokensPerCard = 40 + const tokensPerCard = 50 /** Build topics strings */ const joinedTopics = topics.map(({ title }) => title).join(', ')