Skip to content

Commit 20a2ae8

Browse files
authored
release v0.2.2 (#25)
1 parent a18f7a1 commit 20a2ae8

File tree

4 files changed

+27
-19
lines changed

4 files changed

+27
-19
lines changed

CHANGELOG.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,15 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [0.2.1] - 2025-04-03
8+
## [0.2.2] - 04/08/2025
9+
10+
### Changed
11+
12+
- Update chromadb to v1.0.3
13+
- Fix include on query and get to match chromadb Python client
14+
15+
16+
## [0.2.1] - 04/03/2025
917

1018
### Added
1119

@@ -15,7 +23,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1523
- Upgraded to v1.0.0 of Chroma
1624
- Fix dotenv path support during argparse
1725

18-
## [0.2.0] - 2025-04-02
26+
## [0.2.0] - 04/02/2025
1927

2028
### Added
2129
- New `delete_document` tool for removing documents from collections
@@ -32,12 +40,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3240
### Security
3341
- Enhanced SSL handling and security configurations
3442

35-
## [0.1.11] - 2025-02-21
43+
## [0.1.11] - 02/21/2025
3644

3745
### Changed
3846
- Version bump
3947

40-
## [0.1.10] - 2024-02-21
48+
## [0.1.10] - 02/21/2024
4149

4250
### Added
4351
- Initial release

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "chroma-mcp"
3-
version = "0.2.1"
3+
version = "0.2.2"
44
description = "Chroma MCP Server - Vector Database Integration for LLM Applications"
55
readme = "README.md"
66
requires-python = ">=3.10"
@@ -16,7 +16,7 @@ classifiers = [
1616
"Topic :: Software Development :: Libraries :: Python Modules"
1717
]
1818
dependencies = [
19-
"chromadb>=1.0.0",
19+
"chromadb>=1.0.3",
2020
"cohere>=5.14.2",
2121
"httpx>=0.28.1",
2222
"mcp[cli]>=1.2.1",

src/chroma_mcp/server.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ async def chroma_query_documents(
416416
n_results: int = 5,
417417
where: Optional[Dict] = None,
418418
where_document: Optional[Dict] = None,
419-
include: List[str] = ["documents", "embeddings", "metadatas", "distances"]
419+
include: List[str] = ["documents", "metadatas", "distances"]
420420
) -> Dict:
421421
"""Query documents from a Chroma collection with advanced filtering.
422422
@@ -431,7 +431,7 @@ async def chroma_query_documents(
431431
- Logical AND: {"$and": [{"field1": {"$eq": "value1"}}, {"field2": {"$gt": 5}}]}
432432
- Logical OR: {"$or": [{"field1": {"$eq": "value1"}}, {"field1": {"$eq": "value2"}}]}
433433
where_document: Optional document content filters
434-
include: List of what to include in response. By default, this will include documents, embeddings, metadatas, and distances.
434+
include: List of what to include in response. By default, this will include documents, metadatas, and distances.
435435
"""
436436
if not query_texts:
437437
raise ValueError("The 'query_texts' list cannot be empty.")
@@ -455,7 +455,7 @@ async def chroma_get_documents(
455455
ids: Optional[List[str]] = None,
456456
where: Optional[Dict] = None,
457457
where_document: Optional[Dict] = None,
458-
include: List[str] = ["documents", "embeddings", "metadatas"],
458+
include: List[str] = ["documents", "metadatas"],
459459
limit: Optional[int] = None,
460460
offset: Optional[int] = None
461461
) -> Dict:
@@ -471,7 +471,7 @@ async def chroma_get_documents(
471471
- Logical AND: {"$and": [{"field1": {"$eq": "value1"}}, {"field2": {"$gt": 5}}]}
472472
- Logical OR: {"$or": [{"field1": {"$eq": "value1"}}, {"field1": {"$eq": "value2"}}]}
473473
where_document: Optional document content filters
474-
include: List of what to include in response. By default, this will include documents, embeddings, and metadatas.
474+
include: List of what to include in response. By default, this will include documents, and metadatas.
475475
limit: Optional maximum number of documents to return
476476
offset: Optional number of documents to skip before returning results
477477

uv.lock

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)