Add Jupyter notebook generation, integration tests, and standardize c…#7
Draft
rlunar wants to merge 1 commit into
Draft
Add Jupyter notebook generation, integration tests, and standardize c…#7rlunar wants to merge 1 commit into
rlunar wants to merge 1 commit into
Conversation
…ookbook setup - Add build-notebooks.js to convert markdown cookbooks to .ipynb files (Python → code cells, bash → !-prefixed cells, mermaid → skipped) - Add dev.js with browser-sync for live reload during development - Standardize all 51 markdown cookbooks: - Docker: use valkey/valkey-bundle:9-alpine everywhere - Package installs: pip install → uv pip install + python-dotenv - Add load_dotenv() to first import block in each cookbook - Add docker setup step to 4 cookbooks that were missing it - Update Python version references from 3.9+ to 3.12+ - Add mermaid diagram to semantic-caching getting-started with text fallback, mermaid.js rendering in HTML build - Add pyproject.toml with base deps + optional groups per framework - Add pytest integration test suite (53 tests, one per cookbook) that runs cookbook code end-to-end against real Valkey and OpenAI - Add shared conftest.py with client, raw_client, openai_client, and openai_model fixtures (configurable via env vars) - Update README with notebook generation instructions Signed-off-by: Roberto Luna-Rojas <roberto.luna.rojas@gmail.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.
Add Jupyter notebook generation, integration tests, and standardize cookbook setup