shared

package
v0.1.0-alpha.63 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2025 License: Apache-2.0 Imports: 2 Imported by: 13

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChatModel

type ChatModel = string
const (
	ChatModelO3Mini                          ChatModel = "o3-mini"
	ChatModelO3Mini2025_01_31                ChatModel = "o3-mini-2025-01-31"
	ChatModelO1                              ChatModel = "o1"
	ChatModelO1_2024_12_17                   ChatModel = "o1-2024-12-17"
	ChatModelO1Preview                       ChatModel = "o1-preview"
	ChatModelO1Preview2024_09_12             ChatModel = "o1-preview-2024-09-12"
	ChatModelO1Mini                          ChatModel = "o1-mini"
	ChatModelO1Mini2024_09_12                ChatModel = "o1-mini-2024-09-12"
	ChatModelComputerUsePreview              ChatModel = "computer-use-preview"
	ChatModelComputerUsePreview2025_02_04    ChatModel = "computer-use-preview-2025-02-04"
	ChatModelComputerUsePreview2025_03_11    ChatModel = "computer-use-preview-2025-03-11"
	ChatModelGPT4_5Preview                   ChatModel = "gpt-4.5-preview"
	ChatModelGPT4_5Preview2025_02_27         ChatModel = "gpt-4.5-preview-2025-02-27"
	ChatModelGPT4o                           ChatModel = "gpt-4o"
	ChatModelGPT4o2024_11_20                 ChatModel = "gpt-4o-2024-11-20"
	ChatModelGPT4o2024_08_06                 ChatModel = "gpt-4o-2024-08-06"
	ChatModelGPT4o2024_05_13                 ChatModel = "gpt-4o-2024-05-13"
	ChatModelGPT4oAudioPreview               ChatModel = "gpt-4o-audio-preview"
	ChatModelGPT4oAudioPreview2024_10_01     ChatModel = "gpt-4o-audio-preview-2024-10-01"
	ChatModelGPT4oAudioPreview2024_12_17     ChatModel = "gpt-4o-audio-preview-2024-12-17"
	ChatModelGPT4oMiniAudioPreview           ChatModel = "gpt-4o-mini-audio-preview"
	ChatModelGPT4oMiniAudioPreview2024_12_17 ChatModel = "gpt-4o-mini-audio-preview-2024-12-17"
	ChatModelChatgpt4oLatest                 ChatModel = "chatgpt-4o-latest"
	ChatModelGPT4oMini                       ChatModel = "gpt-4o-mini"
	ChatModelGPT4oMini2024_07_18             ChatModel = "gpt-4o-mini-2024-07-18"
	ChatModelGPT4Turbo                       ChatModel = "gpt-4-turbo"
	ChatModelGPT4Turbo2024_04_09             ChatModel = "gpt-4-turbo-2024-04-09"
	ChatModelGPT4_0125Preview                ChatModel = "gpt-4-0125-preview"
	ChatModelGPT4TurboPreview                ChatModel = "gpt-4-turbo-preview"
	ChatModelGPT4_1106Preview                ChatModel = "gpt-4-1106-preview"
	ChatModelGPT4VisionPreview               ChatModel = "gpt-4-vision-preview"
	ChatModelGPT4                            ChatModel = "gpt-4"
	ChatModelGPT4_0314                       ChatModel = "gpt-4-0314"
	ChatModelGPT4_0613                       ChatModel = "gpt-4-0613"
	ChatModelGPT4_32k                        ChatModel = "gpt-4-32k"
	ChatModelGPT4_32k0314                    ChatModel = "gpt-4-32k-0314"
	ChatModelGPT4_32k0613                    ChatModel = "gpt-4-32k-0613"
	ChatModelGPT3_5Turbo                     ChatModel = "gpt-3.5-turbo"
	ChatModelGPT3_5Turbo16k                  ChatModel = "gpt-3.5-turbo-16k"
	ChatModelGPT3_5Turbo0301                 ChatModel = "gpt-3.5-turbo-0301"
	ChatModelGPT3_5Turbo0613                 ChatModel = "gpt-3.5-turbo-0613"
	ChatModelGPT3_5Turbo1106                 ChatModel = "gpt-3.5-turbo-1106"
	ChatModelGPT3_5Turbo0125                 ChatModel = "gpt-3.5-turbo-0125"
	ChatModelGPT3_5Turbo16k0613              ChatModel = "gpt-3.5-turbo-16k-0613"
)

type ComparisonFilterParam

type ComparisonFilterParam struct {
	// The key to compare against the value.
	Key param.Field[string] `json:"key,required"`
	// Specifies the comparison operator: `eq`, `ne`, `gt`, `gte`, `lt`, `lte`.
	//
	// - `eq`: equals
	// - `ne`: not equal
	// - `gt`: greater than
	// - `gte`: greater than or equal
	// - `lt`: less than
	// - `lte`: less than or equal
	Type param.Field[ComparisonFilterType] `json:"type,required"`
	// The value to compare against the attribute key; supports string, number, or
	// boolean types.
	Value param.Field[ComparisonFilterValueUnionParam] `json:"value,required"`
}

A filter used to compare a specified attribute key to a given value using a defined comparison operation.

func (ComparisonFilterParam) ImplementsVectorStoreSearchParamsFiltersUnion

func (r ComparisonFilterParam) ImplementsVectorStoreSearchParamsFiltersUnion()

func (ComparisonFilterParam) MarshalJSON

func (r ComparisonFilterParam) MarshalJSON() (data []byte, err error)

type ComparisonFilterType

type ComparisonFilterType string

Specifies the comparison operator: `eq`, `ne`, `gt`, `gte`, `lt`, `lte`.

- `eq`: equals - `ne`: not equal - `gt`: greater than - `gte`: greater than or equal - `lt`: less than - `lte`: less than or equal

const (
	ComparisonFilterTypeEq  ComparisonFilterType = "eq"
	ComparisonFilterTypeNe  ComparisonFilterType = "ne"
	ComparisonFilterTypeGt  ComparisonFilterType = "gt"
	ComparisonFilterTypeGte ComparisonFilterType = "gte"
	ComparisonFilterTypeLt  ComparisonFilterType = "lt"
	ComparisonFilterTypeLte ComparisonFilterType = "lte"
)

func (ComparisonFilterType) IsKnown

func (r ComparisonFilterType) IsKnown() bool

type ComparisonFilterValueUnionParam

type ComparisonFilterValueUnionParam interface {
	ImplementsComparisonFilterValueUnionParam()
}

The value to compare against the attribute key; supports string, number, or boolean types.

Satisfied by shared.UnionString, shared.UnionFloat, shared.UnionBool.

type CompoundFilterParam

type CompoundFilterParam struct {
	// Array of filters to combine. Items can be `ComparisonFilter` or
	// `CompoundFilter`.
	Filters param.Field[[]ComparisonFilterParam] `json:"filters,required"`
	// Type of operation: `and` or `or`.
	Type param.Field[CompoundFilterType] `json:"type,required"`
}

Combine multiple filters using `and` or `or`.

func (CompoundFilterParam) ImplementsVectorStoreSearchParamsFiltersUnion

func (r CompoundFilterParam) ImplementsVectorStoreSearchParamsFiltersUnion()

func (CompoundFilterParam) MarshalJSON

func (r CompoundFilterParam) MarshalJSON() (data []byte, err error)

type CompoundFilterType

type CompoundFilterType string

Type of operation: `and` or `or`.

const (
	CompoundFilterTypeAnd CompoundFilterType = "and"
	CompoundFilterTypeOr  CompoundFilterType = "or"
)

func (CompoundFilterType) IsKnown

func (r CompoundFilterType) IsKnown() bool

type ErrorObject

type ErrorObject struct {
	Code    string          `json:"code,required,nullable"`
	Message string          `json:"message,required"`
	Param   string          `json:"param,required,nullable"`
	Type    string          `json:"type,required"`
	JSON    errorObjectJSON `json:"-"`
}

func (*ErrorObject) UnmarshalJSON

func (r *ErrorObject) UnmarshalJSON(data []byte) (err error)

type FunctionDefinition

type FunctionDefinition struct {
	// The name of the function to be called. Must be a-z, A-Z, 0-9, or contain
	// underscores and dashes, with a maximum length of 64.
	Name string `json:"name,required"`
	// A description of what the function does, used by the model to choose when and
	// how to call the function.
	Description string `json:"description"`
	// The parameters the functions accepts, described as a JSON Schema object. See the
	// [guide](https://platform.openai.com/docs/guides/function-calling) for examples,
	// and the
	// [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
	// documentation about the format.
	//
	// Omitting `parameters` defines a function with an empty parameter list.
	Parameters FunctionParameters `json:"parameters"`
	// Whether to enable strict schema adherence when generating the function call. If
	// set to true, the model will follow the exact schema defined in the `parameters`
	// field. Only a subset of JSON Schema is supported when `strict` is `true`. Learn
	// more about Structured Outputs in the
	// [function calling guide](docs/guides/function-calling).
	Strict bool                   `json:"strict,nullable"`
	JSON   functionDefinitionJSON `json:"-"`
}

func (*FunctionDefinition) UnmarshalJSON

func (r *FunctionDefinition) UnmarshalJSON(data []byte) (err error)

type FunctionDefinitionParam

type FunctionDefinitionParam struct {
	// The name of the function to be called. Must be a-z, A-Z, 0-9, or contain
	// underscores and dashes, with a maximum length of 64.
	Name param.Field[string] `json:"name,required"`
	// A description of what the function does, used by the model to choose when and
	// how to call the function.
	Description param.Field[string] `json:"description"`
	// The parameters the functions accepts, described as a JSON Schema object. See the
	// [guide](https://platform.openai.com/docs/guides/function-calling) for examples,
	// and the
	// [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
	// documentation about the format.
	//
	// Omitting `parameters` defines a function with an empty parameter list.
	Parameters param.Field[FunctionParameters] `json:"parameters"`
	// Whether to enable strict schema adherence when generating the function call. If
	// set to true, the model will follow the exact schema defined in the `parameters`
	// field. Only a subset of JSON Schema is supported when `strict` is `true`. Learn
	// more about Structured Outputs in the
	// [function calling guide](docs/guides/function-calling).
	Strict param.Field[bool] `json:"strict"`
}

func (FunctionDefinitionParam) MarshalJSON

func (r FunctionDefinitionParam) MarshalJSON() (data []byte, err error)

type FunctionParameters

type FunctionParameters map[string]interface{}

type Metadata

type Metadata map[string]string

type MetadataParam

type MetadataParam map[string]string

type ReasoningEffort

type ReasoningEffort string

**o-series models only**

Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `low`, `medium`, and `high`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.

const (
	ReasoningEffortLow    ReasoningEffort = "low"
	ReasoningEffortMedium ReasoningEffort = "medium"
	ReasoningEffortHigh   ReasoningEffort = "high"
)

func (ReasoningEffort) IsKnown

func (r ReasoningEffort) IsKnown() bool

type ResponseFormatJSONObject

type ResponseFormatJSONObject struct {
	// The type of response format being defined. Always `json_object`.
	Type ResponseFormatJSONObjectType `json:"type,required"`
	JSON responseFormatJSONObjectJSON `json:"-"`
}

JSON object response format. An older method of generating JSON responses. Using `json_schema` is recommended for models that support it. Note that the model will not generate JSON without a system or user message instructing it to do so.

func (ResponseFormatJSONObject) ImplementsAssistantResponseFormatOptionUnion

func (r ResponseFormatJSONObject) ImplementsAssistantResponseFormatOptionUnion()

func (*ResponseFormatJSONObject) UnmarshalJSON

func (r *ResponseFormatJSONObject) UnmarshalJSON(data []byte) (err error)

type ResponseFormatJSONObjectParam

type ResponseFormatJSONObjectParam struct {
	// The type of response format being defined. Always `json_object`.
	Type param.Field[ResponseFormatJSONObjectType] `json:"type,required"`
}

JSON object response format. An older method of generating JSON responses. Using `json_schema` is recommended for models that support it. Note that the model will not generate JSON without a system or user message instructing it to do so.

func (ResponseFormatJSONObjectParam) ImplementsAssistantResponseFormatOptionUnionParam

func (r ResponseFormatJSONObjectParam) ImplementsAssistantResponseFormatOptionUnionParam()

func (ResponseFormatJSONObjectParam) ImplementsChatCompletionNewParamsResponseFormatUnion

func (r ResponseFormatJSONObjectParam) ImplementsChatCompletionNewParamsResponseFormatUnion()

func (ResponseFormatJSONObjectParam) MarshalJSON

func (r ResponseFormatJSONObjectParam) MarshalJSON() (data []byte, err error)

type ResponseFormatJSONObjectType

type ResponseFormatJSONObjectType string

The type of response format being defined. Always `json_object`.

const (
	ResponseFormatJSONObjectTypeJSONObject ResponseFormatJSONObjectType = "json_object"
)

func (ResponseFormatJSONObjectType) IsKnown

func (r ResponseFormatJSONObjectType) IsKnown() bool

type ResponseFormatJSONSchema

type ResponseFormatJSONSchema struct {
	// Structured Outputs configuration options, including a JSON Schema.
	JSONSchema ResponseFormatJSONSchemaJSONSchema `json:"json_schema,required"`
	// The type of response format being defined. Always `json_schema`.
	Type ResponseFormatJSONSchemaType `json:"type,required"`
	JSON responseFormatJSONSchemaJSON `json:"-"`
}

JSON Schema response format. Used to generate structured JSON responses. Learn more about [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs).

func (ResponseFormatJSONSchema) ImplementsAssistantResponseFormatOptionUnion

func (r ResponseFormatJSONSchema) ImplementsAssistantResponseFormatOptionUnion()

func (*ResponseFormatJSONSchema) UnmarshalJSON

func (r *ResponseFormatJSONSchema) UnmarshalJSON(data []byte) (err error)

type ResponseFormatJSONSchemaJSONSchema

type ResponseFormatJSONSchemaJSONSchema struct {
	// 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.
	Name string `json:"name,required"`
	// A description of what the response format is for, used by the model to determine
	// how to respond in the format.
	Description string `json:"description"`
	// The schema for the response format, described as a JSON Schema object. Learn how
	// to build JSON schemas [here](https://json-schema.org/).
	Schema map[string]interface{} `json:"schema"`
	// 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](https://platform.openai.com/docs/guides/structured-outputs).
	Strict bool                                   `json:"strict,nullable"`
	JSON   responseFormatJSONSchemaJSONSchemaJSON `json:"-"`
}

Structured Outputs configuration options, including a JSON Schema.

func (*ResponseFormatJSONSchemaJSONSchema) UnmarshalJSON

func (r *ResponseFormatJSONSchemaJSONSchema) UnmarshalJSON(data []byte) (err error)

type ResponseFormatJSONSchemaJSONSchemaParam

type ResponseFormatJSONSchemaJSONSchemaParam struct {
	// 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.
	Name param.Field[string] `json:"name,required"`
	// A description of what the response format is for, used by the model to determine
	// how to respond in the format.
	Description param.Field[string] `json:"description"`
	// The schema for the response format, described as a JSON Schema object. Learn how
	// to build JSON schemas [here](https://json-schema.org/).
	Schema param.Field[interface{}] `json:"schema"`
	// 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](https://platform.openai.com/docs/guides/structured-outputs).
	Strict param.Field[bool] `json:"strict"`
}

Structured Outputs configuration options, including a JSON Schema.

func (ResponseFormatJSONSchemaJSONSchemaParam) MarshalJSON

func (r ResponseFormatJSONSchemaJSONSchemaParam) MarshalJSON() (data []byte, err error)

type ResponseFormatJSONSchemaParam

type ResponseFormatJSONSchemaParam struct {
	// Structured Outputs configuration options, including a JSON Schema.
	JSONSchema param.Field[ResponseFormatJSONSchemaJSONSchemaParam] `json:"json_schema,required"`
	// The type of response format being defined. Always `json_schema`.
	Type param.Field[ResponseFormatJSONSchemaType] `json:"type,required"`
}

JSON Schema response format. Used to generate structured JSON responses. Learn more about [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs).

func (ResponseFormatJSONSchemaParam) ImplementsAssistantResponseFormatOptionUnionParam

func (r ResponseFormatJSONSchemaParam) ImplementsAssistantResponseFormatOptionUnionParam()

func (ResponseFormatJSONSchemaParam) ImplementsChatCompletionNewParamsResponseFormatUnion

func (r ResponseFormatJSONSchemaParam) ImplementsChatCompletionNewParamsResponseFormatUnion()

func (ResponseFormatJSONSchemaParam) MarshalJSON

func (r ResponseFormatJSONSchemaParam) MarshalJSON() (data []byte, err error)

type ResponseFormatJSONSchemaType

type ResponseFormatJSONSchemaType string

The type of response format being defined. Always `json_schema`.

const (
	ResponseFormatJSONSchemaTypeJSONSchema ResponseFormatJSONSchemaType = "json_schema"
)

func (ResponseFormatJSONSchemaType) IsKnown

func (r ResponseFormatJSONSchemaType) IsKnown() bool

type ResponseFormatText

type ResponseFormatText struct {
	// The type of response format being defined. Always `text`.
	Type ResponseFormatTextType `json:"type,required"`
	JSON responseFormatTextJSON `json:"-"`
}

Default response format. Used to generate text responses.

func (ResponseFormatText) ImplementsAssistantResponseFormatOptionUnion

func (r ResponseFormatText) ImplementsAssistantResponseFormatOptionUnion()

func (*ResponseFormatText) UnmarshalJSON

func (r *ResponseFormatText) UnmarshalJSON(data []byte) (err error)

type ResponseFormatTextParam

type ResponseFormatTextParam struct {
	// The type of response format being defined. Always `text`.
	Type param.Field[ResponseFormatTextType] `json:"type,required"`
}

Default response format. Used to generate text responses.

func (ResponseFormatTextParam) ImplementsAssistantResponseFormatOptionUnionParam

func (r ResponseFormatTextParam) ImplementsAssistantResponseFormatOptionUnionParam()

func (ResponseFormatTextParam) ImplementsChatCompletionNewParamsResponseFormatUnion

func (r ResponseFormatTextParam) ImplementsChatCompletionNewParamsResponseFormatUnion()

func (ResponseFormatTextParam) MarshalJSON

func (r ResponseFormatTextParam) MarshalJSON() (data []byte, err error)

type ResponseFormatTextType

type ResponseFormatTextType string

The type of response format being defined. Always `text`.

const (
	ResponseFormatTextTypeText ResponseFormatTextType = "text"
)

func (ResponseFormatTextType) IsKnown

func (r ResponseFormatTextType) IsKnown() bool

type UnionBool

type UnionBool bool

func (UnionBool) ImplementsComparisonFilterValueUnionParam

func (UnionBool) ImplementsComparisonFilterValueUnionParam()

func (UnionBool) ImplementsVectorStoreFileAttributesUnion

func (UnionBool) ImplementsVectorStoreFileAttributesUnion()

func (UnionBool) ImplementsVectorStoreFileBatchNewParamsAttributesUnion

func (UnionBool) ImplementsVectorStoreFileBatchNewParamsAttributesUnion()

func (UnionBool) ImplementsVectorStoreFileNewParamsAttributesUnion

func (UnionBool) ImplementsVectorStoreFileNewParamsAttributesUnion()

func (UnionBool) ImplementsVectorStoreFileUpdateParamsAttributesUnion

func (UnionBool) ImplementsVectorStoreFileUpdateParamsAttributesUnion()

func (UnionBool) ImplementsVectorStoreSearchResponseAttributesUnion

func (UnionBool) ImplementsVectorStoreSearchResponseAttributesUnion()

type UnionFloat

type UnionFloat float64

func (UnionFloat) ImplementsComparisonFilterValueUnionParam

func (UnionFloat) ImplementsComparisonFilterValueUnionParam()

func (UnionFloat) ImplementsFineTuningJobHyperparametersLearningRateMultiplierUnion

func (UnionFloat) ImplementsFineTuningJobHyperparametersLearningRateMultiplierUnion()

func (UnionFloat) ImplementsFineTuningJobMethodDpoHyperparametersBetaUnion

func (UnionFloat) ImplementsFineTuningJobMethodDpoHyperparametersBetaUnion()

func (UnionFloat) ImplementsFineTuningJobMethodDpoHyperparametersLearningRateMultiplierUnion

func (UnionFloat) ImplementsFineTuningJobMethodDpoHyperparametersLearningRateMultiplierUnion()

func (UnionFloat) ImplementsFineTuningJobMethodSupervisedHyperparametersLearningRateMultiplierUnion

func (UnionFloat) ImplementsFineTuningJobMethodSupervisedHyperparametersLearningRateMultiplierUnion()

func (UnionFloat) ImplementsFineTuningJobNewParamsHyperparametersLearningRateMultiplierUnion

func (UnionFloat) ImplementsFineTuningJobNewParamsHyperparametersLearningRateMultiplierUnion()

func (UnionFloat) ImplementsFineTuningJobNewParamsMethodDpoHyperparametersBetaUnion

func (UnionFloat) ImplementsFineTuningJobNewParamsMethodDpoHyperparametersBetaUnion()

func (UnionFloat) ImplementsFineTuningJobNewParamsMethodDpoHyperparametersLearningRateMultiplierUnion

func (UnionFloat) ImplementsFineTuningJobNewParamsMethodDpoHyperparametersLearningRateMultiplierUnion()

func (UnionFloat) ImplementsFineTuningJobNewParamsMethodSupervisedHyperparametersLearningRateMultiplierUnion

func (UnionFloat) ImplementsFineTuningJobNewParamsMethodSupervisedHyperparametersLearningRateMultiplierUnion()

func (UnionFloat) ImplementsVectorStoreFileAttributesUnion

func (UnionFloat) ImplementsVectorStoreFileAttributesUnion()

func (UnionFloat) ImplementsVectorStoreFileBatchNewParamsAttributesUnion

func (UnionFloat) ImplementsVectorStoreFileBatchNewParamsAttributesUnion()

func (UnionFloat) ImplementsVectorStoreFileNewParamsAttributesUnion

func (UnionFloat) ImplementsVectorStoreFileNewParamsAttributesUnion()

func (UnionFloat) ImplementsVectorStoreFileUpdateParamsAttributesUnion

func (UnionFloat) ImplementsVectorStoreFileUpdateParamsAttributesUnion()

func (UnionFloat) ImplementsVectorStoreSearchResponseAttributesUnion

func (UnionFloat) ImplementsVectorStoreSearchResponseAttributesUnion()

type UnionInt

type UnionInt int64

func (UnionInt) ImplementsFineTuningJobHyperparametersBatchSizeUnion

func (UnionInt) ImplementsFineTuningJobHyperparametersBatchSizeUnion()

func (UnionInt) ImplementsFineTuningJobHyperparametersNEpochsUnion

func (UnionInt) ImplementsFineTuningJobHyperparametersNEpochsUnion()

func (UnionInt) ImplementsFineTuningJobMethodDpoHyperparametersBatchSizeUnion

func (UnionInt) ImplementsFineTuningJobMethodDpoHyperparametersBatchSizeUnion()

func (UnionInt) ImplementsFineTuningJobMethodDpoHyperparametersNEpochsUnion

func (UnionInt) ImplementsFineTuningJobMethodDpoHyperparametersNEpochsUnion()

func (UnionInt) ImplementsFineTuningJobMethodSupervisedHyperparametersBatchSizeUnion

func (UnionInt) ImplementsFineTuningJobMethodSupervisedHyperparametersBatchSizeUnion()

func (UnionInt) ImplementsFineTuningJobMethodSupervisedHyperparametersNEpochsUnion

func (UnionInt) ImplementsFineTuningJobMethodSupervisedHyperparametersNEpochsUnion()

func (UnionInt) ImplementsFineTuningJobNewParamsHyperparametersBatchSizeUnion

func (UnionInt) ImplementsFineTuningJobNewParamsHyperparametersBatchSizeUnion()

func (UnionInt) ImplementsFineTuningJobNewParamsHyperparametersNEpochsUnion

func (UnionInt) ImplementsFineTuningJobNewParamsHyperparametersNEpochsUnion()

func (UnionInt) ImplementsFineTuningJobNewParamsMethodDpoHyperparametersBatchSizeUnion

func (UnionInt) ImplementsFineTuningJobNewParamsMethodDpoHyperparametersBatchSizeUnion()

func (UnionInt) ImplementsFineTuningJobNewParamsMethodDpoHyperparametersNEpochsUnion

func (UnionInt) ImplementsFineTuningJobNewParamsMethodDpoHyperparametersNEpochsUnion()

func (UnionInt) ImplementsFineTuningJobNewParamsMethodSupervisedHyperparametersBatchSizeUnion

func (UnionInt) ImplementsFineTuningJobNewParamsMethodSupervisedHyperparametersBatchSizeUnion()

func (UnionInt) ImplementsFineTuningJobNewParamsMethodSupervisedHyperparametersNEpochsUnion

func (UnionInt) ImplementsFineTuningJobNewParamsMethodSupervisedHyperparametersNEpochsUnion()

type UnionString

type UnionString string

func (UnionString) ImplementsBetaThreadMessageNewParamsContentUnion

func (UnionString) ImplementsBetaThreadMessageNewParamsContentUnion()

func (UnionString) ImplementsBetaThreadNewAndRunParamsThreadMessagesContentUnion

func (UnionString) ImplementsBetaThreadNewAndRunParamsThreadMessagesContentUnion()

func (UnionString) ImplementsBetaThreadNewParamsMessagesContentUnion

func (UnionString) ImplementsBetaThreadNewParamsMessagesContentUnion()

func (UnionString) ImplementsBetaThreadRunNewParamsAdditionalMessagesContentUnion

func (UnionString) ImplementsBetaThreadRunNewParamsAdditionalMessagesContentUnion()

func (UnionString) ImplementsChatCompletionAssistantMessageParamContentUnion

func (UnionString) ImplementsChatCompletionAssistantMessageParamContentUnion()

func (UnionString) ImplementsChatCompletionDeveloperMessageParamContentUnion

func (UnionString) ImplementsChatCompletionDeveloperMessageParamContentUnion()

func (UnionString) ImplementsChatCompletionNewParamsStopUnion

func (UnionString) ImplementsChatCompletionNewParamsStopUnion()

func (UnionString) ImplementsChatCompletionPredictionContentContentUnionParam

func (UnionString) ImplementsChatCompletionPredictionContentContentUnionParam()

func (UnionString) ImplementsChatCompletionSystemMessageParamContentUnion

func (UnionString) ImplementsChatCompletionSystemMessageParamContentUnion()

func (UnionString) ImplementsChatCompletionToolMessageParamContentUnion

func (UnionString) ImplementsChatCompletionToolMessageParamContentUnion()

func (UnionString) ImplementsChatCompletionUserMessageParamContentUnion

func (UnionString) ImplementsChatCompletionUserMessageParamContentUnion()

func (UnionString) ImplementsComparisonFilterValueUnionParam

func (UnionString) ImplementsComparisonFilterValueUnionParam()

func (UnionString) ImplementsCompletionNewParamsPromptUnion

func (UnionString) ImplementsCompletionNewParamsPromptUnion()

func (UnionString) ImplementsCompletionNewParamsStopUnion

func (UnionString) ImplementsCompletionNewParamsStopUnion()

func (UnionString) ImplementsEmbeddingNewParamsInputUnion

func (UnionString) ImplementsEmbeddingNewParamsInputUnion()

func (UnionString) ImplementsModerationNewParamsInputUnion

func (UnionString) ImplementsModerationNewParamsInputUnion()

func (UnionString) ImplementsVectorStoreFileAttributesUnion

func (UnionString) ImplementsVectorStoreFileAttributesUnion()

func (UnionString) ImplementsVectorStoreFileBatchNewParamsAttributesUnion

func (UnionString) ImplementsVectorStoreFileBatchNewParamsAttributesUnion()

func (UnionString) ImplementsVectorStoreFileNewParamsAttributesUnion

func (UnionString) ImplementsVectorStoreFileNewParamsAttributesUnion()

func (UnionString) ImplementsVectorStoreFileUpdateParamsAttributesUnion

func (UnionString) ImplementsVectorStoreFileUpdateParamsAttributesUnion()

func (UnionString) ImplementsVectorStoreSearchParamsQueryUnion

func (UnionString) ImplementsVectorStoreSearchParamsQueryUnion()

func (UnionString) ImplementsVectorStoreSearchResponseAttributesUnion

func (UnionString) ImplementsVectorStoreSearchResponseAttributesUnion()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL