aboutsummaryrefslogtreecommitdiff
path: root/src/client/apis/gpt/GPT.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/apis/gpt/GPT.ts')
-rw-r--r--src/client/apis/gpt/GPT.ts8
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: {