Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory examples and docs improvements #1688

Merged
merged 25 commits into from
Feb 4, 2025
Merged

Memory examples and docs improvements #1688

merged 25 commits into from
Feb 4, 2025

Conversation

TylerBarnes
Copy link
Contributor

@TylerBarnes TylerBarnes commented Feb 4, 2025

This PR:

  1. Adds an examples section for memory + examples pages for pg, libsql, and upstash (based on the code examples in the repo)
  2. Adds a "how memory works" section to the memory documentation page
  3. Renames memory code example dir names to match other examples (eg memory-libsql -> memory-with-libsql)

For simplicity I've also added these changes to this PR:

  • Renamed historySearch -> semanticRecall
  • Renamed embeddingOptions -> embedding

Copy link

changeset-bot bot commented Feb 4, 2025

🦋 Changeset detected

Latest commit: 65f7205

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 103 packages
Name Type
@mastra/memory Patch
@mastra/core Patch
ai-chatbot Patch
@mastra/dane Patch
memory-with-libsql Patch
memory-with-pg Patch
memory-with-upstash Patch
travel-app Patch
workflow Patch
mastra Patch
@mastra/deployer Patch
@mastra/engine Patch
@mastra/evals Patch
@mastra/loggers Patch
@mastra/mcp Patch
@mastra/rag Patch
@mastra/deployer-cloudflare Patch
@mastra/deployer-netlify Patch
@mastra/deployer-vercel Patch
@mastra/store-pg Patch
@mastra/store-upstash Patch
@mastra/vector-astra Patch
@mastra/vector-chroma Patch
@mastra/vector-libsql Patch
@mastra/vector-pg Patch
@mastra/vector-pinecone Patch
@mastra/vector-qdrant Patch
@mastra/vector-upstash Patch
@mastra/vector-vectorize Patch
@mastra/speech-azure Patch
@mastra/speech-deepgram Patch
@mastra/speech-elevenlabs Patch
@mastra/speech-google Patch
@mastra/speech-ibm Patch
@mastra/speech-murf Patch
@mastra/speech-openai Patch
@mastra/speech-playai Patch
@mastra/speech-replicate Patch
@mastra/speech-speechify Patch
@mastra/composio Patch
@mastra/firecrawl Patch
@mastra/github Patch
@mastra/ragie Patch
@mastra/stabilityai Patch
examples-agent Patch
bird-checker-with-express Patch
bird-checker-with-nextjs-and-eval Patch
bird-checker-with-nextjs Patch
mastra-examples-integrations Patch
mastra-examples-llm Patch
openapi-spec-writer Patch
quick-start Patch
stock-price-tool Patch
weather-agent Patch
workflow-ai-recruiter Patch
workflow-with-inline-steps Patch
workflow-with-separate-steps Patch
yc-directory Patch
using-a-workflow Patch
bird-checker Patch
hierarchical-multi-agent Patch
multi-agent-workflow Patch
system-prompt Patch
using-a-tool Patch
generate-object-structured Patch
generate-text-from-image Patch
generate-text-from-pdf Patch
generate-text-system-prompt Patch
generate-text-with-claude Patch
generate-text-with-deepseek Patch
generate-text-with-gemini Patch
generate-text Patch
stream-object-structured Patch
stream-text Patch
calling-agent-from-workflow Patch
calling-llm-from-workflow Patch
create-workflow Patch
tool-as-workflow-step Patch
workflow-with-branching-paths Patch
workflow-with-cyclical-deps Patch
workflow-with-parallel-steps Patch
workflow-with-sequential-steps Patch
adjust-chunk-delimiters Patch
adjust-chunk-size Patch
basic-rag Patch
chunk-html Patch
chunk-json Patch
chunk-markdown Patch
chunk-text Patch
cleanup-rag Patch
cot-rag Patch
cot-workflow-rag Patch
embed-chunk-array Patch
embed-text-chunk Patch
embed-text-with-cohere Patch
filter-rag Patch
graph-rag Patch
hybrid-vector-search Patch
insert-embedding-in-pgvector Patch
insert-embedding-in-pinecone Patch
metadata-extraction Patch
rerank-rag Patch
retrieve-results Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Feb 4, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
bird-checker ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 4, 2025 11:00pm
crypto-chatbot ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 4, 2025 11:00pm
mastra-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 4, 2025 11:00pm
openapi-spec-writer ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 4, 2025 11:00pm
travel-ai ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 4, 2025 11:00pm

@TylerBarnes TylerBarnes changed the title Improve memory docs Memory examples and docs improvements Feb 4, 2025
@vercel vercel bot temporarily deployed to Preview – crypto-chatbot February 4, 2025 21:54 Inactive
@vercel vercel bot temporarily deployed to Preview – travel-ai February 4, 2025 21:54 Inactive
@vercel vercel bot temporarily deployed to Preview – bird-checker February 4, 2025 21:54 Inactive
@vercel vercel bot temporarily deployed to Preview – openapi-spec-writer February 4, 2025 21:54 Inactive
@vercel vercel bot temporarily deployed to Preview – crypto-chatbot February 4, 2025 22:14 Inactive
@vercel vercel bot temporarily deployed to Preview – bird-checker February 4, 2025 22:14 Inactive
@vercel vercel bot temporarily deployed to Preview – travel-ai February 4, 2025 22:14 Inactive
@vercel vercel bot temporarily deployed to Preview – openapi-spec-writer February 4, 2025 22:14 Inactive
@vercel vercel bot temporarily deployed to Preview – travel-ai February 4, 2025 22:19 Inactive
@vercel vercel bot temporarily deployed to Preview – openapi-spec-writer February 4, 2025 22:19 Inactive
@vercel vercel bot temporarily deployed to Preview – bird-checker February 4, 2025 22:19 Inactive
@vercel vercel bot temporarily deployed to Preview – crypto-chatbot February 4, 2025 22:19 Inactive
Copy link
Contributor

@calcsam calcsam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm let's ship this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants