Skip to content

Commit

Permalink
Subject : updating prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
paraskuk committed Jun 28, 2024
1 parent 406419f commit 4dd6fb1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,8 @@ async def ask_gpt4(query_params: QueryModel) -> JSONResponse:
# Code completion
code_completion = create_gpt4_completion(
query_params.model,
"You are a helpful assistant that answers only questions regarding programming in Python.",
"You are a helpful assistant that answers only questions regarding programming in Python 3.11 or older "
"and Java 17 or newer.",
query_params.user_input
)

Expand Down

0 comments on commit 4dd6fb1

Please sign in to comment.