Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.3 KB

File metadata and controls

30 lines (22 loc) · 1.3 KB

SetEmbeddingConfigRequestBody

Parameters for configuring the embedding provider.

Properties

Name Type Description Notes
type EmbeddingProviderType [optional]
key str The API key for the selected embedding provider. Pass null to keep the existing key unchanged. [optional]

Example

from docspace_api_sdk.models.set_embedding_config_request_body import SetEmbeddingConfigRequestBody

# TODO update the JSON string below
json = "{}"
# create an instance of SetEmbeddingConfigRequestBody from a JSON string
set_embedding_config_request_body_instance = SetEmbeddingConfigRequestBody.from_json(json)
# print the JSON string representation of the object
print(SetEmbeddingConfigRequestBody.to_json())

# convert the object into a dict
set_embedding_config_request_body_dict = set_embedding_config_request_body_instance.to_dict()
# create an instance of SetEmbeddingConfigRequestBody from a dict
set_embedding_config_request_body_from_dict = SetEmbeddingConfigRequestBody.from_dict(set_embedding_config_request_body_dict)

[Back to Model list] [Back to API list] [Back to README]