diff options
| author | sharkiecodes <lanyi_stroud@brown.edu> | 2025-06-09 13:29:27 -0400 |
|---|---|---|
| committer | sharkiecodes <lanyi_stroud@brown.edu> | 2025-06-09 13:29:27 -0400 |
| commit | c5981504058e0696827b4048fcd908a58fb0b0d3 (patch) | |
| tree | 49f228de780324602a3ad92140eb5b983df5fc6f /src/client/apis/gpt/GPT.ts | |
| parent | a3c17f1f9f717d8eeb0bcecd8c2c23daffbd0d2f (diff) | |
minor tagging changes
Diffstat (limited to 'src/client/apis/gpt/GPT.ts')
| -rw-r--r-- | src/client/apis/gpt/GPT.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/apis/gpt/GPT.ts b/src/client/apis/gpt/GPT.ts index 4642d79eb..fbded378b 100644 --- a/src/client/apis/gpt/GPT.ts +++ b/src/client/apis/gpt/GPT.ts @@ -12,9 +12,9 @@ export enum GPTDocCommand { export const DescriptionSeperator = '======'; export const DocSeperator = '------'; export enum TextClassifications { - Title = 'title', //a few words - Caption = 'caption', //few sentences - LengthyDescription = 'lengthy' } + Title = 'word', //a few words + Caption = 'sentence', //few sentences + LengthyDescription = 'paragraphs' } enum GPTCallType { SUMMARY = 'summary', @@ -99,7 +99,7 @@ const callTypeMap: { [type in GPTCallType]: GPTCallOpts } = { maxTokens: 2048, temp: 0.25, prompt: `Based on the content of the the text, classify it into the - most appropriate category: '${TextClassifications.Title}', '${TextClassifications.Caption}', or '${TextClassifications.LengthyDescription}'. Output exclusively the classification in your response. + most appropriate category: '${TextClassifications.Title}' if it is a few words, '${TextClassifications.Caption}' if it is a couple sentences or less, or '${TextClassifications.LengthyDescription}' if it is a lengthy description. Output exclusively the classification in your response. ` }, classify_text_full: { |
