genai.text.text_service module#

pydantic model genai.text.text_service.BaseServices[source]#

Bases: BaseModel

Appropriate services used by the Text Service

field ChatService: type[ChatService] = <class 'genai.text.chat.chat_generation_service.ChatService'>#
field EmbeddingService: type[EmbeddingService] = <class 'genai.text.embedding.embedding_service.EmbeddingService'>#
field ExperimentalService: type[ExperimentalService] = <class 'genai.text.experimental.experimental_service.ExperimentalService'>#
field GenerationService: type[GenerationService] = <class 'genai.text.generation.generation_service.GenerationService'>#
field ModerationService: type[ModerationService] = <class 'genai.text.moderation.moderation_service.ModerationService'>#
field TokenizationService: type[TokenizationService] = <class 'genai.text.tokenization.tokenization_service.TokenizationService'>#
class genai.text.text_service.TextService[source]#

Bases: BaseService[BaseServiceConfig, BaseServices]

Class providing access to various text-related services.

Services#

alias of BaseServices

__init__(*, api_client, services=None, **kwargs)[source]#
Parameters: