package
0.0.0-20250219065129-52aed497bc00
Repository: https://github.com/infinilabs/coco-server.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
NewBedrock returns a new embeddings.Embedder that uses Amazon Bedrock to generate embeddings.
WithBatchSize is an option for specifying the batch size.
WithClient is an option for providing the Bedrock client.
WithModel is an option for providing the model name to use.
WithStripNewLines is an option for specifying the should it strip new lines.
# Constants
CohereInputTypeQuery is the input type for query embeddings.
CohereInputTypeText is the input type for text embeddings.
ModelCohereEn is the model id for the cohere english embeddings.
ModelCohereMulti is the model id for the cohere multilingual embeddings.
ModelTitanEmbedG1 is the model id for the amazon text embeddings.
# Type aliases
Option is a function type that can be used to modify the client.