• About Us
  • Contact Us
  • Advertise
  • Privacy Policy
  • Guest Post
No Result
View All Result
Digital Phablet
  • Home
  • NewsLatest
  • Technology
    • Education Tech
    • Home Tech
    • Office Tech
    • Fintech
    • Digital Marketing
  • Social Media
  • Gaming
  • Smartphones
  • AI
  • Reviews
  • Interesting
  • How To
  • Home
  • NewsLatest
  • Technology
    • Education Tech
    • Home Tech
    • Office Tech
    • Fintech
    • Digital Marketing
  • Social Media
  • Gaming
  • Smartphones
  • AI
  • Reviews
  • Interesting
  • How To
No Result
View All Result
Digital Phablet
No Result
View All Result

Home » How to Use AWS Titan Text Embeddings REST API

How to Use AWS Titan Text Embeddings REST API

Emily Smith by Emily Smith
October 27, 2025
in How To
Reading Time: 1 min read
A A
How to Set Up Amazon Q Business with QuickSight Using IAM Federation
ADVERTISEMENT

Select Language:

If you want to generate an embedding for the text “Sense and Sensibility” using Amazon Titan Text Embeddings v2 through a REST API in Postman, here’s a simple guide to help you get started.

ADVERTISEMENT

First, you need to set up your request with the right method and URL. Use the POST method and point it to this URL—make sure to replace the [region] placeholder with your actual AWS region:

https://bedrock-runtime.[region].amazonaws.com/model/amazon.titan-embed-text-v2:0/invoke

Next, add the required headers to your request. These are:

ADVERTISEMENT

– Content-Type: application/json
– Accept: application/json
– Authorization: [your AWS credentials]

Now, for the request body, include the following JSON structure:

json
{
“inputText”: “Sense and Sensibility”,
“dimensions”: 1024,
“normalize”: true
}

Here’s what these options do:
– The “dimensions” controls the size of the embedding vector. You can choose 256, 512, or 1024, with 1024 being the default if you leave it out.
– The “normalize” determines whether the output vector should be scaled to a standard range for comparison.

If you want to specify the type of embeddings—like binary—you can include the “embeddingTypes” parameter. For example:

json
“embeddingTypes”: [“binary”]

ADVERTISEMENT

Keep in mind, requesting only binary embeddings will change where the response data appears. Instead of a usual “embedding” field, your response will include “embeddingsByType.binary”.

Once you’ve sent the request, the response will include the actual embedding vector and the number of tokens in your input text.

Make sure your AWS credentials are properly configured in Postman to authorize your request. This setup will allow you to generate text embeddings efficiently.

For more detailed instructions or troubleshooting, consult the official AWS documentation links provided. These resources include examples of invoking Amazon Titan Text Embeddings and specifics about model parameters.

By following these steps, you can effortlessly create embeddings for any text using Amazon Titan in Postman.

ChatGPT ChatGPT Perplexity AI Perplexity Gemini AI Logo Gemini AI Grok AI Logo Grok AI
Google Banner
ADVERTISEMENT
Emily Smith

Emily Smith

Emily is a digital marketer in Austin, Texas. She enjoys gaming, playing guitar, and dreams of traveling to Japan with her golden retriever, Max.

Related Posts

Chinese CEOs Are Highly Positive on AI Future, Says PwC Chairman
Business

Chinese CEOs Are Highly Positive on AI Future, Says PwC Chairman

January 21, 2026
All Time Best Test Batsman 

1,  Don Bradman
2,  Steve Smith
3,  Len Hutton
4,
Infotainment

Top All Time Best Test Batsmen of Cricket History

January 21, 2026
India to Recall Diplomat Families from Bangladesh
News

India to Recall Diplomat Families from Bangladesh

January 21, 2026
ByteDance's Doubao to Serve as AI Guide at Two Major Art Exhibitions in Pudong
Business

ByteDance’s Doubao to Serve as AI Guide at Two Major Art Exhibitions in Pudong

January 21, 2026
Next Post
city 3213676 960 720.jpg

AI Shows Heat Up in Mobile for Half a Month

  • About Us
  • Contact Us
  • Advertise
  • Privacy Policy
  • Guest Post

© 2026 Digital Phablet

No Result
View All Result
  • Home
  • News
  • Technology
    • Education Tech
    • Home Tech
    • Office Tech
    • Fintech
    • Digital Marketing
  • Social Media
  • Gaming
  • Smartphones

© 2026 Digital Phablet