aboutsummaryrefslogtreecommitdiff
path: root/src/client/apis/gpt
diff options
context:
space:
mode:
authoreleanor-park <eleanor_park@brown.edu>2024-06-04 13:54:56 -0400
committereleanor-park <eleanor_park@brown.edu>2024-06-04 13:54:56 -0400
commitbaf156f58856004279223b2e1f858c5ff7e88686 (patch)
tree8c21652f246029af0f891644ae4f60f252ab2bad /src/client/apis/gpt
parent202e994515392892676f8f080852db1e32b8dbd3 (diff)
small fixes
Diffstat (limited to 'src/client/apis/gpt')
-rw-r--r--src/client/apis/gpt/GPT.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client/apis/gpt/GPT.ts b/src/client/apis/gpt/GPT.ts
index 05007960d..3a5e49731 100644
--- a/src/client/apis/gpt/GPT.ts
+++ b/src/client/apis/gpt/GPT.ts
@@ -53,6 +53,12 @@ const callTypeMap: { [type: string]: GPTCallOpts } = {
temp: 0,
prompt: 'List unique differences between the content of the UserAnswer and Rubric. Before each difference, label it and provide any additional information the UserAnswer missed and explain it in second person without separating it into UserAnswer and Rubric content and additional information. If there are no differences, say correct',
},
+ draw: {
+ model: 'gpt-4o',
+ maxTokens: 256,
+ temp: 0.5,
+ prompt: 'Given an item to draw, generate a list of Bezier control points that will represent the item. Answer only with the list of coordinates and no additional text',
+ }
};
let lastCall = '';