Documentation ¶
Overview ¶
nolint
Index ¶
- type FoundationModelsTextClassification
- type TextClassificationServiceClient
- func (c *TextClassificationServiceClient) Classify(ctx context.Context, in *text_classification.TextClassificationRequest, ...) (*text_classification.TextClassificationResponse, error)
- func (c *TextClassificationServiceClient) FewShotClassify(ctx context.Context, in *text_classification.FewShotTextClassificationRequest, ...) (*text_classification.FewShotTextClassificationResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FoundationModelsTextClassification ¶
type FoundationModelsTextClassification struct {
// contains filtered or unexported fields
}
FoundationModelsTextClassification provides access to "text_classification" component of Yandex.Cloud
func NewFoundationModelsTextClassification ¶
func NewFoundationModelsTextClassification(g func(ctx context.Context) (*grpc.ClientConn, error)) *FoundationModelsTextClassification
NewFoundationModelsTextClassification creates instance of FoundationModelsTextClassification
func (*FoundationModelsTextClassification) TextClassification ¶
func (f *FoundationModelsTextClassification) TextClassification() *TextClassificationServiceClient
TextClassification gets TextClassificationService client
type TextClassificationServiceClient ¶
type TextClassificationServiceClient struct {
// contains filtered or unexported fields
}
TextClassificationServiceClient is a text_classification.TextClassificationServiceClient with lazy GRPC connection initialization.
func (*TextClassificationServiceClient) Classify ¶
func (c *TextClassificationServiceClient) Classify(ctx context.Context, in *text_classification.TextClassificationRequest, opts ...grpc.CallOption) (*text_classification.TextClassificationResponse, error)
Classify implements text_classification.TextClassificationServiceClient
func (*TextClassificationServiceClient) FewShotClassify ¶
func (c *TextClassificationServiceClient) FewShotClassify(ctx context.Context, in *text_classification.FewShotTextClassificationRequest, opts ...grpc.CallOption) (*text_classification.FewShotTextClassificationResponse, error)
FewShotClassify implements text_classification.TextClassificationServiceClient
Click to show internal directories.
Click to hide internal directories.