gpt3: use text-davinci-003

This commit is contained in:
dece 2022-12-01 12:04:06 +01:00
parent 51a201dc2d
commit 21ac95b0ce

View file

@ -29,7 +29,7 @@ class Gpt3Plugin(Plugin):
def complete(self, prompt: str) -> Optional[str]: def complete(self, prompt: str) -> Optional[str]:
try: try:
completion = openai.Completion.create( completion = openai.Completion.create(
model="text-davinci-002", model="text-davinci-003",
prompt=prompt, prompt=prompt,
temperature=0.7, temperature=0.7,
max_tokens=128, max_tokens=128,