Merged
Conversation
Updates all 5 Android example documentation files based on changes from LeapSDK-Examples PR #36: Major updates (recipe-generator-constrained-output.mdx): - Add automatic model downloading via LeapDownloader - Add @Generatable annotation feature documentation - Update setup instructions to reflect automatic model caching - Add LeapSDK 0.9.4+ and internet connectivity requirements - Update code examples with LeapDownloader.downloadAndLoadModel() - Replace Gson with kotlinx.serialization Minor updates (all files): - Update LeapSDK dependency from 1.0.0 to 0.9.7 - Update Koog framework docs link to https://docs.koog.ai - Verify all model paths and installation instructions are accurate All files maintain their comprehensive tutorial format while incorporating the latest SDK capabilities and best practices. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
The GitHub icon in Card components at the top of example pages was not visible in light mode due to missing background-color styling for mask-image based icons. Changes: - Add specific CSS rules to set background-color for all Card icons in light mode - Target both card-group cards and standalone Cards - Apply to both style.css and styles.js for dev/prod consistency - Use purple accent color (#864bc4) to match existing design system The fix ensures GitHub icons and other mask-image based icons are visible in light mode across all example documentation pages. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Removed the leap-chat entry from the Android Examples navigation since the corresponding MDX file was removed. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Removed the iOS Examples navigation group and deleted the deploy-models-on-ios folder containing the slogan-generator-app.mdx file. Changes: - Removed "iOS Examples" group from navigation in docs.json - Deleted examples/deploy-models-on-ios/ folder Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Removed the Slogan Generator App card that linked to the deleted iOS example from the examples library index page. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Removed the informational Note box about the Liquid AI Cookbook from the examples library index page. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Added 5 Android example cards to the examples library index: - Product Slogan Generator (single-turn generation with Android Views) - Web Content Summarizer (share intent handling with local LLM) - Structured Recipe Generator (constrained generation with JSON schema) - Vision Language Model Demo (image understanding with VLMs) - AI Agents with Koog (agent framework with tool invocation) The index now displays all 9 examples: - 3 Laptop examples - 5 Android examples - 1 Model customization example Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Updated the Android Views architecture section to remove the specific reference to the LeapChat example, which was removed from the documentation. Changed "Unlike the LeapChat example which uses Jetpack Compose" to "Unlike examples that use Jetpack Compose" for a more general comparison. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Replaced all Discord links and badges in example files with a consistent Card component for better visual consistency and user experience. Updated 8 example files: - 5 Android examples (slogan-generator, web-content-summarizer, recipe-generator, vision-language-model, leap-koog-agent) - 3 Laptop examples (invoice-extractor, audio-to-text, korean-translation) Changes: - Removed markdown links with bullet lists - Removed Discord badge images - Added consistent CardGroup with Discord Card component - Unified Discord URL to https://discord.gg/DFU3WQeaYD Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Updated image URLs to working links: - vision-language-model-example.mdx: screenshot.png → vlm_example.png - web-content-summarizer.mdx: demo.gif → shareai_screenshot.gif Both images verified accessible (HTTP 200) from LeapSDK-Examples repo. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Extended the purple hover border style to apply to both card-group cards and standalone cards (like "View Source Code" at the top of examples). Changes: - Updated CSS selectors to target all cards, not just those in card-groups - Applied to both style.css and styles.js for consistency - Ensures consistent purple (#864bc4) border on hover across all Card components Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Creates two new web example pages demonstrating browser-based AI models: - vl-webgpu-demo: Real-time video captioning with LFM2.5-VL-1.6B - audio-webgpu-demo: Audio processing with LFM2.5-Audio-1.5B (ASR/TTS/Interleaved modes) Both examples showcase WebGPU acceleration for local inference with complete privacy, zero cost, and offline capability. Added "Web Examples" section to navigation with globe icon. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Add Examples sections to text, audio, and vision model category pages to help users discover practical implementations. Each section includes 2-4 curated examples showcasing different platforms (Android, Desktop, Web) and use cases. - Text models: 5 examples (slogan generation, summarization, structured output, agents, translation) - Audio models: 2 examples (real-time transcription, browser demo) - Vision models: 4 examples (image understanding, invoice extraction, video captioning, fine-tuning) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Convert 4 cookbook READMEs to Mintlify format: flight search assistant, audio car cockpit, meeting summarization, and browser control with GRPO. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Add cards and navigation entries for flight search assistant, audio car cockpit, meeting summarization, and browser control examples. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Replace markdown image syntax with HTML5 video element for proper video playback. Uses permanent GitHub user-attachments URL. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Replace Key Features and Getting Started sections with streamlined Quickstart section matching the original GitHub example. Add demo GIF and link model reference to docs. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR comprehensively updates and improves the examples documentation across multiple platforms and categories.
Key Changes
New Examples
Android Examples
Laptop Examples
Web Examples
Documentation Improvements
Cleanup
Test Plan