Documentation ¶
Overview ¶
nolint
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmbeddingsServiceClient ¶
type EmbeddingsServiceClient struct {
// contains filtered or unexported fields
}
EmbeddingsServiceClient is a embedding.EmbeddingsServiceClient with lazy GRPC connection initialization.
func (*EmbeddingsServiceClient) TextEmbedding ¶
func (c *EmbeddingsServiceClient) TextEmbedding(ctx context.Context, in *embedding.TextEmbeddingRequest, opts ...grpc.CallOption) (*embedding.TextEmbeddingResponse, error)
TextEmbedding implements embedding.EmbeddingsServiceClient
type FoundationModelsEmbedding ¶
type FoundationModelsEmbedding struct {
// contains filtered or unexported fields
}
FoundationModelsEmbedding provides access to "embedding" component of Yandex.Cloud
func NewFoundationModelsEmbedding ¶
func NewFoundationModelsEmbedding(g func(ctx context.Context) (*grpc.ClientConn, error)) *FoundationModelsEmbedding
NewFoundationModelsEmbedding creates instance of FoundationModelsEmbedding
func (*FoundationModelsEmbedding) Embeddings ¶
func (f *FoundationModelsEmbedding) Embeddings() *EmbeddingsServiceClient
Embeddings gets EmbeddingsService client
Click to show internal directories.
Click to hide internal directories.