genai.text.experimental.experimental_service module#
- pydantic model genai.text.experimental.experimental_service.BaseServices[source]#
Bases:
BaseModel
- field ClassificationService: type[ClassificationService] = <class 'genai.text.experimental.classification.classification_service.ClassificationService'>#
- field RerankService: type[RerankService] = <class 'genai.text.experimental.rerank.rerank_service.RerankService'>#
- field SentenceSimilarityService: type[SentenceSimilarityService] = <class 'genai.text.experimental.sentence_similarity.sentence_similarity_service.SentenceSimilarityService'>#
- class genai.text.experimental.experimental_service.ExperimentalService[source]#
Bases:
BaseService
[BaseServiceConfig
,BaseServices
]Text Experimental service which contains functionalities that are under development and thus can change.
- Services#
alias of
BaseServices
- __init__(*, api_client, services=None, **kwargs)[source]#
- Parameters:
api_client (ApiClient) –
services (BaseServices | None) –
- property classification#
- property rerank#
- property sentence_similarity#