File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/main/kotlin/com/cjcrafter/openai/chat Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,9 @@ import com.google.gson.annotations.SerializedName
2020 * calls. You can easily store your [ChatRequest] as a string or as a json file
2121 * using google's GSON library to serialize the object as a JSON string.
2222 *
23- * You should not set [stream]. TODO update docs after adding stream support
23+ * You should not set [stream]. The stream option is handled using [ChatBot.streamResponse].
24+ * This allows developers to get tokens in real time instead of all at once
25+ * and after a long delay.
2426 *
2527 * @property model The model used to generate the text. Recommended: `"gpt-3.5-turbo"` (without quotes).
2628 * @property messages A mutable list of previous messages from the conversation.
You can’t perform that action at this time.
0 commit comments