8000 Support more search params for TypeScript client by yaleMemVerge · Pull Request #994 · MemMachine/MemMachine · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@yaleMemVerge
Copy link
Contributor
@yaleMemVerge yaleMemVerge commented Jan 28, 2026

Purpose of the change

Adds support for context expansion and score threshold search parameters, and enables retrieving Prometheus metrics from the MemMachine server.

Description

This change adds support for context expansion and score threshold parameters to the memory search functionality in the TypeScript client. It also introduces a method to retrieve Prometheus metrics from the MemMachine server. Additionally, it updates the client version to 0.2.5.

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

  • Unit Test
  • Manual verification (list step-by-step instructions)

Test Results:
image

Checklist

  • I have signed the commit(s) within this pull request
  • My code follows the style guidelines of this project (See STYLE_GUIDE.md)
  • I have performed a self-review of my own code
  • I have commented my code
  • My changes generate no new warnings
  • I have added unit tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have checked my code and corrected any misspellings

Maintainer Checklist

  • Confirmed all checks passed
  • Contributor has signed the commit(s)
  • Reviewed the code
  • Run, Tested, and Verified the change(s) work as expected

@yaleMemVerge yaleMemVerge self-assigned this Jan 28, 2026
@yaleMemVerge yaleMemVerge requested a review from Copilot January 28, 2026 08:37
Copy link
Contributor
Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR extends the TypeScript client's memory search capabilities by adding context expansion and score threshold parameters, introduces a new method to retrieve Prometheus metrics, and updates the package version to 0.2.5.

Changes:

  • Added expand_context and score_threshold parameters to memory search options
  • Introduced getMetrics() method to retrieve Prometheus metrics from the server
  • Updated package version from 0.0.1 to 0.2.5 and repository URL format

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/memmachine-ts/rest_client/src/memory/memmachine-memory.types.ts Added type definitions for new search parameters
src/memmachine-ts/rest_client/src/memory/memmachine-memory.ts Integrated new search parameters into the search payload
src/memmachine-ts/rest_client/src/client/memmachine-client.ts Added getMetrics() method for Prometheus metrics retrieval
src/memmachine-ts/rest_client/tests/memmachine-client.spec.ts Added test coverage for the new getMetrics() method
src/memmachine-ts/rest_client/package.json Updated version and repository URL
src/memmachine-ts/rest_client/README.md Updated documentation to include getMetrics() method

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Support context expansion and score threshold params for search
Support retrieving Prometheus metrics from MemMachine server
Bump ts client version to 0.2.5
Copy link
Contributor
Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

1 participant

0