Documentation ¶
Index ¶
Constants ¶
View Source
const (
TITAN_EMBED_TEXT_V1 = ModelID("amazon.titan-embed-text-v1")
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func New ¶
Creates AWS BedRock embeddings client.
By default `us-east-1` region is used, supply custom `aws.Config` to alter behavior.
The client is configurable using
WithConfig(cfg aws.Config)
func (*Client) ConsumedTokens ¶
Number of tokens consumed within the session
Click to show internal directories.
Click to hide internal directories.