デモとアーキテクチャ
Workers AIは、動的で高性能なサービスを構築するために使用できます。以下のデモアプリケーションとリファレンスアーキテクチャは、アーキテクチャ内でWorkers AIを最適に使用する方法を示しています。
以下のデモアプリケーションを探索して、Workers AIを体験してください。
- AI Chat : A full-stack application made with Nuxt to chat with various Cloudflare Workers AI LLM.
- Atidraw : A web application made with Nuxt that lets you to create, enhance, and share your drawings with the world. Harnessing the power of Cloudflare R2 and Cloudflare AI to store and enhance your drawings.
- Jobs At Conf : A job lisiting website to add jobs you find at in-person conferences. Built with Cloudflare Pages, R2, D1, Queues, and Workers AI.
- LoRA News Summarizer : This application uses Cloudflare Workers AI, Streamlit, and Beautiful Soup to summarize input news article URLs in a variety of tones.
- shrty.dev : A URL shortener that makes use of KV and Workers Analytics Engine. The admin interface uses Function Calling. Go Shorty!
- Fanfic Generator : This application uses Cloudflare Workers AI, Streamlit, and AstraDB to generate personal scifi fanfiction.
- Homie - Home Automation using Function Calling : A home automation tool that uses AI Function calling to change the color of lightbulbs in your home.
- Hackathon Helper : A series of starters for Hackathons. Get building quicker! Python, Streamlit, Workers, and Pages starters for all your AI needs!
- NBA Finals Polling and Predictor : This stateful polling application uses Cloudflare Workers AI, Cloudflare Pages, Cloudflare Durable Objects, and Hono to keep track of users' votes for different basketball teams and generates personal predictions for the series.
- Multimodal AI Translator : This application uses Cloudflare Workers AI to perform multimodal translation of languages via audio and text in the browser.
- Floor is Llava : This is an example repo to explore using the AI Vision model Llava hosted on Cloudflare Workers AI. This is a SvelteKit app hosted on Pages.
- Workers AI Object Detector : Detect objects from a webcam in a Cloudflare Worker web app with detr-resnet-50 hosted on Cloudflare using Cloudflare Workers AI.
- Comically Bad Art Generation : This app uses the wonderful Python UI Framework Streamlit and Cloudflare Workers AI.
- Whatever-ify : Turn yourself into...whatever. Take a photo, get a description, generate a scene and character, then generate an image based on that calendar.
- Phoney AI : This application uses Cloudflare Workers AI, Twilio, and AssemblyAI. Your phone is an input and output device.
- Image Model Streamlit starters : Collection of Streamlit applications that are making use of Cloudflare Workers AI.
- Vanilla JavaScript Chat Application using Cloudflare Workers AI : A web based chat interface built on Cloudflare Pages that allows for exploring Text Generation models on Cloudflare Workers AI. Design is built using tailwind.
以下のリファレンスアーキテクチャを探索して、Workers AIを使用した例を確認してください:
- コンテンツベースの資産生成 : テキスト生成モデルとテキストから画像へのモデルを組み合わせることで、入力プロンプトに基づいて視覚コンテンツを生成できる強力なAIシステムを構築できます。この統合は、テキスト生成モデルが入力テキストに基づいてテキストから画像へのモデルのためのプロンプトを生成する協調的なフレームワークを通じて実現できます。
- コンポーザブルAIアーキテクチャ : このアーキテクチャダイアグラムは、AIアプリケーションがCloudflare上でエンドツーエンドで構築される方法、または単一のサービスが外部のインフラストラクチャやサービスと統合される方法を示しています。
- マルチベンダーAIの可視性と制御 : レート制限、キャッシング、エラーハンドリングなどの機能をプロキシ層に移行することで、組織はサービスや推論サービスプロバイダー全体に統一された構成を適用できます。
- リトリーバル拡張生成 (RAG) : リトリーバル拡張生成 (RAG) は、テキスト生成を強化するためにリトリーバルメカニズムと生成モデルを統合した自然言語処理における革新的なアプローチです。
- 動画アップロードの自動キャプション : 自動音声認識技術を動画プラットフォームに統合することで、コンテンツクリエイター、出版社、配信者は、聴覚障害者や異なる言語でコンテンツを消費することを好む人々を含む、より広範なオーディエンスにリーチできます。
- フルスタックアプリケーション : フルスタックウェブアプリケーションは、フロントエンドとバックエンドの技術を組み合わせて、アプリケーション全体を支えるスタックを形成します。この技術スタックは、開発エコシステム内で特定の目的を果たすさまざまなツール、フレームワーク、言語を含んでいます。