Documentation ¶
Overview ¶
nolint
nolint
nolint
Index ¶
- type FoundationModelsTextGeneration
- type TextGenerationAsyncServiceClient
- type TextGenerationServiceClient
- type TokenizerServiceClient
- func (c *TokenizerServiceClient) Tokenize(ctx context.Context, in *text_generation.TokenizeRequest, ...) (*text_generation.TokenizeResponse, error)
- func (c *TokenizerServiceClient) TokenizeCompletion(ctx context.Context, in *text_generation.CompletionRequest, ...) (*text_generation.TokenizeResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FoundationModelsTextGeneration ¶
type FoundationModelsTextGeneration struct {
// contains filtered or unexported fields
}
FoundationModelsTextGeneration provides access to "text_generation" component of Yandex.Cloud
func NewFoundationModelsTextGeneration ¶
func NewFoundationModelsTextGeneration(g func(ctx context.Context) (*grpc.ClientConn, error)) *FoundationModelsTextGeneration
NewFoundationModelsTextGeneration creates instance of FoundationModelsTextGeneration
func (*FoundationModelsTextGeneration) TextGeneration ¶
func (f *FoundationModelsTextGeneration) TextGeneration() *TextGenerationServiceClient
TextGeneration gets TextGenerationService client
func (*FoundationModelsTextGeneration) TextGenerationAsync ¶
func (f *FoundationModelsTextGeneration) TextGenerationAsync() *TextGenerationAsyncServiceClient
TextGenerationAsync gets TextGenerationAsyncService client
func (*FoundationModelsTextGeneration) Tokenizer ¶
func (f *FoundationModelsTextGeneration) Tokenizer() *TokenizerServiceClient
Tokenizer gets TokenizerService client
type TextGenerationAsyncServiceClient ¶
type TextGenerationAsyncServiceClient struct {
// contains filtered or unexported fields
}
TextGenerationAsyncServiceClient is a text_generation.TextGenerationAsyncServiceClient with lazy GRPC connection initialization.
func (*TextGenerationAsyncServiceClient) Completion ¶
func (c *TextGenerationAsyncServiceClient) Completion(ctx context.Context, in *text_generation.CompletionRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Completion implements text_generation.TextGenerationAsyncServiceClient
type TextGenerationServiceClient ¶
type TextGenerationServiceClient struct {
// contains filtered or unexported fields
}
TextGenerationServiceClient is a text_generation.TextGenerationServiceClient with lazy GRPC connection initialization.
func (*TextGenerationServiceClient) Completion ¶
func (c *TextGenerationServiceClient) Completion(ctx context.Context, in *text_generation.CompletionRequest, opts ...grpc.CallOption) (text_generation.TextGenerationService_CompletionClient, error)
Completion implements text_generation.TextGenerationServiceClient
type TokenizerServiceClient ¶
type TokenizerServiceClient struct {
// contains filtered or unexported fields
}
TokenizerServiceClient is a text_generation.TokenizerServiceClient with lazy GRPC connection initialization.
func (*TokenizerServiceClient) Tokenize ¶
func (c *TokenizerServiceClient) Tokenize(ctx context.Context, in *text_generation.TokenizeRequest, opts ...grpc.CallOption) (*text_generation.TokenizeResponse, error)
Tokenize implements text_generation.TokenizerServiceClient
func (*TokenizerServiceClient) TokenizeCompletion ¶
func (c *TokenizerServiceClient) TokenizeCompletion(ctx context.Context, in *text_generation.CompletionRequest, opts ...grpc.CallOption) (*text_generation.TokenizeResponse, error)
TokenizeCompletion implements text_generation.TokenizerServiceClient