Skip to content
This repository was archived by the owner on Jun 6, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@
@NoArgsConstructor
public class ChatCompletionRequest {

/**
* Specify "json" to ensure the response content is valid json. You must also specify json in the chat instructions.
* See https://platform.openai.com/docs/guides/text-generation/json-mode
*/
String format;

/**
* ID of the model to use.
*/
Expand Down