aboutsummaryrefslogtreecommitdiff
path: root/src/client/apis/gpt/GPT.ts
diff options
context:
space:
mode:
authoralyssaf16 <alyssa_feinberg@brown.edu>2024-07-19 12:00:07 -0400
committeralyssaf16 <alyssa_feinberg@brown.edu>2024-07-19 12:00:07 -0400
commit3c873d191feec296aef82c48a912617a8d66eb18 (patch)
tree4e1c80978252bbe817445c7fcb2dd09cd1d4cfbf /src/client/apis/gpt/GPT.ts
parentf7165ab3f0d9c652aea41c92aa4a820f2d5d6b94 (diff)
image labels
Diffstat (limited to 'src/client/apis/gpt/GPT.ts')
-rw-r--r--src/client/apis/gpt/GPT.ts6
1 files changed, 3 insertions, 3 deletions
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: '',
},
};