From c5981504058e0696827b4048fcd908a58fb0b0d3 Mon Sep 17 00:00:00 2001 From: sharkiecodes Date: Mon, 9 Jun 2025 13:29:27 -0400 Subject: minor tagging changes --- src/client/apis/gpt/GPT.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/client/apis') 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: { -- cgit v1.2.3-70-g09d2