Add semantic memory rest api example by o-love · Pull Request #1143 · MemMachine/MemMachine

Choose a reason for hiding this comment

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

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.