| Name | Type | Description | Notes |
|---|---|---|---|
| Input | EmbeddingsRequestInput | ||
| ModelId | Pointer to string | Embedding model to use | [optional] [default to "amazon.titan-embed-text-v2:0"] |
| Dimensions | Pointer to int32 | Output embedding dimensions. Titan v2 supports: 256, 512, 1024, 8192 | [optional] [default to 1024] |
| Normalize | Pointer to bool | Normalize embeddings to unit length (magnitude = 1.0) | [optional] [default to true] |
func NewEmbeddingsRequest(input EmbeddingsRequestInput, ) *EmbeddingsRequest
NewEmbeddingsRequest instantiates a new EmbeddingsRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewEmbeddingsRequestWithDefaults() *EmbeddingsRequest
NewEmbeddingsRequestWithDefaults instantiates a new EmbeddingsRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *EmbeddingsRequest) GetInput() EmbeddingsRequestInput
GetInput returns the Input field if non-nil, zero value otherwise.
func (o *EmbeddingsRequest) GetInputOk() (*EmbeddingsRequestInput, bool)
GetInputOk returns a tuple with the Input field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EmbeddingsRequest) SetInput(v EmbeddingsRequestInput)
SetInput sets Input field to given value.
func (o *EmbeddingsRequest) GetModelId() string
GetModelId returns the ModelId field if non-nil, zero value otherwise.
func (o *EmbeddingsRequest) GetModelIdOk() (*string, bool)
GetModelIdOk returns a tuple with the ModelId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EmbeddingsRequest) SetModelId(v string)
SetModelId sets ModelId field to given value.
func (o *EmbeddingsRequest) HasModelId() bool
HasModelId returns a boolean if a field has been set.
func (o *EmbeddingsRequest) GetDimensions() int32
GetDimensions returns the Dimensions field if non-nil, zero value otherwise.
func (o *EmbeddingsRequest) GetDimensionsOk() (*int32, bool)
GetDimensionsOk returns a tuple with the Dimensions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EmbeddingsRequest) SetDimensions(v int32)
SetDimensions sets Dimensions field to given value.
func (o *EmbeddingsRequest) HasDimensions() bool
HasDimensions returns a boolean if a field has been set.
func (o *EmbeddingsRequest) GetNormalize() bool
GetNormalize returns the Normalize field if non-nil, zero value otherwise.
func (o *EmbeddingsRequest) GetNormalizeOk() (*bool, bool)
GetNormalizeOk returns a tuple with the Normalize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EmbeddingsRequest) SetNormalize(v bool)
SetNormalize sets Normalize field to given value.
func (o *EmbeddingsRequest) HasNormalize() bool
HasNormalize returns a boolean if a field has been set.