|
1 | 1 | --- |
2 | 2 | sidebar_position: 1 |
| 3 | +hide_table_of_contents: true |
| 4 | +pagination_next: null |
| 5 | +pagination_prev: null |
| 6 | +custom_edit_url: null |
| 7 | +sidebar_class_name: hidden-sidebar |
3 | 8 | --- |
4 | 9 |
|
5 | 10 | import RecipeCarousel from '@site/src/components/RecipeCarousel'; |
6 | 11 |
|
| 12 | +<div className="cookbook-page"> |
| 13 | + |
7 | 14 | # Cookbook |
8 | 15 |
|
9 | | -Practical patterns, recipes, and complete applications for building with Hindsight. |
| 16 | +Learn how to build with Hindsight through practical examples: |
| 17 | + |
| 18 | +- **[Recipes](#recipes)** - Step-by-step guides and patterns for common use cases |
| 19 | +- **[Applications](#applications)** - Complete, runnable applications demonstrating Hindsight integration |
10 | 20 |
|
11 | 21 | <RecipeCarousel |
12 | 22 | title="Recipes" |
13 | 23 | items={[ |
14 | | - { title: "Hindsight Quickstart", href: "/cookbook/recipes/quickstart" }, |
15 | | - { title: "Per-User Memory", href: "/cookbook/recipes/per-user-memory" }, |
16 | | - { title: "Support Agent with Shared Knowledge", href: "/cookbook/recipes/support-agent-shared-knowledge" }, |
17 | | - { title: "Memory with LiteLLM", href: "/cookbook/recipes/litellm-memory-demo" }, |
18 | | - { title: "Routing Tool Learning", href: "/cookbook/recipes/tool-learning-demo" }, |
19 | | - { title: "Fitness Coach with Hindsight Memory", href: "/cookbook/recipes/fitness_tracker" }, |
20 | | - { title: "Healthcare Assistant with Hindsight Memory", href: "/cookbook/recipes/healthcare_assistant" }, |
21 | | - { title: "Movie Recommendation Assistant with Hindsight Memory", href: "/cookbook/recipes/movie_recommendation" }, |
22 | | - { title: "Personal AI Assistant with Hindsight Memory", href: "/cookbook/recipes/personal_assistant" }, |
23 | | - { title: "Personalized Search Agent with Hindsight Memory", href: "/cookbook/recipes/personalized_search" }, |
24 | | - { title: "Study Buddy with Hindsight Memory", href: "/cookbook/recipes/study_buddy" } |
| 24 | + { |
| 25 | + title: "Hindsight Quickstart", |
| 26 | + href: "/cookbook/recipes/quickstart", |
| 27 | + description: "Learn the basics: retain, recall, and reflect", |
| 28 | + tags: { sdk: "hindsight-client", topic: "Quick Start" } |
| 29 | + }, |
| 30 | + { |
| 31 | + title: "Per-User Memory", |
| 32 | + href: "/cookbook/recipes/per-user-memory", |
| 33 | + description: "Build a chatbot with per-user memory isolation", |
| 34 | + tags: { sdk: "hindsight-client", topic: "Learning" } |
| 35 | + }, |
| 36 | + { |
| 37 | + title: "Support Agent with Shared Knowledge", |
| 38 | + href: "/cookbook/recipes/support-agent-shared-knowledge", |
| 39 | + description: "Combine per-user memory with shared product documentation", |
| 40 | + tags: { sdk: "hindsight-client", topic: "Learning" } |
| 41 | + }, |
| 42 | + { |
| 43 | + title: "Memory with LiteLLM", |
| 44 | + href: "/cookbook/recipes/litellm-memory-demo", |
| 45 | + description: "Add automatic memory to any LLM app using LiteLLM callbacks", |
| 46 | + tags: { sdk: "hindsight-litellm", topic: "Quick Start" } |
| 47 | + }, |
| 48 | + { |
| 49 | + title: "Routing Tool Learning", |
| 50 | + href: "/cookbook/recipes/tool-learning-demo", |
| 51 | + description: "Teach an LLM which tool to use through feedback and memory", |
| 52 | + tags: { sdk: "hindsight-litellm", topic: "Learning" } |
| 53 | + }, |
| 54 | + { |
| 55 | + title: "Fitness Coach with Hindsight Memory", |
| 56 | + href: "/cookbook/recipes/fitness_tracker", |
| 57 | + description: "Track workouts, diet, and progress with a personalized fitness coach", |
| 58 | + tags: { sdk: "hindsight-client", topic: "Recommendation" } |
| 59 | + }, |
| 60 | + { |
| 61 | + title: "Healthcare Assistant with Hindsight Memory", |
| 62 | + href: "/cookbook/recipes/healthcare_assistant", |
| 63 | + description: "A supportive chatbot that remembers patient history and preferences", |
| 64 | + tags: { sdk: "hindsight-client", topic: "Recommendation" } |
| 65 | + }, |
| 66 | + { |
| 67 | + title: "Movie Recommendation Assistant with Hindsight Memory", |
| 68 | + href: "/cookbook/recipes/movie_recommendation", |
| 69 | + description: "Get personalized movie recommendations that improve over time", |
| 70 | + tags: { sdk: "hindsight-client", topic: "Recommendation" } |
| 71 | + }, |
| 72 | + { |
| 73 | + title: "Personal AI Assistant with Hindsight Memory", |
| 74 | + href: "/cookbook/recipes/personal_assistant", |
| 75 | + description: "A general-purpose assistant that remembers your life and preferences", |
| 76 | + tags: { sdk: "hindsight-client", topic: "Recommendation" } |
| 77 | + }, |
| 78 | + { |
| 79 | + title: "Personalized Search Agent with Hindsight Memory", |
| 80 | + href: "/cookbook/recipes/personalized_search", |
| 81 | + description: "Search assistant that learns your location, diet, and lifestyle", |
| 82 | + tags: { sdk: "hindsight-client", topic: "Recommendation" } |
| 83 | + }, |
| 84 | + { |
| 85 | + title: "Study Buddy with Hindsight Memory", |
| 86 | + href: "/cookbook/recipes/study_buddy", |
| 87 | + description: "Track study sessions, identify knowledge gaps, and get personalized review suggestions", |
| 88 | + tags: { sdk: "hindsight-client", topic: "Learning" } |
| 89 | + } |
25 | 90 | ]} |
26 | 91 | /> |
27 | 92 |
|
28 | 93 | <RecipeCarousel |
29 | 94 | title="Applications" |
30 | 95 | items={[ |
31 | | - { title: "Chat Memory App", href: "/cookbook/applications/chat-memory" }, |
32 | | - { title: "Deliveryman Demo", href: "/cookbook/applications/deliveryman-demo" }, |
33 | | - { title: "Memory Approaches Comparison Demo", href: "/cookbook/applications/hindsight-litellm-demo" }, |
34 | | - { title: "Tool Learning Demo", href: "/cookbook/applications/hindsight-tool-learning-demo" }, |
35 | | - { title: "OpenAI Agent + Hindsight Memory Integration", href: "/cookbook/applications/openai-fitness-coach" }, |
36 | | - { title: "Sanity CMS Blog Memory", href: "/cookbook/applications/sanity-blog-memory" }, |
37 | | - { title: "Stance Tracker", href: "/cookbook/applications/stancetracker" } |
| 96 | + { |
| 97 | + title: "Chat Memory App", |
| 98 | + href: "/cookbook/applications/chat-memory", |
| 99 | + description: "Real-time chat app with per-user memory using Groq and Hindsight", |
| 100 | + tags: { sdk: "hindsight-client", topic: "Chat" } |
| 101 | + }, |
| 102 | + { |
| 103 | + title: "Deliveryman Demo", |
| 104 | + href: "/cookbook/applications/deliveryman-demo", |
| 105 | + description: "Delivery agent simulation demonstrating learning through mental models", |
| 106 | + tags: { sdk: "hindsight-client", topic: "Learning" } |
| 107 | + }, |
| 108 | + { |
| 109 | + title: "Memory Approaches Comparison Demo", |
| 110 | + href: "/cookbook/applications/hindsight-litellm-demo", |
| 111 | + description: "Interactive comparison of memory approaches: none, full history, and semantic retrieval", |
| 112 | + tags: { sdk: "hindsight-litellm", topic: "Quick Start" } |
| 113 | + }, |
| 114 | + { |
| 115 | + title: "Tool Learning Demo", |
| 116 | + href: "/cookbook/applications/hindsight-tool-learning-demo", |
| 117 | + description: "Show how Hindsight helps LLMs learn which tool to use when names are ambiguous", |
| 118 | + tags: { sdk: "hindsight-litellm", topic: "Learning" } |
| 119 | + }, |
| 120 | + { |
| 121 | + title: "OpenAI Agent + Hindsight Memory Integration", |
| 122 | + href: "/cookbook/applications/openai-fitness-coach", |
| 123 | + description: "Fitness coach using OpenAI Assistants with Hindsight as memory backend", |
| 124 | + tags: { sdk: "hindsight-client", topic: "Recommendation" } |
| 125 | + }, |
| 126 | + { |
| 127 | + title: "Sanity CMS Blog Memory", |
| 128 | + href: "/cookbook/applications/sanity-blog-memory", |
| 129 | + description: "Sync Sanity CMS blog posts to Hindsight for semantic search and AI insights", |
| 130 | + tags: { sdk: "hindsight-client", topic: "Learning" } |
| 131 | + }, |
| 132 | + { |
| 133 | + title: "Stance Tracker", |
| 134 | + href: "/cookbook/applications/stancetracker", |
| 135 | + description: "Track political candidates' stances over time with automated web scraping", |
| 136 | + tags: { sdk: "hindsight-client", topic: "Recommendation" } |
| 137 | + }, |
| 138 | + { |
| 139 | + title: "Hindsight AI SDK - Personal Chef", |
| 140 | + href: "/cookbook/applications/taste-ai", |
| 141 | + description: "Personal food assistant with AI SDK v6 showcasing recall, mental models, and directives", |
| 142 | + tags: { sdk: "@vectorize-io/hindsight-ai-sdk", topic: "Recommendation" } |
| 143 | + } |
38 | 144 | ]} |
39 | 145 | /> |
| 146 | + |
| 147 | +</div> |
0 commit comments