Skip to content

AI Components

AI components add intelligent features to your app using Cloudflare Workers AI — no API key required, no external service to sign up for. Everything runs at the edge.

To add one, just describe what you want in chat:

"Summarize each ticket when it comes in" "Let users search my knowledge base by meaning, not just keywords" "Extract the vendor and total from uploaded receipts automatically"


Chat & Conversation

ComponentWhat it doesNeeds
Streaming AI ChatFull chat UI powered by Anthropic Claude — streams responses in real time, keeps message history, hides your API key server-sideAnthropic API key (secret)

Text Analysis

ComponentWhat it doesNeeds
Text SummarizerSummarize any text into bullet pointsWorkers AI
Sentiment AnalysisClassify text as positive, negative, or neutralWorkers AI
Field ExtractionPull structured fields (names, dates, amounts, etc.) out of unstructured textWorkers AI
Tag ExtractionAutomatically generate tags and keywords from textWorkers AI
Text ClassificationClassify text into categories you defineWorkers AI
Question AnsweringAnswer questions based on a block of context you provideWorkers AI
Text RewritingRewrite text in a different tone or styleWorkers AI
Content ModerationFlag harmful, toxic, or inappropriate content before it gets savedWorkers AI
TranslationTranslate text between languagesWorkers AI

ComponentWhat it doesNeeds
Stateless Semantic SearchSearch a list of items by meaning, not just exact keywords. Re-embeds on every request — best for small, changing datasets.Workers AI
Persistent Vector SearchIndex records once, search many times. Embeddings are stored in D1 so you're not re-computing on every request. Practical for up to ~10,000 records.Workers AI + SQL database

Vision

ComponentWhat it doesNeeds
Image AnalysisAnalyze images — extract text, describe content, identify objectsWorkers AI

How Workers AI works

AI components are powered by Cloudflare's built-in AI service. When you add one, Vulcan sets everything up automatically — no API key, no external account needed. It's billed through the Veho Cloudflare account.

You don't need to pick or configure anything — the right model is chosen automatically based on the task.


Combining AI components

AI components work well together. Common combinations:

  • Field Extraction + SQL database — extract structured data from uploaded documents and store it in a queryable table
  • Persistent Vector Search + Knowledge Base — index your articles so users can search by meaning and ask questions
  • Content Moderation + Support Inbox — filter toxic messages before they reach your support queue
  • Image Analysis + File Storage — upload a receipt photo, extract the data, store results in D1

Built by the Veho Developer Platform team