amazon.titan-embed-text-v2:0
) embedding model, with 1024 dimensions. To get these files, you will need:
amazon.titan-embed-text-v2:0
) embedding model, enter 1024
. If you are not sure how many dimensions to enter,
see your workflow’s Embedder node settings.amazon.titan-embed-text-v2:0
) embedding model, select Cosine. If you are not sure which distance metric to use,
see your embedding model’s documentation.text
. This allows you to query the vector index by the text
field within each object that will be coming over into the index from the JSON output files.arn:aws:s3vectors:<region-id>:<account>:bucket/<bucket-name>/index/<index-name>
.boto3
and uuid
libraries.
<source-json-file-path>
with the path to the directory that contains your JSON output files.<index-arn>
with the ARN of the vector index that you created previously in Step 2.<index-region-short-id>
with the short ID of the region where your vector index is located, for example us-east-1
.numpy
library.
<index-arn>
with the ARN of the vector index that you created previously in Step 2.<index-region-short-id>
with the short ID of the region where your vector index is located, for example us-east-1
.<sentence-to-embed>
with the search text that you want to embed for the query.<index-arn>
with the ARN of the vector index that you created earlier in Step 2.<index-region-short-id>
with the short ID of the region where your vector index is located, for example us-east-1
.<index-arn>
with the ARN of the vector index that you created earlier in Step 2.<index-region-short-id>
with the short ID of the region where your vector index is located, for example us-east-1
.<index-arn>
with the ARN of the vector index that you created earlier in Step 2.<index-region-short-id>
with the short ID of the region where your vector index is located, for example us-east-1
.<bucket-arn>
with the ARN of the vector bucket that you created earlier in Step 1. To get the ARN, do the following:
<index-region-short-id>
with the short ID of the region where your vector bucket is located, for example us-east-1
.