Skip to content

Commit

Permalink
update prompt
Browse files Browse the repository at this point in the history
change model
  • Loading branch information
sh-rp committed Sep 16, 2024
1 parent e48f641 commit 3b929be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/tools/fix_grammar_gpt.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""

Expand Down

0 comments on commit 3b929be

Please sign in to comment.