Skip to content

docs: explain quickstart forget call (follow-up to #2879)#3040

Open
Vasilije1990 wants to merge 4 commits into
mainfrom
followup/pr-2879
Open

docs: explain quickstart forget call (follow-up to #2879)#3040
Vasilije1990 wants to merge 4 commits into
mainfrom
followup/pr-2879

Conversation

@Vasilije1990

Copy link
Copy Markdown
Contributor

Summary

Follow-up to #2879. That PR adds a beginner-friendly "What this example creates" section after the Quickstart code sample, but the explanation stops at the two recall calls and never mentions the example's final forget(dataset="main_dataset") line — the one step most likely to surprise a beginner, since it deletes the memory the example just built.

This PR:

  • Names the default dataset explicitly (main_dataset, matching the default in cognee/api/v1/add/add.py), so the forget(dataset="main_dataset") argument is no longer an unexplained magic string.
  • Adds one short paragraph explaining what the forget call does, why it is useful while experimenting, and that it should be removed once you want the agent's memory to persist between runs.

Stacking note

Since #2879 comes from a fork, this PR targets main and includes the commits of #2879. It stacks on top of #2879 and should be merged after it; once #2879 lands, the diff here reduces to the single README paragraph above.

🤖 Generated with Claude Code

Dame5211 and others added 4 commits May 21, 2026 17:08
Follow-up to #2879: the new "What this example creates" section explained
the remember and recall calls but skipped the example's final
forget(dataset="main_dataset") line. Name the default dataset explicitly
and tell beginners what the cleanup call does and when to remove it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The trailing-whitespace pre-commit hook runs with --all-files and was
failing on README.md line 62, which this branch inherits from main.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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