text_generation

package
v0.0.0-...-016f84a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

nolint

nolint

nolint

Index

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

TextGeneration gets TextGenerationService client

func (*FoundationModelsTextGeneration) TextGenerationAsync

TextGenerationAsync gets TextGenerationAsyncService client

func (*FoundationModelsTextGeneration) Tokenizer

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

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

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

Tokenize implements text_generation.TokenizerServiceClient

func (*TokenizerServiceClient) TokenizeCompletion

TokenizeCompletion implements text_generation.TokenizerServiceClient

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL