community: replace deprecated davinci models (#14860)

This is technically a breaking change because it'll switch out default
models from `text-davinci-003` to `gpt-3.5-turbo-instruct`, but OpenAI
is shutting off those endpoints on 1/4 anyways.

Feels less disruptive to switch out the default instead.
This commit is contained in:
Erick Friis
2023-12-18 13:49:46 -08:00
committed by GitHub
parent 193f107cb5
commit 5f839beab9
29 changed files with 42 additions and 42 deletions

View File

@@ -48,7 +48,7 @@ def mock_completion() -> dict:
"id": "cmpl-3evkmQda5Hu7fcZavknQda3SQ",
"object": "text_completion",
"created": 1689989000,
"model": "text-davinci-003",
"model": "gpt-3.5-turbo-instruct",
"choices": [
{"text": "Bar Baz", "index": 0, "logprobs": None, "finish_reason": "length"}
],