From 3c873d191feec296aef82c48a912617a8d66eb18 Mon Sep 17 00:00:00 2001 From: alyssaf16 Date: Fri, 19 Jul 2024 12:00:07 -0400 Subject: image labels --- src/client/apis/gpt/GPT.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/client/apis/gpt') diff --git a/src/client/apis/gpt/GPT.ts b/src/client/apis/gpt/GPT.ts index 0a4dc2423..1bec2fb11 100644 --- a/src/client/apis/gpt/GPT.ts +++ b/src/client/apis/gpt/GPT.ts @@ -32,7 +32,7 @@ const callTypeMap: { [type: string]: GPTCallOpts } = { model: 'gpt-4o', maxTokens: 2048, temp: 0.7, - prompt: 'Create a stack of flashcards out of this text with each question and answer labeled as question and answer. For some questions, ask "what is this image of" and write a keyword that represents the image and label it "keyword". Otherwise, write none. Do not label each flashcard and do not include asterisks.', + prompt: 'Create a stack of flashcards out of this text with each question and answer labeled as question and answer. For some questions, ask "what is this image of" but tailored to stacks theme and the image and write a keyword that represents the image and label it "keyword". Otherwise, write none. Do not label each flashcard and do not include asterisks.', }, completion: { model: 'gpt-4-turbo', maxTokens: 256, temp: 0.5, prompt: "You are a helpful assistant. Answer the user's prompt." }, mermaid: { @@ -63,8 +63,8 @@ const callTypeMap: { [type: string]: GPTCallOpts } = { }, pronunciation: { model: 'gpt-4-turbo', - maxTokens: 4096, - temp: 0.3, + maxTokens: 1024, + temp: 0.3, //0.3 prompt: '', }, }; -- cgit v1.2.3-70-g09d2