genai.text.embedding.limit.limit_service module#

class genai.text.embedding.limit.limit_service.LimitService[source]#

Bases: BaseService[BaseServiceConfig, BaseServiceServices]

async aretrieve()[source]#

Retrieves the current text embedding limit from the server.

Raises:
Return type:

TextEmbeddingLimitRetrieveResponse

retrieve()[source]#

Retrieves the current text embedding limit from the server.

Raises:
Return type:

TextEmbeddingLimitRetrieveResponse