Repository navigation
Package the engine as graphsight-memory, with a Memory API - #22
Merged
Merged
Conversation
The engine moves from backend/tracerag to its own package, and the backend, scripts, eval and tests import it from there. - Memory: sync_github, load, remember, retract, forget, learn and recall, over one local file. recall returns typed facts with their sources. - Embeds with MiniLM on ONNX (fastembed): the same vectors as sentence-transformers to five decimals, so existing graphs keep working, in a 187 MB install against 1.6 GB with torch. - No API key needed: with none set, the router skips the intent model instead of calling it and failing on every question. - A fixed relation vocabulary. remember refuses unknown relations unless the store is opened with relations=None, and learn tells the extractor the list. - GitHub fetching moves into the package, and the ingest script uses it. 14 package tests run offline with a stub embedder, and pass from a fresh install of the built wheel. The backend's 86 engine tests pass unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
It passed locally only because .env held a key, so the patched intent model was reached. In CI there is none, and the no-key path answered first. The test now sets its key, and a new test covers the no-key path. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch was successfully deployed
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.
Milestone 1: graph memory becomes a package you can
pip install, with no torch and no API keys.What changed
backend/traceragtographsight-memory/graphsight_memory. The backend, scripts, eval and tests import it from there, so there's no second copy.Memorycoverssync_github,load(a saved snapshot),remember,retract,forget,learnandrecall.recallreturns typedFacts with their sources, andstr(recall)is ready to put in a prompt..lbuggraphs keep working with no re-embedding.rememberrefuses an unknown relation unless the store is opened withrelations=None, andlearngives the extractor the list.ingest_github.pyuses it.Verified
api,mcp_serverand the scripts).twine checkpasses.Not done here
graphsight-memory(ownerKcodess2807, repographsight, workflowrelease.yml, environmentpypi).🤖 Generated with Claude Code