Repository navigation
docs: add Helicone + Valkey vector store cookbook - #86
Closed
rileydes-improving wants to merge 1 commit into
Closed
rileydes-improving wants to merge 1 commit into
rileydes-improving wants to merge 1 commit into
Conversation
rileydes-improving
marked this pull request as ready for review
August 11, 2026 20:38
jbrinkman
marked this pull request as draft
August 13, 2026 11:20
Signed-off-by: Riley Desserre <riley.desserre@improving.com>
rileydes-improving
force-pushed
the
cookbook-helicone
branch
from
August 13, 2026 18:53
128dd69 to
4faf699
Compare
Collaborator
|
Closing this draft PR as part of a cookbook program cleanup. |
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.
Summary
Adds a new cookbook demonstrating how Helicone's Jawn API server uses Valkey for caching,
rate limiting, and encrypted key storage through 5 distinct subsystems, all via core Valkey
commands (
GET,SET EX,SET PX,INCR,PTTL,PEXPIRE,SCRIPT LOAD,EVALSHA)with zero modules required. The cookbook includes two skill-level guides, a plain JavaScript
sample with a simulate script and integration tests, and a CI workflow.
Cookbook Pages
What's Included
Testing
node:testrunnerGET/SET PX— KV cache with millisecond TTL and expiry verificationGET/SET EX— Sliding window rate limiting with second-precision TTLINCR/PTTL/PEXPIRE— Atomic counter operations with millisecond TTLSCRIPT LOAD/EVALSHA— Lua script registration and execution, including NOSCRIPTGET/SET EX— Cache-aside usage limit patternGET/SET EX— SHA-256 hashed key storage for encrypted valuesvalkey/valkey:8.1-alpineUpstream Status
Related upstream PR for Valkey support in Helicone: helicone/helicone — Valkey integration
Notes
SET EX) with a comment that the app handles AES-GCM; crypto is not in scope for the samplepackage.jsonuse pinned (exact) versions