1
0
Fork 0
mirror of synced 2024-07-04 06:00:53 +12:00

Update src/Appwrite/Platform/Tasks/DevGenerateTranslations.php

This commit is contained in:
Matej Bačo 2024-01-11 09:20:00 +01:00 committed by GitHub
parent 2d204d593a
commit 04831a91c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -79,7 +79,7 @@ class DevGenerateTranslations extends Action
'content-type' => Client::CONTENT_TYPE_APPLICATION_JSON,
'Authorization' => 'Bearer ' . $this->apiKey
], Client::METHOD_POST, [
'model' => 'gpt-3.5-turbo-1106', // https://platform.openai.com/docs/models/gpt-4-and-gpt-4-turbo
'model' => 'gpt-4-1106-preview', // https://platform.openai.com/docs/models/gpt-4-and-gpt-4-turbo
'messages' => [
[
'role' => 'system',