diff options
author | alyssaf16 <alyssa_feinberg@brown.edu> | 2024-07-08 15:12:16 -0400 |
---|---|---|
committer | alyssaf16 <alyssa_feinberg@brown.edu> | 2024-07-08 15:12:16 -0400 |
commit | 6131fd8fc6cb1245ccfbc5d03d33ffd1498e83f4 (patch) | |
tree | 02d802715ae532ab5d2bd2bf422b2e337be44eac /src/client/apis/gpt/GPT.ts | |
parent | 20611e69b3f4afca5d35a440278f4dcbbda523c7 (diff) |
Speech to phonemes progress
Diffstat (limited to 'src/client/apis/gpt/GPT.ts')
-rw-r--r-- | src/client/apis/gpt/GPT.ts | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/client/apis/gpt/GPT.ts b/src/client/apis/gpt/GPT.ts index caddc41a2..8e08265d6 100644 --- a/src/client/apis/gpt/GPT.ts +++ b/src/client/apis/gpt/GPT.ts @@ -13,6 +13,7 @@ enum GPTCallType { MERMAID = 'mermaid', DATA = 'data', STACK = 'stack', + PRONUNCIATION = 'pronunciation', } type GPTCallOpts = { @@ -58,7 +59,13 @@ const callTypeMap: { [type: string]: GPTCallOpts } = { model: 'gpt-4-turbo', maxTokens: 1024, 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 the Rubric is incorrect, explain why. If there are no differences, say correct. If it is empty, say there is nothing for me to evaluate.', + 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 the Rubric is incorrect, explain why. If there are no differences, say correct. If it is empty, say there is nothing for me to evaluate. If it is comparing two words, look for spelling and not capitalization and not punctuation.', + }, + pronunciation: { + model: 'gpt-4-turbo', + maxTokens: 1024, + temp: 0, + prompt: 'List unique differences between the pronunciation of the ', }, }; |