gpt3: use text-davinci-003
This commit is contained in:
parent
51a201dc2d
commit
21ac95b0ce
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue