minor change to MAX_LEN_PROMPT

This commit is contained in:
Thomas Lemoine
2023-06-21 00:38:43 -04:00
parent f2e160f8e3
commit 5479ed7e93
+1 -2
View File
@@ -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')