// Code generated by sdkgen. DO NOT EDIT.

package embedding

import (
	"context"

	"google.golang.org/grpc"
)

// FoundationModelsEmbedding provides access to "embedding" component of Yandex.Cloud
type FoundationModelsEmbedding struct {
	getConn func(ctx context.Context) (*grpc.ClientConn, error)
}

// NewFoundationModelsEmbedding creates instance of FoundationModelsEmbedding
func NewFoundationModelsEmbedding(g func(ctx context.Context) (*grpc.ClientConn, error)) *FoundationModelsEmbedding {
	return &FoundationModelsEmbedding{g}
}

// Embeddings gets EmbeddingsService client
func (f *FoundationModelsEmbedding) Embeddings() *EmbeddingsServiceClient {
	return &EmbeddingsServiceClient{getConn: f.getConn}
}
