翻篇收录说明
翻篇网页快照

Use cases - TypeSafe

https://docs.typesafe.ai/concepts/use-case-map

最近抓取:2026-12-04 05:12:57(北京时间)

最近内容变化:2026-12-01 03:21:20(北京时间)

这是最近一次有效抓取的文本快照,不含网页脚本、图片和动态交互内容。实际网页可能已更新。

访问原网页

页面简介

Build business workflows where Jev makes the judgments and your code acts on them.

正文摘录

Use cases include checking invoices, moderating chat, guarding LLM apps, and searching documents. Pick a category to see its use cases and try the example behind each one, or read on for how they are built. Use case categories Business process automationCheck invoices, claims, and documents before money moves, and send the uncertain ones to a person. Code owns the control flow, not markdown files, so it runs a million times in the background without a human co-pilot.Real-time appsFrontier intelligence in about 150ms, fast enough for live UIs, voice assistants, games, and live chat moderation.Search and labeling at scaleAbout 100x cheaper than a frontier LLM, so you can ask a question of every row, line, or record, then rank, filter, or label the results.Agents and verificationCatch the jailbreaks, hallucinations, and citation errors other AIs make, at a fraction of the cost of the LLM call, and add routing, safety checks, and new abilities to agents.Images and videoFind, read, and check what’s in scans, photos, and video frames. Use cases and examples Business process automation For teams that check documents and claims before money moves, copy values out of documents by hand, or work through a queue of alerts. Use caseWhat Jev judgesWhat your code doesExampleDecide whether an invoice can be paidQuestions about the invoice, purchase order, contract, vendor record, prior invoices, correspondence, delivery evidence, and approvalsStops on fraud or duplicates, then holds, disputes line items, requests a corrected invoice, routes for approval, pays less than the invoiced amount, schedules, or paysSee the workflow ↗Check OCR values and their bounding boxes on invoicesWhere each value an OCR extractor read appears on the page, whether the page supports that value, and whether a crop of its box does tooAccepts the fields and sends low-scoring ones to reviewTry it →Extract pre-parsed values, such as invoice totalsWhich of the candidates a regex found is the value you asked forCopies that text exactly as it appears and converts it to a standard formatTry it →Extract dates from documentsWhich day, month, year, or relative date (such as “next Thursday”) a document names for each date you ask aboutWorks out the calendar date, checks that it is valid, and sends low-confidence ones to reviewTry it →Recover the structure of plain-text documentsWhich lines continue the one before, and whether each block is a heading, list, code, or calloutRebuilds the document as MarkdownTry it →Classify SEC filings by industryWhich of 75 industry groups an SEC annual report belongs toReports the group, or the broader division above it when the answer’s confidence is lowTry it →Brief a regulation in one requestThirteen questions about the GDPR’s Wikipedia article, such as whether a data breach must be reported within 72 hours, whether the law applies outside the EU, and how large its fines can beGets all 13 answers from one request, about 12x cheaper and faster than asking them one at a timeTry it →Triage security alertsWhether the activity was unauthorized, whether a ticket or schedule explains it, and how strong the evidence isCloses explained alerts, queues unclear ones, and acts to contain confirmed incidentsSee the workflow ↗ Worked example: catch invoice fraud in an accounts-payable inboxA finance team’s shared inbox gets invoices, payment reminders, and questions from vendors. A few emails pretend to come from a vendor and ask for payment to new bank details. They can read like normal vendor emails, so a spam filter lets them through.Instead of asking Jev whether an email is fraudulent, ask about the signs of fraud. Send one request with the email, the vendor’s record on file, the open invoices, and specific questions to help you determine if the email is fraud: Does the email need an action from the finance team? Does the sender’s address look like it belongs to the vendor named in the email? Does the email ask to change the vendor’s payment or bank details? Does the email pressure the reader to act quickly? Which open invoice is the email about? Does the email refer to any open invoice? Your code checks the fraud rule first, then whether the email needs action, and finally which invoice it concerns. If an answer needed for the next step is uncertain, send the email to finance. Once the answers an action needs are clear, uncertainty in the other answers does not stop it.AnswersActionAsks to change payment or bank details, and either the sender’s address looks wrong or the email pressures the readerHold payments to that vendor and alert financeFraud rule does not trigger, and the email needs no actionArchiveFraud rule does not trigger, the email needs action, and it refers to an open invoice that Jev identifies with a probability above your thresholdSend to the person who owns the invoiceFraud rule does not trigger, the email needs action, and it refers to no open invoiceSend to financeAn answer that the fraud rule, the needs-action check, or the invoice match depends on is uncertainSend to financeSet probability thresholds for the answers each rule uses. If a temporary payment hold is less costly than missing a suspicious payment request, use a lower threshold to hold it for review. Require stronger evidence before archiving: the fraud rule must be ruled out, and the probability that the email needs action must be below your no-action threshold. Keep checks your code can do in the code, such as comparing an invoice total with its purchase order.This example combines three patterns for asking questions and using the answers in code. Speculative fan-out asks every question in one request, including ones your code ends up not needing. The last question in the list is a companion Noul question: it tells your code when the email names no open invoice. Routing by probability sets a stricter threshold for actions that are hard to undo, such as archiving.The invoice payment workflow applies the same approach to the whole decision of whether an invoice can be paid. More ideas Claims triage Classify first notice of loss (FNOL) reports, adjuster notes, and supporting documents. Judge how complex a claim is, and detect missing information and potential fraud indicators. Prioritize claims for specialist review or for straight-through processing (STP), where a claim is handled automatically from start to finish with no manual step. Escalate uncertain or high-risk cases to a human adjuster. Financial crime and know-your-customer (KYC) checks Evaluate payment descriptions (such as a transfer’s reference or memo), KYC documents, and past alerts for suspicious characteristics. Match the same person or company across records whose names and profiles don’t agree. Prioritize alerts by risk, relevance, and evidence quality. Route ambiguous cases to investigators for review. Risk assessment Turn incident reports, claims notes, transaction descriptions, and vendor assessments into risk indicators, each with a probability. Use these indicators in insurance and underwriting workflows, where underwriting means deciding whether to take on a risk and on what terms. Classify risk types and detect suspicious characteristics. Score severity and prioritize review. Extract features, the input values a model learns from, for broader risk models. Real-time apps For apps that need an answer in milliseconds, such as smart home assistants, ordering, presentation tools, and live chat moderation. Use caseWhat Jev judgesWhat your code doesExampleTick off a presenter’s notes as they speakHow well the live transcript covers each note not yet tickedTicks a note once its score passes the thresholdTry it →Turn a cafe order into a shopping cartWhich menu items an order names, and the fields of each itemBuilds a structured cartTry it →Control a smart home from plain-language requestsWhat kind of request it is, and which area, device, and action it targetsRuns the command, and passes questions and conversation to an LLMTry it →Filter Twitch chatWhat kind of message it is (a question, cheering, chat, unasked-for gameplay advice, or spam), whether it insults someone, and whether it spoils the gameHides insults, spam, and unasked-for advice, blurs spoilers, and highlights questionsTry it → More ideas Voice agents Judge whether the speaker has finished their turn, alongside your speech-to-text model’s end-of-turn signals. Route customer-service calls: Jev makes the judgments in your decision tree, and your code applies the fixed rules and picks the final route. Handle simple intents fast, such as a weather request. Catch account numbers and other sensitive values that arrive split across transcript chunks, and avoid redacting values that aren’t sensitive. Search and labeling at scale For teams searching long documents, organizing product catalogs, merging datasets, or building predictive models from text. Use caseWhat Jev judgesWhat your code doesExampleLine-by-line search of a long documentWhich line answers a plain-language query, and whether the document answers it at allRanks the lines, and labels the document as answered, partly answered, or not answeredTry it →Re-rank legal search resultsWhether each candidate on a keyword-search shortlist could be the precedent a court opinion citesPuts the most likely candidates firstTry it →Find a half-remembered film among 5,000Whether each film matches the person’s description, first from a short plot, then from a long plot for the top 80, then which of the top 20 it isShows one film when the top probability is high, or a short list when it isn’tTry it →Search Airbnb listings from a Google Sheets formulaWhich listings in each group of 100 best match a plain-English request, then how well each shortlisted listing matches itKeeps the top 5 from each group, turns each score into a mark out of 10, and returns the 10 bestTry it →Hierarchical classification of patents, products, and medical topicsWhich category fits an item at each level of a catego