AWS AI services
Eleven pre-trained APIs. Send an image, some audio, a block of text or a scanned form; get a result back. No training data, no model, no endpoint to keep alive. The only skill worth having here is recognition — read the problem, name the service, move on.
Mười một API đã huấn luyện sẵn. Gửi lên một tấm ảnh, một đoạn audio, một khối text hay một tờ giấy scan; nhận về kết quả. Không cần dữ liệu huấn luyện, không cần model, không cần endpoint phải nuôi. Kỹ năng duy nhất đáng có ở đây là nhận diện — đọc đề, gọi tên service, đi tiếp.
Reach for it / not the right toolKhi nào dùng / khi nào không
Reach for a pre-trained APIChọn API huấn luyện sẵn
- The problem is generic and already solved: read this text, hear this speech, find a face, translate this page.Bài toán phổ quát và đã có lời giải: đọc chữ này, nghe câu này, tìm khuôn mặt, dịch trang này.
- You have no labelled training data and no ML team, and it has to ship this sprint.Bạn không có dữ liệu gán nhãn, không có đội ML, mà sprint này phải ra được.
- Traffic is spiky — pay per unit processed beats keeping an inference endpoint warm.Lưu lượng lên xuống thất thường — trả theo lượng đã xử lý rẻ hơn nuôi một endpoint inference luôn bật.
- You need a human in the loop for the uncertain cases and don't want to build that queue yourself — A2I is already wired in.Bạn cần người duyệt lại những ca không chắc chắn mà không muốn tự dựng hàng đợi đó — A2I đã nối sẵn.
Not the right toolKhông phải chỗ dùng
- The prediction is specific to your business — churn, fraud score, demand forecast. Nobody pre-trained that; build it in SageMaker.Dự đoán riêng của doanh nghiệp bạn — churn, điểm gian lận, dự báo nhu cầu. Không ai train sẵn cái đó; hãy tự xây bằng SageMaker.
- You need the model itself — its weights, its metrics, running it at the edge or in your own VPC container. SageMaker.Bạn cần chính cái model — trọng số, chỉ số, chạy ở edge hay trong container VPC của mình. SageMaker.
- The verb is generate: write, summarise, rewrite, converse over our documents with an LLM → Bedrock, not Comprehend.Động từ là sinh ra: viết, tóm tắt, viết lại, trò chuyện trên tài liệu bằng LLM → Bedrock, không phải Comprehend.
- Accuracy on domain jargon is the whole point — try custom vocabularies and custom labels first, but a truly specialist model is a training job, not an API call.Yêu cầu chính là chính xác với thuật ngữ chuyên ngành — thử custom vocabulary và custom label trước, nhưng một model thật sự chuyên biệt là một job training, không phải một lời gọi API.
The decision table — problem to service in one glanceBảng quyết định — từ bài toán ra service trong một cái liếc
This is the whole page. Everything below is just the detail behind a row. Đây là toàn bộ trang. Mọi thứ bên dưới chỉ là chi tiết đằng sau một dòng.
| You have…Bạn đang có… | You want…Bạn muốn… | ServiceService |
|---|---|---|
| Images or videoẢnh hoặc video | to know what's in them — objects, people, text, scenes, faces, celebrities, movement pathsbiết trong đó có gì — vật thể, người, chữ, khung cảnh, khuôn mặt, người nổi tiếng, đường di chuyển | Rekognition |
| User-uploaded images or videoẢnh/video do người dùng tải lên | to block offensive content, with a human second opinion on the borderline caseschặn nội dung phản cảm, và có người duyệt lại những ca lấp lửng | Rekognition Content Moderation + A2IRekognition Content Moderation + A2I |
| Recorded or streaming speechGiọng nói đã ghi hoặc đang stream | a text transcript, with PII stripped out and the language worked out for youmột bản text, đã gỡ PII và tự nhận ra ngôn ngữ | Transcribe |
| Written textVăn bản | it read aloud in a lifelike voice, with your acronyms pronounced correctlyđọc to lên bằng giọng như người thật, và đọc đúng các từ viết tắt của bạn | Polly |
| Text in one languageText ở một ngôn ngữ | the same text in another — localise a site or an app for international userschính text đó ở ngôn ngữ khác — bản địa hoá site hoặc app cho người dùng quốc tế | Translate |
| A conversation — chat or phoneMột cuộc hội thoại — chat hoặc điện thoại | a bot that works out what the caller actually wants and hands it to codemột bot hiểu được người gọi thực sự muốn gì rồi chuyển cho code xử lý | Lex |
| No contact centre at allChưa có tổng đài nào cả | phone numbers, queues, agents and contact flows — this month, with no hardwaresố điện thoại, hàng đợi, nhân viên và contact flow — ngay tháng này, không cần thiết bị | Connect |
| A pile of free-form textMột đống text tự do | language, key phrases, people/places/brands/events, sentiment, and topics found for youngôn ngữ, cụm từ khoá, người/địa điểm/thương hiệu/sự kiện, sắc thái, và chủ đề được tự tìm ra | Comprehend |
| Clinical notes and discharge summariesGhi chú lâm sàng và tóm tắt xuất viện | conditions, medications and PHI pulled out of unstructured prosebệnh lý, thuốc và PHI được rút ra khỏi văn xuôi phi cấu trúc | Comprehend MedicalComprehend Medical |
| Ten years of internal documentsMười năm tài liệu nội bộ | to ask a question in plain English and get the answer, not a list of linkshỏi bằng câu nói thường và nhận về câu trả lời, không phải danh sách link | Kendra |
| A history of what users clicked and boughtLịch sử người dùng đã bấm và đã mua | "you may also like" in real time, on the site, in SMS and in email"có thể bạn cũng thích" theo thời gian thực, trên web, trong SMS và email | Personalize |
| Scanned forms, invoices, passportsBiểu mẫu, hoá đơn, hộ chiếu đã scan | the printed text, the handwriting and the table cells as structured fieldschữ in, chữ viết tay và các ô trong bảng thành trường dữ liệu có cấu trúc | Textract |
Four inputs, eleven services. If you can name the input type, you have already narrowed it to one column — and most columns only have one plausible answer.
Bốn loại đầu vào, mười một service. Chỉ cần gọi đúng tên loại đầu vào là đã thu về một cột — và phần lớn cột chỉ có một đáp án hợp lý.
The eleven, one screen eachMười một cái, mỗi cái một màn hình
Rekognition — eyesRekognition — con mắt
Finds objects, people, text and scenes in images and video. Then the face family: facial analysis (gender, age range, emotion) and facial search for user verification and people counting, against a database of "familiar faces" you build yourself — or against the celebrity index. In video it also does pathing: where did this person move, frame by frame (sports analysis is the stock example). Tìm vật thể, người, chữ và khung cảnh trong ảnh và video. Rồi tới nhóm khuôn mặt: facial analysis (giới tính, khoảng tuổi, cảm xúc) và facial search để xác thực người dùng và đếm người, đối chiếu với một database "khuôn mặt quen" do bạn tự dựng — hoặc với danh mục người nổi tiếng. Trong video còn có pathing: người này di chuyển thế nào qua từng khung hình (ví dụ kinh điển là phân tích thể thao).
Transcribe — speech becomes textTranscribe — giọng nói thành chữ
Speech to text via automatic speech recognition (ASR). Two features do most of the exam work: it can automatically redact PII from the transcript, and automatic language identification handles multi-lingual audio without you declaring the language. Reach for it to transcribe customer-service calls, generate closed captions and subtitles, or turn a media library into a fully searchable archive. Chuyển giọng nói thành text bằng automatic speech recognition (ASR). Hai tính năng gánh phần lớn câu hỏi thi: nó có thể tự động che PII trong bản transcript, và automatic language identification xử lý audio đa ngôn ngữ mà không cần bạn khai báo trước. Dùng để ghi lại cuộc gọi chăm sóc khách hàng, tạo phụ đề và closed caption, hoặc biến kho media thành một archive tìm kiếm được.
Polly — text becomes speechPolly — chữ thành giọng nói
The mirror of Transcribe: turn text into lifelike speech so an application can talk. Everything worth remembering is about controlling how it speaks. Đối xứng với Transcribe: biến text thành giọng nói như người thật để ứng dụng biết nói. Mọi thứ đáng nhớ đều xoay quanh việc điều khiển cách nó nói.
St3ph4ne → "Stephane", AWS → "Amazon Web Services". You upload the lexicon and reference it in the SynthesizeSpeech operation, and it applies everywhere that word appears. SSML marks up a passage: emphasis, phonetic pronunciation, breathing sounds and whispering, and the Newscaster speaking style. Acronyms and stylised spellings → lexicon. Delivery and tone → SSML.
Pronunciation lexicon sửa từ: St3ph4ne → "Stephane", AWS → "Amazon Web Services". Bạn upload lexicon rồi tham chiếu nó trong thao tác SynthesizeSpeech, và nó áp dụng ở mọi chỗ từ đó xuất hiện. SSML đánh dấu cả đoạn: nhấn mạnh, phiên âm, tiếng thở và thì thầm, và giọng đọc kiểu Newscaster. Từ viết tắt và cách viết cách điệu → lexicon. Cách truyền đạt và ngữ điệu → SSML.
Translate — one language to anotherTranslate — từ ngôn ngữ này sang ngôn ngữ khác
Natural, accurate machine translation. The use case the exam phrases it as: localise a website or an application for international users, and translate large volumes of text cheaply. It is a single-purpose box — if a question mentions two languages, this is it. Dịch máy tự nhiên và chính xác. Cách đề thi hay diễn đạt: bản địa hoá website hoặc ứng dụng cho người dùng quốc tế, và dịch khối lượng text lớn với chi phí thấp. Đây là hộp đơn mục đích — hễ đề nhắc tới hai ngôn ngữ thì chính là nó.
Lex — the brain behind AlexaLex — bộ não đằng sau Alexa
Same technology that powers Alexa, and it is exactly two things bolted together: ASR to turn speech into text, plus natural language understanding (NLU) to work out the caller's intent from that text. "I'd like to move my appointment to Friday" → intent RescheduleAppointment, slot date=Friday. That's what you build chatbots and call-centre bots out of.
Cùng công nghệ chạy Alexa, và nó đúng là hai thứ ghép lại: ASR để biến giọng nói thành text, cộng natural language understanding (NLU) để suy ra intent của người gọi từ text đó. "Tôi muốn dời lịch hẹn sang thứ Sáu" → intent RescheduleAppointment, slot date=Friday. Đó là thứ để dựng chatbot và bot tổng đài.
Connect — the contact centre itselfConnect — chính cái tổng đài
A cloud-based virtual contact centre: receive calls, build contact flows, route to agents, integrate with a CRM or with the rest of AWS. No upfront payments and dramatically cheaper than traditional contact-centre software, because there is no hardware and no licence. Note what it is not: there is no ML in Connect itself — it's the phone line that feeds Lex. Một tổng đài ảo trên cloud: nhận cuộc gọi, dựng contact flow, định tuyến tới nhân viên, tích hợp với CRM hoặc phần còn lại của AWS. Không phải trả trước và rẻ hơn hẳn phần mềm tổng đài truyền thống, vì không có thiết bị và không có licence. Nhớ nó không là gì: bản thân Connect không có ML — nó là đường dây điện thoại đưa audio cho Lex.
…and the five that work on text, documents and signals…và năm cái làm việc trên text, tài liệu và tín hiệu
Comprehend — NLP on a pile of textComprehend — NLP trên một đống text
Natural Language Processing, fully managed and serverless. In one API it detects the language of the text, extracts key phrases, places, people, brands and events, scores sentiment (how positive or negative), analyses tokenization and parts of speech, and will automatically organise a collection of text files by topic — topics you never defined. Typical use: read every support email and find out what drives a bad experience. Natural Language Processing, fully managed và serverless. Trong một API nó nhận ra ngôn ngữ của text, rút ra cụm từ khoá, địa điểm, con người, thương hiệu và sự kiện, chấm sentiment (tích cực hay tiêu cực tới mức nào), phân tích tokenization và từ loại, và có thể tự sắp xếp một tập file text theo chủ đề — chủ đề mà bạn chưa từng định nghĩa. Dùng điển hình: đọc hết email hỗ trợ để tìm ra cái gì tạo ra trải nghiệm tệ.
Comprehend Medical — the clinical variantComprehend Medical — biến thể lâm sàng
Pulls useful information out of unstructured clinical text: physician's notes, discharge summaries, test results, case notes. Uses NLP to detect Protected Health Information (PHI) through the DetectPHI API. Feed it three ways: store the documents in S3, analyse real-time data with Kinesis Data Firehose, or run patient narratives through Transcribe first to get text it can read.
Rút thông tin hữu ích ra khỏi văn bản lâm sàng phi cấu trúc: ghi chú của bác sĩ, tóm tắt xuất viện, kết quả xét nghiệm, hồ sơ ca bệnh. Dùng NLP để phát hiện Protected Health Information (PHI) qua API DetectPHI. Ba cách đưa dữ liệu vào: lưu tài liệu trong S3, phân tích dữ liệu thời gian thực bằng Kinesis Data Firehose, hoặc cho lời kể của bệnh nhân qua Transcribe trước để có text cho nó đọc.
Kendra — search that answersKendra — tìm kiếm biết trả lời
Fully managed document search powered by ML. The distinguishing verb is extract: it pulls the answer out of within a document — text, PDF, HTML, PowerPoint, Word, FAQs — and answers a natural-language question. "Where is the IT support desk?" → "1st floor", not ten links. Incremental Learning promotes results people actually clicked, and you can manually fine-tune ranking (importance of a data source, freshness, custom rules). Dịch vụ tìm kiếm tài liệu fully managed chạy bằng ML. Động từ đặc trưng là rút ra: nó lấy câu trả lời từ bên trong tài liệu — text, PDF, HTML, PowerPoint, Word, FAQ — và trả lời câu hỏi bằng ngôn ngữ tự nhiên. "Bàn hỗ trợ IT ở đâu?" → "Tầng 1", chứ không phải mười cái link. Incremental Learning đẩy lên những kết quả người dùng thực sự bấm vào, và bạn có thể tự tinh chỉnh xếp hạng (độ quan trọng của nguồn dữ liệu, độ mới, luật tuỳ chỉnh).
Personalize — recommendations, in daysPersonalize — gợi ý, trong vài ngày
Fully managed ML for real-time personalised recommendations: product recommendations and re-ranking, plus customised direct marketing. Same technology Amazon.com runs on. It reads history from S3 and live events through its own API, then serves a customised API you drop into existing websites, apps, SMS and email systems — implement in days, not months, because you never build, train or deploy a model. ML fully managed cho gợi ý cá nhân hoá theo thời gian thực: gợi ý sản phẩm và xếp lại thứ tự, cộng thêm marketing trực tiếp theo từng người. Cùng công nghệ mà Amazon.com đang chạy. Nó đọc lịch sử từ S3 và sự kiện trực tiếp qua API riêng, rồi cung cấp một API tuỳ biến để bạn gắn vào website, app, SMS và email có sẵn — làm xong trong vài ngày, không phải vài tháng, vì bạn không hề phải build, train hay deploy model.
Textract — paper becomes dataTextract — giấy tờ thành dữ liệu
Extracts text, handwriting and structured data from scanned documents using AI/ML — reads PDFs and images, and crucially pulls data out of forms and tables as key/value pairs and cells, not one flat blob. Use cases the exam reaches for: financial services (invoices, financial reports), healthcare (medical records, insurance claims), public sector (tax forms, ID documents, passports). Rút chữ, chữ viết tay và dữ liệu có cấu trúc ra khỏi tài liệu scan bằng AI/ML — đọc được PDF và ảnh, và quan trọng là lấy dữ liệu từ biểu mẫu và bảng thành cặp key/value và từng ô, chứ không phải một khối text phẳng. Các use case đề thi hay dùng: tài chính (hoá đơn, báo cáo tài chính), y tế (hồ sơ bệnh án, yêu cầu bảo hiểm), khu vực công (tờ khai thuế, giấy tờ tuỳ thân, hộ chiếu).
Worked example — one support call, two pipelinesVí dụ chạy thật — một cuộc gọi hỗ trợ, hai pipeline
These services are never used alone in an exam question. The two chains worth memorising: the live chain Connect → Lex → Lambda → CRM that serves the caller now, and the analysis chain Transcribe → Comprehend → Translate that tells you afterwards what happened.
Trong đề thi, mấy service này không bao giờ đứng một mình. Hai chuỗi đáng thuộc: chuỗi trực tiếp Connect → Lex → Lambda → CRM phục vụ người gọi ngay lúc đó, và chuỗi phân tích Transcribe → Comprehend → Translate cho bạn biết sau đó chuyện gì đã xảy ra.
Connect owns the phone line, Lex owns the meaning, Lambda owns the doing. The second row never touches the caller — it exists so somebody can ask, next week, why this call happened.
Connect giữ đường dây, Lex giữ phần ý nghĩa, Lambda giữ phần hành động. Hàng thứ hai không chạm tới người gọi — nó tồn tại để tuần sau ai đó hỏi được vì sao có cuộc gọi này.
- Redact before you analyse. Turn on Transcribe's PII redaction in the transcription job itself — once the raw transcript lands in S3, the card number is already at rest in your bucket. Che PII trước khi phân tích. Bật redaction PII ngay trong job của Transcribe — một khi transcript thô rơi vào S3 thì số thẻ đã nằm sẵn trong bucket của bạn rồi.
- Comprehend reads text, not audio. Any "analyse the sentiment of our calls" question is always two services: Transcribe first, Comprehend second. Answers that skip Transcribe are wrong. Comprehend đọc text, không đọc audio. Mọi câu "phân tích sắc thái các cuộc gọi" luôn là hai service: Transcribe trước, Comprehend sau. Đáp án bỏ qua Transcribe là sai.
- Translate sits in the middle, both ways. Translate the transcript so one analytics pipeline handles every market; translate Lex's reply so Polly can speak it back in the caller's language. Translate đứng ở giữa, theo cả hai chiều. Dịch transcript để một pipeline phân tích lo được mọi thị trường; dịch câu trả lời của Lex để Polly nói lại bằng ngôn ngữ của người gọi.
- Everything here is asynchronous by default for anything long — video analysis, batch transcription, big document jobs return a job ID and notify on completion. Don't design a synchronous request/response around them. Mọi thứ ở đây mặc định là bất đồng bộ với việc kéo dài — phân tích video, transcribe theo lô, job tài liệu lớn đều trả về job ID rồi báo khi xong. Đừng thiết kế kiểu request/response đồng bộ quanh chúng.
Exam reflexesPhản xạ khi thi
| The question says…Đề nói… | AnswerTrả lời |
|---|---|
| "Turn recorded support calls into text and remove customer PII""Biến bản ghi cuộc gọi hỗ trợ thành text và gỡ PII của khách" | Transcribe with redaction on — Comprehend can't hear audioTranscribe bật redaction — Comprehend không nghe được audio |
| "Block offensive user uploads, but a human must check the borderline ones""Chặn ảnh phản cảm người dùng đăng lên, nhưng ca lấp lửng phải có người duyệt" | Rekognition Content Moderation + Minimum Confidence Threshold → A2IRekognition Content Moderation + Minimum Confidence Threshold → A2I |
| "Callers should be able to say what they want over the phone, no hardware""Người gọi nói ra điều họ muốn qua điện thoại, không cần thiết bị" | Connect for the line, Lex for the intent, Lambda for the actionConnect cho đường dây, Lex cho intent, Lambda cho hành động |
| "Search ten years of internal PDFs and get an answer, not a link list""Tìm trong mười năm PDF nội bộ và nhận câu trả lời, không phải danh sách link" | Kendra — natural-language search plus Incremental LearningKendra — tìm bằng ngôn ngữ tự nhiên cộng Incremental Learning |
| "Read handwriting off scanned insurance claims into structured fields""Đọc chữ viết tay trên hồ sơ bảo hiểm scan thành trường dữ liệu" | Textract — forms and tables. Comprehend Medical only after the text existsTextract — form và table. Comprehend Medical chỉ vào cuộc sau khi đã có text |
| "Recommend the next product in real time, and we need it live in weeks""Gợi ý sản phẩm tiếp theo theo thời gian thực, và phải lên trong vài tuần" | Personalize — days not months, no model to buildPersonalize — vài ngày chứ không vài tháng, không phải xây model |
| "The IVR must read AWS aloud as 'Amazon Web Services'""Hệ thống thoại phải đọc AWS thành 'Amazon Web Services'" | Polly pronunciation lexicon, referenced from SynthesizeSpeech — SSML is for tone, not vocabularyPolly pronunciation lexicon, tham chiếu từ SynthesizeSpeech — SSML lo ngữ điệu, không lo từ vựng |
| "Predict churn from our own labelled dataset""Dự đoán churn từ bộ dữ liệu gán nhãn của chúng tôi" | None of these — SageMaker. Pre-trained APIs solve generic problems onlyKhông cái nào ở đây — SageMaker. API huấn luyện sẵn chỉ giải bài toán phổ quát |