Skip to content

Commit e126f99

Browse files
authored
Merge pull request #268 from mixedbread-ai/release-please--branches--main--changes--next
release: 0.49.0
2 parents 738af1e + 24d0dc8 commit e126f99

10 files changed

Lines changed: 43 additions & 5 deletions

File tree

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.48.0"
2+
".": "0.49.0"
33
}

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 56
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mixedbread%2Fmixedbread-aee97de4d3aed6b0d4c4ace37a0b32972f51502127796354b791ee61d5176eab.yml
3-
openapi_spec_hash: 3752a46f3eca4db340f0fe9df10fed44
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mixedbread%2Fmixedbread-3daf4d41b24950791a70688527c10dea9e201d304b8d6432b3acfa50e33e0805.yml
3+
openapi_spec_hash: 1ecaa0f38266f1c5d1da8fb2e9ef651a
44
config_hash: c32ffa6858a02d7f23f6f3dda0b461ed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 0.49.0 (2026-03-19)
4+
5+
Full Changelog: [v0.48.0...v0.49.0](https://github.com/mixedbread-ai/mixedbread-python/compare/v0.48.0...v0.49.0)
6+
7+
### Features
8+
9+
* **api:** api update ([dc87556](https://github.com/mixedbread-ai/mixedbread-python/commit/dc875560329b32cf5fc0421a162af671bb956e7c))
10+
311
## 0.48.0 (2026-03-18)
412

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

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "mixedbread"
3-
version = "0.48.0"
3+
version = "0.49.0"
44
description = "The official Python library for the Mixedbread API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

src/mixedbread/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "mixedbread"
4-
__version__ = "0.48.0" # x-release-please-version
4+
__version__ = "0.49.0" # x-release-please-version

src/mixedbread/resources/stores/stores.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,7 @@ def question_answering(
422422
file_ids: Union[Iterable[object], SequenceNotStr[str], None] | Omit = omit,
423423
search_options: StoreChunkSearchOptionsParam | Omit = omit,
424424
stream: bool | Omit = omit,
425+
instructions: Optional[str] | Omit = omit,
425426
qa_options: store_question_answering_params.QaOptions | Omit = omit,
426427
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
427428
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -450,6 +451,9 @@ def question_answering(
450451
451452
stream: Whether to stream the answer
452453
454+
instructions: Additional custom instructions (followed only when not in conflict with existing
455+
rules)
456+
453457
qa_options: Question answering configuration options
454458
455459
extra_headers: Send extra headers
@@ -471,6 +475,7 @@ def question_answering(
471475
"file_ids": file_ids,
472476
"search_options": search_options,
473477
"stream": stream,
478+
"instructions": instructions,
474479
"qa_options": qa_options,
475480
},
476481
store_question_answering_params.StoreQuestionAnsweringParams,
@@ -938,6 +943,7 @@ async def question_answering(
938943
file_ids: Union[Iterable[object], SequenceNotStr[str], None] | Omit = omit,
939944
search_options: StoreChunkSearchOptionsParam | Omit = omit,
940945
stream: bool | Omit = omit,
946+
instructions: Optional[str] | Omit = omit,
941947
qa_options: store_question_answering_params.QaOptions | Omit = omit,
942948
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
943949
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -966,6 +972,9 @@ async def question_answering(
966972
967973
stream: Whether to stream the answer
968974
975+
instructions: Additional custom instructions (followed only when not in conflict with existing
976+
rules)
977+
969978
qa_options: Question answering configuration options
970979
971980
extra_headers: Send extra headers
@@ -987,6 +996,7 @@ async def question_answering(
987996
"file_ids": file_ids,
988997
"search_options": search_options,
989998
"stream": stream,
999+
"instructions": instructions,
9901000
"qa_options": qa_options,
9911001
},
9921002
store_question_answering_params.StoreQuestionAnsweringParams,

src/mixedbread/types/store_chunk_search_options_param.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ class AgenticAgenticSearchConfig(TypedDict, total=False):
3838
queries_per_round: int
3939
"""Maximum queries per round"""
4040

41+
instructions: Optional[str]
42+
"""
43+
Additional custom instructions (followed only when not in conflict with existing
44+
rules)
45+
"""
46+
4147

4248
Agentic: TypeAlias = Union[bool, AgenticAgenticSearchConfig]
4349

src/mixedbread/types/store_question_answering_params.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ class StoreQuestionAnsweringParams(TypedDict, total=False):
3737
stream: bool
3838
"""Whether to stream the answer"""
3939

40+
instructions: Optional[str]
41+
"""
42+
Additional custom instructions (followed only when not in conflict with existing
43+
rules)
44+
"""
45+
4046
qa_options: QaOptions
4147
"""Question answering configuration options"""
4248

src/mixedbread/types/stores/file_search_params.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,12 @@ class SearchOptionsAgenticAgenticSearchConfig(TypedDict, total=False):
7878
queries_per_round: int
7979
"""Maximum queries per round"""
8080

81+
instructions: Optional[str]
82+
"""
83+
Additional custom instructions (followed only when not in conflict with existing
84+
rules)
85+
"""
86+
8187

8288
SearchOptionsAgentic: TypeAlias = Union[bool, SearchOptionsAgenticAgenticSearchConfig]
8389

tests/api_resources/test_stores.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,7 @@ def test_method_question_answering_with_all_params(self, client: Mixedbread) ->
316316
"apply_search_rules": True,
317317
},
318318
stream=True,
319+
instructions="x",
319320
qa_options={
320321
"cite": True,
321322
"multimodal": True,
@@ -702,6 +703,7 @@ async def test_method_question_answering_with_all_params(self, async_client: Asy
702703
"apply_search_rules": True,
703704
},
704705
stream=True,
706+
instructions="x",
705707
qa_options={
706708
"cite": True,
707709
"multimodal": True,

0 commit comments

Comments
 (0)