diff --git a/natbot.py b/natbot.py index 634ac91..7245e30 100755 --- a/natbot.py +++ b/natbot.py @@ -557,7 +557,7 @@ def get_gpt_command(objective, url, previous_command, browser_content): prompt = prompt.replace("$url", url[:100]) prompt = prompt.replace("$previous_command", previous_command) prompt = prompt.replace("$browser_content", browser_content[:4500]) - response = openai.Completion.create(model="text-davinci-002", prompt=prompt, temperature=0.5, best_of=10, n=3, max_tokens=50) + response = openai.Completion.create(model="text-davinci-003", prompt=prompt, temperature=0.5, best_of=10, n=3, max_tokens=50) return response.choices[0].text def run_cmd(cmd):