GoodMem
ReferenceClient SDKsPython SDKRequests

EmbedderCreationRequest

EmbedderCreationRequest documentation for Python SDK

Request body for creating a new Embedder. An Embedder represents a configuration for vectorizing content.

Properties

NameTypeDescriptionNotes
validateobject[optional]
display_namestrUser-facing name of the embedder
descriptionstrDescription of the embedder[optional]
provider_typeProviderType
endpoint_urlstrAPI endpoint URL
api_pathstrAPI path for embeddings request (defaults to /embeddings if not provided)[optional]
model_identifierstrModel identifier
dimensionalityintOutput vector dimensions
distribution_typeDistributionType
max_sequence_lengthintMaximum input sequence length[optional]
supported_modalitiesList[Modality]Supported content modalities (defaults to TEXT if not provided)[optional]
credentialsEndpointAuthentication[optional]
labelsDict[str, str]User-defined labels for categorization[optional]
versionstrVersion information[optional]
monitoring_endpointstrMonitoring endpoint URL[optional]
owner_idstrOptional owner ID. If not provided, derived from the authentication context. Requires CREATE_EMBEDDER_ANY permission if specified.[optional]

Example

from goodmem_client.models.embedder_creation_request import EmbedderCreationRequest

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

# convert the object into a dict
embedder_creation_request_dict = embedder_creation_request_instance.to_dict()
# create an instance of EmbedderCreationRequest from a dict
embedder_creation_request_from_dict = EmbedderCreationRequest.from_dict(embedder_creation_request_dict)

↑ Back to Python SDK ↑ Back to Python SDK ↑ Back to Python SDK

On this page