Read Embedding Model

Get embedding model by id.

Args:

db (AsyncSession): The database session. short_name (str): The short name of the embedding model. user (schemas.User): The current user.

Returns:

schemas.EmbeddingModel: The embedding model object.

Path parameters

short_namestringRequired

Headers

x-api-keystringOptional

Response

Successful Response

namestring
short_namestring
providerstring
idstringformat: "uuid"
created_atdatetime
modified_atdatetime
descriptionstringOptional
model_namestringOptional
model_versionstringOptional
auth_typeenumOptional

Enumeration of supported authentication types.

Attributes:

oauth2: OAuth2 authentication. oauth2_with_refresh: OAuth2 authentication with refresh token. oauth2_with_refresh_rotating: OAuth2 authentication with rotating refresh token. trello_auth: Trello authentication. api_key: API key authentication. native_functionality: Native functionality. url_and_api_key: URL and API key authentication. none: No authentication.

auth_config_classstringOptional
config_fieldsobjectOptional

Fields model.

Errors