EmbedderCreationRequest
EmbedderCreationRequest documentation for Python SDK
Request body for creating a new Embedder. An Embedder represents a configuration for vectorizing content.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| validate | object | [optional] | |
| display_name | str | User-facing name of the embedder | |
| description | str | Description of the embedder | [optional] |
| provider_type | ProviderType | ||
| endpoint_url | str | API endpoint URL | |
| api_path | str | API path for embeddings request (defaults to /embeddings if not provided) | [optional] |
| model_identifier | str | Model identifier | |
| dimensionality | int | Output vector dimensions | |
| distribution_type | DistributionType | ||
| max_sequence_length | int | Maximum input sequence length | [optional] |
| supported_modalities | List[Modality] | Supported content modalities (defaults to TEXT if not provided) | [optional] |
| credentials | EndpointAuthentication | [optional] | |
| labels | Dict[str, str] | User-defined labels for categorization | [optional] |
| version | str | Version information | [optional] |
| monitoring_endpoint | str | Monitoring endpoint URL | [optional] |
| owner_id | str | Optional 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