mirror of
https://github.com/openai/openai-go.git
synced 2026-04-05 02:50:01 +09:00
chore(internal): updates (#6)
This commit is contained in:
committed by
GitHub
parent
c126ef90e7
commit
073cb1d05a
@@ -1,2 +1,2 @@
|
||||
configured_endpoints: 68
|
||||
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-4097c2f86beb3f3bb021775cd1dfa240e960caf842aeefc2e08da4dc0851ea79.yml
|
||||
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-97797a9363b9960b5f2fbdc84426a2b91e75533ecd409fe99e37c231180a4339.yml
|
||||
|
||||
2
chat.go
2
chat.go
@@ -31,8 +31,8 @@ type ChatModel = string
|
||||
|
||||
const (
|
||||
ChatModelGPT4o ChatModel = "gpt-4o"
|
||||
ChatModelGPT4o2024_08_06 ChatModel = "gpt-4o-2024-08-06"
|
||||
ChatModelGPT4o2024_05_13 ChatModel = "gpt-4o-2024-05-13"
|
||||
ChatModelGPT4o2024_08_06 ChatModel = "gpt-4o-2024-08-06"
|
||||
ChatModelGPT4oMini ChatModel = "gpt-4o-mini"
|
||||
ChatModelGPT4oMini2024_07_18 ChatModel = "gpt-4o-mini-2024-07-18"
|
||||
ChatModelGPT4Turbo ChatModel = "gpt-4-turbo"
|
||||
|
||||
@@ -1472,6 +1472,11 @@ type ChatCompletionNewParams struct {
|
||||
// [GPT-4 Turbo](https://platform.openai.com/docs/models/gpt-4-and-gpt-4-turbo) and
|
||||
// all GPT-3.5 Turbo models newer than `gpt-3.5-turbo-1106`.
|
||||
//
|
||||
// Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured
|
||||
// Outputs which guarantees the model will match your supplied JSON schema. Learn
|
||||
// more in the
|
||||
// [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs).
|
||||
//
|
||||
// Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the
|
||||
// message the model generates is valid JSON.
|
||||
//
|
||||
@@ -1610,6 +1615,11 @@ func (r ChatCompletionNewParamsFunction) MarshalJSON() (data []byte, err error)
|
||||
// [GPT-4 Turbo](https://platform.openai.com/docs/models/gpt-4-and-gpt-4-turbo) and
|
||||
// all GPT-3.5 Turbo models newer than `gpt-3.5-turbo-1106`.
|
||||
//
|
||||
// Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured
|
||||
// Outputs which guarantees the model will match your supplied JSON schema. Learn
|
||||
// more in the
|
||||
// [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs).
|
||||
//
|
||||
// Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the
|
||||
// message the model generates is valid JSON.
|
||||
//
|
||||
@@ -1639,6 +1649,11 @@ func (r ChatCompletionNewParamsResponseFormat) ImplementsChatCompletionNewParams
|
||||
// [GPT-4 Turbo](https://platform.openai.com/docs/models/gpt-4-and-gpt-4-turbo) and
|
||||
// all GPT-3.5 Turbo models newer than `gpt-3.5-turbo-1106`.
|
||||
//
|
||||
// Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured
|
||||
// Outputs which guarantees the model will match your supplied JSON schema. Learn
|
||||
// more in the
|
||||
// [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs).
|
||||
//
|
||||
// Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the
|
||||
// message the model generates is valid JSON.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user