feat(docs): add PerplexiGrid showcase #28
Merged
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.
Description
Adds showcase docs for Perplexigrid, a visual dashboard generation app that utilizes the Perplexity Sonar API. This contribution showcases a real-world integration example and is intended to serve as a featured project in the Perplexity API Cookbook.
Type of Contribution
Checklist
Project Details
What problem does this solve?
As for the project, it simplifies the process of generating and updating visual dashboards based on user intent. However, this contribution also demonstrates how to wrap the Perplexity Sonar API inside a lightweight serverless function and build a frontend around prompt-based visualizations.
What makes this contribution valuable to other developers?
Offers a clear and tested example of a full-stack AI project using Sonar API with Supabase, serverless infrastructure, and prompt engineering best practices. Helps others get started faster and avoid common integration pitfalls.
External Links:
Testing
Each mode was tested end-to-end in both local and deployed Supabase environments using a controlled set of prompts and canvas states. Edge function logs and frontend behavior were validated to confirm expected responses.
scripts/validate-mdx.js
Screenshots
Additional Notes
Reach out if you have any questions: @Alessandro, @Peter
Submission video: Watch on Youtube