From 5479ed7e93ffe1a2ad5ee39e8f9a60880c0cfe03 Mon Sep 17 00:00:00 2001 From: Thomas Lemoine Date: Wed, 21 Jun 2023 00:38:43 -0400 Subject: [PATCH] minor change to MAX_LEN_PROMPT --- src/dataset/settings.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/dataset/settings.py b/src/dataset/settings.py index abcb211..cf24c94 100644 --- a/src/dataset/settings.py +++ b/src/dataset/settings.py @@ -4,8 +4,7 @@ EMBEDDING_MODEL = "text-embedding-ada-002" COMPLETIONS_MODEL = "gpt-3.5-turbo" LEN_EMBEDDINGS = 1536 -MAX_LEN_PROMPT = 8190 # This may be 8191, unsure. +MAX_LEN_PROMPT = 4095 # This may be 8191, unsure. current_file_path = Path(__file__).resolve() -PATH_TO_DATASET_PKL = str(current_file_path.parent / 'data' / 'dataset.pkl') PATH_TO_DATASET_DICT_PKL = str(current_file_path.parent / 'data' / 'dataset_dict.pkl') \ No newline at end of file