Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.20.1"
".": "0.21.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 49
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mixedbread%2Fmixedbread-e8f008047e9aa7f8824bbf5c8b3f338ce1f79b4c81f2637a5e4be1530ff45c9f.yml
openapi_spec_hash: 27f45c14fedc15710f730e037f0694cf
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mixedbread%2Fmixedbread-1d55ef57d17d780e3863936f62874ea7f378ed78a30edc0eb4119d9cb3009dc6.yml
openapi_spec_hash: 1c5f41ebd04ef8a89bc257e11d7cb122
config_hash: 810d9712d3d0d6a1f50d71a25511d8a7
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.21.0 (2025-07-23)

Full Changelog: [v0.20.1...v0.21.0](https://github.com/mixedbread-ai/mixedbread-python/compare/v0.20.1...v0.21.0)

### Features

* **api:** api update ([4f9cfac](https://github.com/mixedbread-ai/mixedbread-python/commit/4f9cfacbc644eb985e577c79dbd28a0c7fade3a6))

## 0.20.1 (2025-07-23)

Full Changelog: [v0.20.0...v0.20.1](https://github.com/mixedbread-ai/mixedbread-python/compare/v0.20.0...v0.20.1)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "mixedbread"
version = "0.20.1"
version = "0.21.0"
description = "The official Python library for the Mixedbread API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/mixedbread/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "mixedbread"
__version__ = "0.20.1" # x-release-please-version
__version__ = "0.21.0" # x-release-please-version
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ class VectorStoreChunkSearchOptionsParam(TypedDict, total=False):

return_metadata: bool
"""Whether to return file metadata"""

apply_search_rules: bool
"""Whether to apply search rules"""
3 changes: 3 additions & 0 deletions src/mixedbread/types/vector_stores/file_search_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,8 @@ class SearchOptions(TypedDict, total=False):
chunks_per_file: int
"""Number of chunks to return for each file"""

apply_search_rules: bool
"""Whether to apply search rules"""


from ..shared_params.search_filter import SearchFilter
4 changes: 4 additions & 0 deletions tests/api_resources/test_vector_stores.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ def test_method_question_answering_with_all_params(self, client: Mixedbread) ->
"rewrite_query": True,
"rerank": True,
"return_metadata": True,
"apply_search_rules": True,
},
stream=True,
qa_options={
Expand Down Expand Up @@ -377,6 +378,7 @@ def test_method_search_with_all_params(self, client: Mixedbread) -> None:
"rewrite_query": True,
"rerank": True,
"return_metadata": True,
"apply_search_rules": True,
},
)
assert_matches_type(VectorStoreSearchResponse, vector_store, path=["response"])
Expand Down Expand Up @@ -678,6 +680,7 @@ async def test_method_question_answering_with_all_params(self, async_client: Asy
"rewrite_query": True,
"rerank": True,
"return_metadata": True,
"apply_search_rules": True,
},
stream=True,
qa_options={
Expand Down Expand Up @@ -765,6 +768,7 @@ async def test_method_search_with_all_params(self, async_client: AsyncMixedbread
"rewrite_query": True,
"rerank": True,
"return_metadata": True,
"apply_search_rules": True,
},
)
assert_matches_type(VectorStoreSearchResponse, vector_store, path=["response"])
Expand Down
2 changes: 2 additions & 0 deletions tests/api_resources/vector_stores/test_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ def test_method_search_with_all_params(self, client: Mixedbread) -> None:
"return_metadata": True,
"return_chunks": True,
"chunks_per_file": 0,
"apply_search_rules": True,
},
)
assert_matches_type(FileSearchResponse, file, path=["response"])
Expand Down Expand Up @@ -612,6 +613,7 @@ async def test_method_search_with_all_params(self, async_client: AsyncMixedbread
"return_metadata": True,
"return_chunks": True,
"chunks_per_file": 0,
"apply_search_rules": True,
},
)
assert_matches_type(FileSearchResponse, file, path=["response"])
Expand Down