-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feature/tool-json-config
- Loading branch information
Showing
12 changed files
with
17,002 additions
and
13,331 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
.../kotlin/com/xebia/functional/openai/generated/model/ResponseFormatJsonSchemaJsonSchema.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package com.xebia.functional.openai.generated.model | ||
|
||
import kotlinx.serialization.SerialName | ||
import kotlinx.serialization.Serializable | ||
import kotlinx.serialization.json.* | ||
|
||
/** | ||
* @param name The name of the response format. Must be a-z, A-Z, 0-9, or contain underscores and | ||
* dashes, with a maximum length of 64. | ||
* @param description A description of what the response format is for, used by the model to | ||
* determine how to respond in the format. | ||
* @param schema The schema for the response format, described as a JSON Schema object. | ||
* @param strict Whether to enable strict schema adherence when generating the output. If set to | ||
* true, the model will always follow the exact schema defined in the `schema` field. Only a | ||
* subset of JSON Schema is supported when `strict` is `true`. To learn more, read the | ||
* [Structured Outputs guide](/docs/guides/structured-outputs). | ||
*/ | ||
@Serializable | ||
data class ResponseFormatJsonSchemaJsonSchema( | ||
/* The name of the response format. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64. */ | ||
@SerialName(value = "name") val name: kotlin.String, | ||
/* A description of what the response format is for, used by the model to determine how to respond in the format. */ | ||
@SerialName(value = "description") val description: kotlin.String? = null, | ||
/* The schema for the response format, described as a JSON Schema object. */ | ||
@SerialName(value = "schema") val schema: JsonObject? = null, | ||
/* Whether to enable strict schema adherence when generating the output. If set to true, the model will always follow the exact schema defined in the `schema` field. Only a subset of JSON Schema is supported when `strict` is `true`. To learn more, read the [Structured Outputs guide](/docs/guides/structured-outputs). */ | ||
@SerialName(value = "strict") val strict: kotlin.Boolean? = false | ||
) {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
df5699f5c48fe455d9d036198e77fdb637edee29 | ||
3d5576596e5fe1cd3b88ddcd407dd1c5f3594f02 |
Oops, something went wrong.