From 3b929beaec88ba4f151f188fb1e4f178ff4e2e29 Mon Sep 17 00:00:00 2001 From: dave Date: Mon, 16 Sep 2024 14:12:39 +0200 Subject: [PATCH] update prompt change model --- docs/tools/fix_grammar_gpt.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/tools/fix_grammar_gpt.py b/docs/tools/fix_grammar_gpt.py index 9979a92b41..e014aec895 100644 --- a/docs/tools/fix_grammar_gpt.py +++ b/docs/tools/fix_grammar_gpt.py @@ -17,13 +17,14 @@ # constants BASE_DIR = "../website/docs" -GPT_MODEL = "gpt-3.5-turbo-0125" +GPT_MODEL = "gpt-4o-2024-05-13" MAX_CHUNK_SIZE = 14000 # make sure that this is below the context window size of the model to not have cut off files SYSTEM_PROMPT = """\ You are a grammar checker. Every message you get will be a document that is to be grammarchecked and returned as such. You will not change the markdown syntax. You will only fix the grammar. You will not change the code snippets except for the comments therein. You will not modify the header section which is enclosed by two occurences of "---". +Make sure all headings use the Sentence case. Do not change the spelling or casing of these words: dlt, sdf, dbt """