Add v0.3.0/v0.4.0 cookbooks for @betterdb/agent-cache and new Python track#5
Open
KIvanow wants to merge 2 commits into
Open
Add v0.3.0/v0.4.0 cookbooks for @betterdb/agent-cache and new Python track#5KIvanow wants to merge 2 commits into
KIvanow wants to merge 2 commits into
Conversation
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.
Description
Summary
Covers the two most recent releases of both betterdb packages and adds a complete Python cookbook track to match the existing TypeScript coverage.
New content
05-provider-adapters(TypeScript) — OpenAI Chat Completions, OpenAI Responses API, Anthropic Messages, and LlamaIndex adapters; pluggable binary normalizer for multi-modal caching (v0.3.0)betterdb-agent-cache-py/— full Python track (5 cookbooks): Getting Started, LLM & Tool Cache, Session Store, Provider Adapters, LangGraph Checkpointing; mirrors the TypeScript track feature-for-featureUpdated content
02-llm-and-tool-cache(TypeScript) — default cost table section covering the 1,900+ model bundled table,useDefaultCostTable, andDEFAULT_COST_TABLEexport (v0.4.0);costTableno longer required in examples01-getting-started(TypeScript) — removed manualcostTablefrom constructor example now that defaults cover common models; fixed stats key (betterdb_ac:stats→betterdb_ac:__stats)Site
cookbooks/betterdb/index.html— new Python section (amber cards); new TS cookbook 05 card; subtitle updated from "Two npm packages" to "TypeScript and Python packages"Test plan
node build.jscompletes with no errors across all trackspython3 -m http.server 8080) and verify all 13 cookbook pages load and render correctly