Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.07 KB

File metadata and controls

30 lines (21 loc) · 1.07 KB

OpenAIEmbeddingsRequest

Properties

Name Type Description Notes
input Input
model str The name of the model used for creating the embeddings

Example

from cms_client.models.open_ai_embeddings_request import OpenAIEmbeddingsRequest

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

# convert the object into a dict
open_ai_embeddings_request_dict = open_ai_embeddings_request_instance.to_dict()
# create an instance of OpenAIEmbeddingsRequest from a dict
open_ai_embeddings_request_from_dict = OpenAIEmbeddingsRequest.from_dict(open_ai_embeddings_request_dict)

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