Skip to content

Release v0.2.0b1#25

Merged
aayush3011 merged 2 commits into
mainfrom
users/akataria/release-0.2.0b1
Jun 30, 2026
Merged

Release v0.2.0b1#25
aayush3011 merged 2 commits into
mainfrom
users/akataria/release-0.2.0b1

Conversation

@aayush3011

Copy link
Copy Markdown
Contributor

Release v0.2.0b1

Version bumps

  • pyproject.toml, azure.yaml, function_app/requirements.txt0.2.0b1
  • Regenerated uv.lock (also corrects the stale agent-memory-toolkitazure-cosmos-agent-memory package name)
  • CHANGELOG.md: new ## [0.2.0b1] (2026-06-30) section

Features Added

  • Turn embeddings + search_turns() (sync/async, client + store): set enable_turn_embeddings=True (env ENABLE_TURN_EMBEDDINGS) to embed raw conversation turns on write and vector-search them. Requires user_id; optional thread_id scopes to a single partition.

Review follow-ups

  • search_turns: user_id now enforced at runtime (ValidationError); argument order aligned with the client (search_terms, user_id, thread_id, ...); docstrings made honest about partition fan-out.
  • Kept /embedding indexed across all containers (removed the leftover exclusion) so the raw vector stays available for vector search.
  • CHANGELOG: corrected the vector index default to quantizedFlat.

Tests

  • Added partition-key, missing-user_id, and async-parity tests for search_turns.
  • Full unit suite: 889 passing.

Version bump to 0.2.0b1 across pyproject.toml, azure.yaml,
function_app/requirements.txt, and uv.lock (regenerated; also fixes the
stale agent-memory-toolkit -> azure-cosmos-agent-memory package name).
CHANGELOG: new 0.2.0b1 section documenting turn embeddings + search_turns.

Review follow-ups in this release:
- search_turns: require user_id at runtime (ValidationError), align arg
  order with the client (search_terms, user_id, thread_id, ...), and make
  the partition-scope docstrings honest.
- Keep /embedding indexed in all containers (raw vector stays searchable).
- CHANGELOG: correct vector index default to quantizedFlat.
- Add partition-key, missing-user_id, and async-parity tests for search_turns.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 30, 2026 17:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 prepares the v0.2.0b1 release of azure-cosmos-agent-memory, aligning package/version metadata and documenting the new turn-embeddings + search_turns() capability and its runtime behavior.

Changes:

  • Bumps project/version references to 0.2.0b1 (project metadata, deployment template, function app requirements, lockfile).
  • Updates search_turns() docstrings and enforces user_id at runtime (sync/async store), with new unit tests covering partition scoping + missing user_id.
  • Adjusts Cosmos container indexing config to keep /embedding indexed and updates the changelog for the release.

Reviewed changes

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

Show a summary per file
File Description
uv.lock Regenerated lockfile, including editable package rename/version update.
pyproject.toml Bumps package version to 0.2.0b1.
azure.yaml Updates azd template metadata version to 0.2.0b1.
function_app/requirements.txt Pins deployed function app dependency to 0.2.0b1.
CHANGELOG.md Adds 0.2.0b1 release notes and updates prior headings/links.
infra/modules/cosmos.bicep Removes /embedding excluded-path entry so embeddings remain indexed.
azure/cosmos/agent_memory/store/memory_store.py Updates search_turns() signature/docs and enforces user_id via ValidationError.
azure/cosmos/agent_memory/aio/store/memory_store.py Async parity for search_turns() signature/docs and user_id validation.
azure/cosmos/agent_memory/cosmos_memory_client.py Updates search_turns() docstring to match new scoping behavior.
azure/cosmos/agent_memory/aio/cosmos_memory_client.py Updates async client search_turns() docstring to match scoping behavior.
tests/unit/store/test_memory_store.py Adds tests for search_turns() partition scoping, fan-out behavior, and missing user_id.
tests/unit/aio/store/test_memory_store.py Adds async equivalents for the new search_turns() tests.

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

Comment thread azure/cosmos/agent_memory/store/memory_store.py
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@aayush3011 aayush3011 merged commit c6dc351 into main Jun 30, 2026
7 checks passed
@aayush3011 aayush3011 deleted the users/akataria/release-0.2.0b1 branch June 30, 2026 17:40
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