You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: options.go
    path of file: ./repos/langchaingo/embeddings/bedrock
    
    the code of the file until where you have to start completion: package bedrock

import (
	"context"

	"github.com/aws/aws-sdk-go-v2/config"
	"github.com/aws/aws-sdk-go-v2/service/bedrockruntime"
)

const (
	_defaultBatchSize     = 512
	_defaultStripNewLines = true
	_defaultModel         = ModelTitanEmbedG1
)

// Option is a function type that can be used to modify the cli
    
func applyOptions(opts ...Option) (*Bedrock, error) {
	o := &Bedrock{
		StripNewLines: _defaultStripNewLines,
		BatchSize:     _defaultBatchSize,
	}

	for _, opt := range opts {
		opt(o)
	}

	if o.client == nil {
		cfg, err := config.LoadDefaultConfig(context.Background())
		if err != nil {
			return nil, err
		}
		o.client = bedrockruntime.NewFromConfig(cfg)
	}
	return o, nil
}