Add semantic memory rest api example#1143
Conversation
07e92e4 to
03790ba
Compare
There was a problem hiding this comment.
Pull request overview
This pull request adds a Jupyter notebook example demonstrating semantic memory REST API functionality, specifically focusing on set_metadata scoping. The PR includes the necessary dependencies (jupyter and nbconvert), a new CI workflow job to validate the notebook, and a configuration file for the CI test environment.
Changes:
- Adds a new Jupyter notebook (
rest_api_set_metadata.ipynb) demonstrating semantic memory set_metadata scoping with the REST API - Adds jupyter and nbconvert as development dependencies to support notebook examples
- Adds a CI workflow job to automatically test the notebook execution against a live MemMachine server
- Adds a CI configuration file for running MemMachine with OpenAI and PostgreSQL/pgvector
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| examples/rest_api_set_metadata.ipynb | New notebook demonstrating semantic memory set_metadata scoping via REST API |
| pyproject.toml | Adds jupyter>=1.1.0 and nbconvert>=7.16.0 to dev dependencies |
| uv.lock | Lock file updates for new jupyter and nbconvert dependencies and their transitive dependencies |
| .github/workflows/pytest-integration.yml | Adds new CI job to execute the notebook against a live MemMachine server |
| .github/ci/memmachine-openai-pgvector.yml | Configuration file for CI testing with OpenAI and pgvector backend |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
# Conflicts: # uv.lock
52bcf40 to
70447e6
Compare
|
Hi Oscar - can you create a README.md file for this example, explaining key details like process to follow, steps, minimum requirements, etc. A good example that you can work from can be found in /examples/openai_agent/README.md. This will then help me ensure that documentation for your Example shows up on our docs.memmachine.ai site. |
Signed-off-by: Steve Scargall <[email protected]>
|
Please fix uv.lock |
|
@copilot resolve the merge conflicts in this pull request |
Agent-Logs-Url: https://github.com/MemMachine/MemMachine/sessions/ab987262-e869-4d2f-ad30-d0c308c2d63d Co-authored-by: sscargal <[email protected]>
Added
Fixed in commit 88fd564. The
The merge conflict (in |
No description provided.