You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// @remark `ResponseFormat::JSON` を指定した場合、メッセージには "JSON" という言葉を含める必要があります。 | If `ResponseFormat::JSON` is specified, the message must contain the word "JSON".
@@ -98,11 +89,11 @@ namespace s3d
98
89
/// @brief ChatGPT にメッセージを送り、その返答メッセージを取得します。 | Sends a message to ChatGPT and retrieves the response message.
99
90
/// @param apiKey OpenAI API キー | OpenAI API key
100
91
/// @param message メッセージ | Message
101
-
/// @param model 使用するモデル | The model to be used (default: Model::GPT3_5_Turbo)
92
+
/// @param model 使用するモデル | The model to be used (default: Model::GPT4o)
102
93
/// @return 返答メッセージ。取得に失敗した場合は空の文字列 | Response message. An empty string if the retrieval fails.
103
94
/// @remark インターネットアクセスが必要です。 | Internet access is required.
104
95
[[nodiscard]]
105
-
String Complete(StringView apiKey, StringView message, StringView model = Model::GPT3_5_Turbo);
96
+
String Complete(StringView apiKey, StringView message, StringView model = Model::GPT4o);
106
97
107
98
/// @brief ChatGPT にメッセージを送り、その返答メッセージを取得します。 | Sends messages to ChatGPT and retrieves the response message.
108
99
/// @param apiKey OpenAI API キー | OpenAI API key
@@ -124,12 +115,12 @@ namespace s3d
124
115
/// @brief ChatGPT にメッセージを送り、レスポンス(JSON)を取得する非同期タスクを返します。 | Returns an asynchronous task for sending a message to ChatGPT and retrieving the response (JSON).
125
116
/// @param apiKey OpenAI API キー | OpenAI API key
126
117
/// @param message メッセージ | Message
127
-
/// @param model 使用するモデル | The model to be used (default: Model::GPT3_5_Turbo)
118
+
/// @param model 使用するモデル | The model to be used (default: Model::GPT4o)
128
119
/// @return 非同期タスク | Asynchronous task
129
120
/// @remark 戻り値の task が `(task.isReady() == true) && (task.getResponse().isOK() == true)` になれば結果を取得できます。 | The result can be retrieved if `(task.isReady() == true) && (task.getResponse().isOK() == true)`.
130
121
/// @remark インターネットアクセスが必要です。 | Internet access is required.
131
122
[[nodiscard]]
132
-
AsyncHTTPTask CompleteAsync(StringView apiKey, StringView message, StringView model = Model::GPT3_5_Turbo);
123
+
AsyncHTTPTask CompleteAsync(StringView apiKey, StringView message, StringView model = Model::GPT4o);
133
124
134
125
/// @brief ChatGPT にメッセージを送り、レスポンス(JSON)を取得する非同期タスクを返します。 | Returns an asynchronous task for sending messages to ChatGPT and retrieving the response (JSON).
0 commit comments