Release v0.2.0b1#25
Merged
Merged
Conversation
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>
Contributor
There was a problem hiding this comment.
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 enforcesuser_idat runtime (sync/async store), with new unit tests covering partition scoping + missinguser_id. - Adjusts Cosmos container indexing config to keep
/embeddingindexed 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.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
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.
Release v0.2.0b1
Version bumps
pyproject.toml,azure.yaml,function_app/requirements.txt→0.2.0b1uv.lock(also corrects the staleagent-memory-toolkit→azure-cosmos-agent-memorypackage name)CHANGELOG.md: new## [0.2.0b1] (2026-06-30)sectionFeatures Added
search_turns()(sync/async, client + store): setenable_turn_embeddings=True(envENABLE_TURN_EMBEDDINGS) to embed raw conversation turns on write and vector-search them. Requiresuser_id; optionalthread_idscopes to a single partition.Review follow-ups
search_turns:user_idnow enforced at runtime (ValidationError); argument order aligned with the client (search_terms, user_id, thread_id, ...); docstrings made honest about partition fan-out./embeddingindexed across all containers (removed the leftover exclusion) so the raw vector stays available for vector search.CHANGELOG: corrected the vector index default toquantizedFlat.Tests
user_id, and async-parity tests forsearch_turns.