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.48.0"
".": "0.49.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: 56
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mixedbread%2Fmixedbread-aee97de4d3aed6b0d4c4ace37a0b32972f51502127796354b791ee61d5176eab.yml
openapi_spec_hash: 3752a46f3eca4db340f0fe9df10fed44
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mixedbread%2Fmixedbread-3daf4d41b24950791a70688527c10dea9e201d304b8d6432b3acfa50e33e0805.yml
openapi_spec_hash: 1ecaa0f38266f1c5d1da8fb2e9ef651a
config_hash: c32ffa6858a02d7f23f6f3dda0b461ed
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.49.0 (2026-03-19)

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

### Features

* **api:** api update ([dc87556](https://github.com/mixedbread-ai/mixedbread-python/commit/dc875560329b32cf5fc0421a162af671bb956e7c))

## 0.48.0 (2026-03-18)

Full Changelog: [v0.47.1...v0.48.0](https://github.com/mixedbread-ai/mixedbread-python/compare/v0.47.1...v0.48.0)
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.48.0"
version = "0.49.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.48.0" # x-release-please-version
__version__ = "0.49.0" # x-release-please-version
10 changes: 10 additions & 0 deletions src/mixedbread/resources/stores/stores.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,7 @@ def question_answering(
file_ids: Union[Iterable[object], SequenceNotStr[str], None] | Omit = omit,
search_options: StoreChunkSearchOptionsParam | Omit = omit,
stream: bool | Omit = omit,
instructions: Optional[str] | Omit = omit,
qa_options: store_question_answering_params.QaOptions | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
Expand Down Expand Up @@ -450,6 +451,9 @@ def question_answering(

stream: Whether to stream the answer

instructions: Additional custom instructions (followed only when not in conflict with existing
rules)

qa_options: Question answering configuration options

extra_headers: Send extra headers
Expand All @@ -471,6 +475,7 @@ def question_answering(
"file_ids": file_ids,
"search_options": search_options,
"stream": stream,
"instructions": instructions,
"qa_options": qa_options,
},
store_question_answering_params.StoreQuestionAnsweringParams,
Expand Down Expand Up @@ -938,6 +943,7 @@ async def question_answering(
file_ids: Union[Iterable[object], SequenceNotStr[str], None] | Omit = omit,
search_options: StoreChunkSearchOptionsParam | Omit = omit,
stream: bool | Omit = omit,
instructions: Optional[str] | Omit = omit,
qa_options: store_question_answering_params.QaOptions | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
Expand Down Expand Up @@ -966,6 +972,9 @@ async def question_answering(

stream: Whether to stream the answer

instructions: Additional custom instructions (followed only when not in conflict with existing
rules)

qa_options: Question answering configuration options

extra_headers: Send extra headers
Expand All @@ -987,6 +996,7 @@ async def question_answering(
"file_ids": file_ids,
"search_options": search_options,
"stream": stream,
"instructions": instructions,
"qa_options": qa_options,
},
store_question_answering_params.StoreQuestionAnsweringParams,
Expand Down
6 changes: 6 additions & 0 deletions src/mixedbread/types/store_chunk_search_options_param.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ class AgenticAgenticSearchConfig(TypedDict, total=False):
queries_per_round: int
"""Maximum queries per round"""

instructions: Optional[str]
"""
Additional custom instructions (followed only when not in conflict with existing
rules)
"""


Agentic: TypeAlias = Union[bool, AgenticAgenticSearchConfig]

Expand Down
6 changes: 6 additions & 0 deletions src/mixedbread/types/store_question_answering_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ class StoreQuestionAnsweringParams(TypedDict, total=False):
stream: bool
"""Whether to stream the answer"""

instructions: Optional[str]
"""
Additional custom instructions (followed only when not in conflict with existing
rules)
"""

qa_options: QaOptions
"""Question answering configuration options"""

Expand Down
6 changes: 6 additions & 0 deletions src/mixedbread/types/stores/file_search_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@ class SearchOptionsAgenticAgenticSearchConfig(TypedDict, total=False):
queries_per_round: int
"""Maximum queries per round"""

instructions: Optional[str]
"""
Additional custom instructions (followed only when not in conflict with existing
rules)
"""


SearchOptionsAgentic: TypeAlias = Union[bool, SearchOptionsAgenticAgenticSearchConfig]

Expand Down
2 changes: 2 additions & 0 deletions tests/api_resources/test_stores.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ def test_method_question_answering_with_all_params(self, client: Mixedbread) ->
"apply_search_rules": True,
},
stream=True,
instructions="x",
qa_options={
"cite": True,
"multimodal": True,
Expand Down Expand Up @@ -702,6 +703,7 @@ async def test_method_question_answering_with_all_params(self, async_client: Asy
"apply_search_rules": True,
},
stream=True,
instructions="x",
qa_options={
"cite": True,
"multimodal": True,
Expand Down
Loading