svelte-ai-cookbook Svelte Themes

Svelte Ai Cookbook

Svelte AI base examples using Openrouter + Vercel AI SDK

Svelte AI Cookbook

A new Svelte project implementing recipes from the Svelte AI Elements Cookbook, an open-source collection of guides and templates for building AI applications with Svelte.

Included Recipes

  • Getting Started: Introduction and setup guides
  • Generate Text: Basic text generation with AI
  • Stream Text: Real-time streaming responses
  • Generate Object: Structured object output
  • Stream Object: Streaming structured data
  • Call Tool: Function calling and tools
  • Call Tool Multiple Steps: Multi-step tool interactions
  • Chat with PDFs: PDF document processing
  • Send Custom Body: Personalization and custom data
  • Render Visual Interface: Interactive UI components
  • Generate/Stream Text with Chat Prompt: Chat-based generation
  • Markdown Chatbot: Markdown-formatted chat

Coming Soon

  • Generate Image

Top categories

Loading Svelte Themes