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:
ApiResponseException – In case of a known API error.
ApiNetworkException – In case of unhandled network error.
- Return type:
- retrieve()[source]¶
Retrieves the current text embedding limit from the server.
- Raises:
ApiResponseException – In case of a known API error.
ApiNetworkException – In case of unhandled network error.
- Return type: