mixedbread 0.53.0__tar.gz → 0.54.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mixedbread-0.54.0/.release-please-manifest.json +3 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/CHANGELOG.md +8 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/PKG-INFO +1 -1
- {mixedbread-0.53.0 → mixedbread-0.54.0}/api.md +2 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/pyproject.toml +1 -1
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/_version.py +1 -1
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/resources/stores/stores.py +178 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/__init__.py +2 -0
- mixedbread-0.54.0/src/mixedbread/types/store_list_chunks_params.py +93 -0
- mixedbread-0.54.0/src/mixedbread/types/store_list_chunks_response.py +26 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/tests/api_resources/test_stores.py +175 -0
- mixedbread-0.53.0/.release-please-manifest.json +0 -3
- {mixedbread-0.53.0 → mixedbread-0.54.0}/.gitignore +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/CONTRIBUTING.md +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/LICENSE +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/README.md +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/SECURITY.md +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/bin/check-release-environment +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/bin/publish-pypi +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/examples/.keep +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/noxfile.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/release-please-config.json +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/requirements-dev.lock +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/requirements.lock +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/__init__.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/_base_client.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/_client.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/_compat.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/_constants.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/_exceptions.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/_files.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/_models.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/_qs.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/_resource.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/_response.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/_streaming.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/_types.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/_utils/__init__.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/_utils/_compat.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/_utils/_datetime_parse.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/_utils/_json.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/_utils/_logs.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/_utils/_path.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/_utils/_proxy.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/_utils/_reflection.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/_utils/_resources_proxy.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/_utils/_streams.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/_utils/_sync.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/_utils/_transform.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/_utils/_typing.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/_utils/_utils.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/lib/.keep +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/lib/__init__.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/lib/multipart_upload.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/lib/polling.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/pagination.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/py.typed +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/resources/__init__.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/resources/api_keys.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/resources/chat.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/resources/data_sources/__init__.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/resources/data_sources/connectors.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/resources/data_sources/data_sources.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/resources/embeddings.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/resources/extractions/__init__.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/resources/extractions/content.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/resources/extractions/extractions.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/resources/extractions/jobs.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/resources/extractions/schema.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/resources/files/__init__.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/resources/files/files.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/resources/files/uploads.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/resources/parsing/__init__.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/resources/parsing/jobs.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/resources/parsing/parsing.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/resources/stores/__init__.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/resources/stores/files.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/agentic_search_config_param.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/api_key.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/api_key_create_or_update_params.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/api_key_create_params.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/api_key_created.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/api_key_delete_response.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/api_key_list_params.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/audio_chunk_generated_metadata.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/audio_url.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/client_embed_params.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/client_rerank_params.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/code_chunk_generated_metadata.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/contextualization_config.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/contextualization_config_param.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/data_source.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/data_source_api_key_params.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/data_source_create_params.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/data_source_delete_response.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/data_source_list_params.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/data_source_oauth2_params.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/data_source_type.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/data_source_update_params.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/data_sources/__init__.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/data_sources/connector_create_params.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/data_sources/connector_delete_response.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/data_sources/connector_list_params.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/data_sources/connector_update_params.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/data_sources/data_source_connector.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/embedding.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/embedding_create_params.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/embedding_create_response.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/encoding_format.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/expires_after.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/expires_after_param.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/extractions/__init__.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/extractions/content_create_params.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/extractions/created_json_schema.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/extractions/enhanced_json_schema.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/extractions/extraction_job.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/extractions/extraction_result.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/extractions/image_url_input_param.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/extractions/job_create_params.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/extractions/schema_create_params.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/extractions/schema_enhance_params.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/extractions/schema_validate_params.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/extractions/text_input_param.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/extractions/validated_json_schema.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/file_counts.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/file_create_params.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/file_delete_response.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/file_list_params.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/file_object.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/file_update_params.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/files/__init__.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/files/multipart_upload_part.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/files/multipart_upload_part_param.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/files/multipart_upload_part_url.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/files/upload_abort_response.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/files/upload_complete_params.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/files/upload_create_params.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/files/upload_create_response.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/files/upload_list_response.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/files/upload_retrieve_response.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/image_chunk_generated_metadata.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/image_url_output.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/info_response.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/linear_data_source_param.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/markdown_chunk_generated_metadata.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/markdown_heading.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/multi_encoding_embedding.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/notion_data_source_param.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/oauth2_params.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/pagination_with_total.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/parsing/__init__.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/parsing/chunk.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/parsing/chunk_element.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/parsing/chunking_strategy.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/parsing/document_parser_result.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/parsing/element_type.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/parsing/job_create_params.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/parsing/job_delete_response.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/parsing/job_list_params.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/parsing/job_list_response.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/parsing/parsing_job.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/parsing/parsing_job_status.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/parsing/return_format.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/pdf_chunk_generated_metadata.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/rerank_config_param.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/rerank_response.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/scope.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/scope_param.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/scored_audio_url_input_chunk.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/scored_image_url_input_chunk.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/scored_text_input_chunk.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/scored_video_url_input_chunk.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/shared/__init__.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/shared/search_filter_condition.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/shared/usage.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/shared_params/__init__.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/shared_params/search_filter_condition.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/store.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/store_chunk_search_options_param.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/store_config.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/store_config_param.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/store_create_params.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/store_delete_response.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/store_grep_params.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/store_grep_response.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/store_list_params.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/store_metadata_facets_params.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/store_metadata_facets_response.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/store_question_answering_params.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/store_question_answering_response.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/store_search_params.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/store_search_response.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/store_update_params.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/stores/__init__.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/stores/audio_url_input_chunk.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/stores/file_create_params.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/stores/file_delete_response.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/stores/file_list_params.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/stores/file_list_response.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/stores/file_retrieve_params.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/stores/file_update_params.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/stores/image_url_input_chunk.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/stores/store_file.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/stores/store_file_config.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/stores/store_file_config_param.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/stores/store_file_status.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/stores/text_input_chunk.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/stores/video_url_input_chunk.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/text_chunk_generated_metadata.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/video_chunk_generated_metadata.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/src/mixedbread/types/video_url.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/tests/__init__.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/tests/api_resources/__init__.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/tests/api_resources/data_sources/__init__.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/tests/api_resources/data_sources/test_connectors.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/tests/api_resources/extractions/__init__.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/tests/api_resources/extractions/test_content.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/tests/api_resources/extractions/test_jobs.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/tests/api_resources/extractions/test_schema.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/tests/api_resources/files/__init__.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/tests/api_resources/files/test_uploads.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/tests/api_resources/parsing/__init__.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/tests/api_resources/parsing/test_jobs.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/tests/api_resources/stores/__init__.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/tests/api_resources/stores/test_files.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/tests/api_resources/test_api_keys.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/tests/api_resources/test_chat.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/tests/api_resources/test_client.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/tests/api_resources/test_data_sources.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/tests/api_resources/test_embeddings.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/tests/api_resources/test_files.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/tests/conftest.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/tests/sample_file.txt +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/tests/test_client.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/tests/test_extract_files.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/tests/test_files.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/tests/test_models.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/tests/test_qs.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/tests/test_required_args.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/tests/test_response.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/tests/test_streaming.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/tests/test_transform.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/tests/test_utils/test_datetime_parse.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/tests/test_utils/test_json.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/tests/test_utils/test_path.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/tests/test_utils/test_proxy.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/tests/test_utils/test_typing.py +0 -0
- {mixedbread-0.53.0 → mixedbread-0.54.0}/tests/utils.py +0 -0
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.54.0 (2026-05-21)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.53.0...v0.54.0](https://github.com/mixedbread-ai/mixedbread-python/compare/v0.53.0...v0.54.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** add list_chunks ([33eefb1](https://github.com/mixedbread-ai/mixedbread-python/commit/33eefb1c49fc766d9bd423fbc20f226d30a1a22e))
|
|
10
|
+
|
|
3
11
|
## 0.53.0 (2026-05-21)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v0.52.0...v0.53.0](https://github.com/mixedbread-ai/mixedbread-python/compare/v0.52.0...v0.53.0)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: mixedbread
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.54.0
|
|
4
4
|
Summary: The official Python library for the Mixedbread API
|
|
5
5
|
Project-URL: Homepage, https://github.com/mixedbread-ai/mixedbread-python
|
|
6
6
|
Project-URL: Repository, https://github.com/mixedbread-ai/mixedbread-python
|
|
@@ -55,6 +55,7 @@ from mixedbread.types import (
|
|
|
55
55
|
VideoURL,
|
|
56
56
|
StoreDeleteResponse,
|
|
57
57
|
StoreGrepResponse,
|
|
58
|
+
StoreListChunksResponse,
|
|
58
59
|
StoreMetadataFacetsResponse,
|
|
59
60
|
StoreQuestionAnsweringResponse,
|
|
60
61
|
StoreSearchResponse,
|
|
@@ -69,6 +70,7 @@ Methods:
|
|
|
69
70
|
- <code title="get /v1/stores">client.stores.<a href="./src/mixedbread/resources/stores/stores.py">list</a>(\*\*<a href="src/mixedbread/types/store_list_params.py">params</a>) -> <a href="./src/mixedbread/types/store.py">SyncCursor[Store]</a></code>
|
|
70
71
|
- <code title="delete /v1/stores/{store_identifier}">client.stores.<a href="./src/mixedbread/resources/stores/stores.py">delete</a>(store_identifier) -> <a href="./src/mixedbread/types/store_delete_response.py">StoreDeleteResponse</a></code>
|
|
71
72
|
- <code title="post /v1/stores/grep">client.stores.<a href="./src/mixedbread/resources/stores/stores.py">grep</a>(\*\*<a href="src/mixedbread/types/store_grep_params.py">params</a>) -> <a href="./src/mixedbread/types/store_grep_response.py">StoreGrepResponse</a></code>
|
|
73
|
+
- <code title="post /v1/stores/list-chunks">client.stores.<a href="./src/mixedbread/resources/stores/stores.py">list_chunks</a>(\*\*<a href="src/mixedbread/types/store_list_chunks_params.py">params</a>) -> <a href="./src/mixedbread/types/store_list_chunks_response.py">StoreListChunksResponse</a></code>
|
|
72
74
|
- <code title="post /v1/stores/metadata-facets">client.stores.<a href="./src/mixedbread/resources/stores/stores.py">metadata_facets</a>(\*\*<a href="src/mixedbread/types/store_metadata_facets_params.py">params</a>) -> <a href="./src/mixedbread/types/store_metadata_facets_response.py">StoreMetadataFacetsResponse</a></code>
|
|
73
75
|
- <code title="post /v1/stores/question-answering">client.stores.<a href="./src/mixedbread/resources/stores/stores.py">question_answering</a>(\*\*<a href="src/mixedbread/types/store_question_answering_params.py">params</a>) -> <a href="./src/mixedbread/types/store_question_answering_response.py">StoreQuestionAnsweringResponse</a></code>
|
|
74
76
|
- <code title="post /v1/stores/search">client.stores.<a href="./src/mixedbread/resources/stores/stores.py">search</a>(\*\*<a href="src/mixedbread/types/store_search_params.py">params</a>) -> <a href="./src/mixedbread/types/store_search_response.py">StoreSearchResponse</a></code>
|
|
@@ -21,6 +21,7 @@ from ...types import (
|
|
|
21
21
|
store_create_params,
|
|
22
22
|
store_search_params,
|
|
23
23
|
store_update_params,
|
|
24
|
+
store_list_chunks_params,
|
|
24
25
|
store_metadata_facets_params,
|
|
25
26
|
store_question_answering_params,
|
|
26
27
|
)
|
|
@@ -42,6 +43,7 @@ from ...types.expires_after_param import ExpiresAfterParam
|
|
|
42
43
|
from ...types.store_grep_response import StoreGrepResponse
|
|
43
44
|
from ...types.store_delete_response import StoreDeleteResponse
|
|
44
45
|
from ...types.store_search_response import StoreSearchResponse
|
|
46
|
+
from ...types.store_list_chunks_response import StoreListChunksResponse
|
|
45
47
|
from ...types.store_metadata_facets_response import StoreMetadataFacetsResponse
|
|
46
48
|
from ...types.store_chunk_search_options_param import StoreChunkSearchOptionsParam
|
|
47
49
|
from ...types.store_question_answering_response import StoreQuestionAnsweringResponse
|
|
@@ -449,6 +451,88 @@ class StoresResource(SyncAPIResource):
|
|
|
449
451
|
cast_to=StoreGrepResponse,
|
|
450
452
|
)
|
|
451
453
|
|
|
454
|
+
def list_chunks(
|
|
455
|
+
self,
|
|
456
|
+
*,
|
|
457
|
+
store_identifiers: SequenceNotStr[str],
|
|
458
|
+
top_k: int | Omit = omit,
|
|
459
|
+
filters: Optional[store_list_chunks_params.Filters] | Omit = omit,
|
|
460
|
+
file_ids: Union[Iterable[object], SequenceNotStr[str], None] | Omit = omit,
|
|
461
|
+
sort_by: Union[str, Iterable[object], None] | Omit = omit,
|
|
462
|
+
search_options: StoreChunkSearchOptionsParam | Omit = omit,
|
|
463
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
464
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
465
|
+
extra_headers: Headers | None = None,
|
|
466
|
+
extra_query: Query | None = None,
|
|
467
|
+
extra_body: Body | None = None,
|
|
468
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
469
|
+
) -> StoreListChunksResponse:
|
|
470
|
+
"""
|
|
471
|
+
List store chunks purely by metadata filters — no embeddings, no semantic
|
|
472
|
+
similarity, no reranking.
|
|
473
|
+
|
|
474
|
+
Unlike `/stores/search`, this endpoint does not require a query and never runs a
|
|
475
|
+
vector lookup. It returns chunks whose file and chunk metadata satisfy
|
|
476
|
+
`filters`, optionally ordered by a numeric metadata field via `sort_by`. Useful
|
|
477
|
+
for ranked retrieval over numeric attributes (e.g. price, BPM) and for
|
|
478
|
+
reproducing the agentic `filter_chunks` tool externally.
|
|
479
|
+
|
|
480
|
+
list-chunks targets a single store and does not support pagination; raise
|
|
481
|
+
`top_k` to retrieve more chunks.
|
|
482
|
+
|
|
483
|
+
Args: filter_params: Filter configuration including: - store_identifiers: the
|
|
484
|
+
single store to filter against - filters: optional metadata filter conditions -
|
|
485
|
+
file_ids: optional list of file IDs to filter chunks by - sort_by: optional
|
|
486
|
+
metadata field path, or `(field, ascending)` tuple, for numeric ordering -
|
|
487
|
+
top_k: number of chunks to return
|
|
488
|
+
|
|
489
|
+
Returns: StoreListChunksResponse containing the list of matching chunks.
|
|
490
|
+
|
|
491
|
+
Raises: HTTPException (400): If filter parameters are invalid or multiple stores
|
|
492
|
+
are passed HTTPException (404): If the store is not found
|
|
493
|
+
|
|
494
|
+
Args:
|
|
495
|
+
store_identifiers: IDs or names of stores
|
|
496
|
+
|
|
497
|
+
top_k: Number of results to return
|
|
498
|
+
|
|
499
|
+
filters: Optional filter conditions
|
|
500
|
+
|
|
501
|
+
file_ids: Optional list of file IDs to filter chunks by (inclusion filter)
|
|
502
|
+
|
|
503
|
+
sort_by: Optional sort applied to the returned chunks. Pass a metadata field path or a
|
|
504
|
+
tuple of (field path, ascending). Unprefixed dot paths target file metadata;
|
|
505
|
+
generated_metadata.\\** targets chunk metadata.
|
|
506
|
+
|
|
507
|
+
search_options: Search configuration options
|
|
508
|
+
|
|
509
|
+
extra_headers: Send extra headers
|
|
510
|
+
|
|
511
|
+
extra_query: Add additional query parameters to the request
|
|
512
|
+
|
|
513
|
+
extra_body: Add additional JSON properties to the request
|
|
514
|
+
|
|
515
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
516
|
+
"""
|
|
517
|
+
return self._post(
|
|
518
|
+
"/v1/stores/list-chunks",
|
|
519
|
+
body=maybe_transform(
|
|
520
|
+
{
|
|
521
|
+
"store_identifiers": store_identifiers,
|
|
522
|
+
"top_k": top_k,
|
|
523
|
+
"filters": filters,
|
|
524
|
+
"file_ids": file_ids,
|
|
525
|
+
"sort_by": sort_by,
|
|
526
|
+
"search_options": search_options,
|
|
527
|
+
},
|
|
528
|
+
store_list_chunks_params.StoreListChunksParams,
|
|
529
|
+
),
|
|
530
|
+
options=make_request_options(
|
|
531
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
532
|
+
),
|
|
533
|
+
cast_to=StoreListChunksResponse,
|
|
534
|
+
)
|
|
535
|
+
|
|
452
536
|
def metadata_facets(
|
|
453
537
|
self,
|
|
454
538
|
*,
|
|
@@ -1077,6 +1161,88 @@ class AsyncStoresResource(AsyncAPIResource):
|
|
|
1077
1161
|
cast_to=StoreGrepResponse,
|
|
1078
1162
|
)
|
|
1079
1163
|
|
|
1164
|
+
async def list_chunks(
|
|
1165
|
+
self,
|
|
1166
|
+
*,
|
|
1167
|
+
store_identifiers: SequenceNotStr[str],
|
|
1168
|
+
top_k: int | Omit = omit,
|
|
1169
|
+
filters: Optional[store_list_chunks_params.Filters] | Omit = omit,
|
|
1170
|
+
file_ids: Union[Iterable[object], SequenceNotStr[str], None] | Omit = omit,
|
|
1171
|
+
sort_by: Union[str, Iterable[object], None] | Omit = omit,
|
|
1172
|
+
search_options: StoreChunkSearchOptionsParam | Omit = omit,
|
|
1173
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
1174
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
1175
|
+
extra_headers: Headers | None = None,
|
|
1176
|
+
extra_query: Query | None = None,
|
|
1177
|
+
extra_body: Body | None = None,
|
|
1178
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
1179
|
+
) -> StoreListChunksResponse:
|
|
1180
|
+
"""
|
|
1181
|
+
List store chunks purely by metadata filters — no embeddings, no semantic
|
|
1182
|
+
similarity, no reranking.
|
|
1183
|
+
|
|
1184
|
+
Unlike `/stores/search`, this endpoint does not require a query and never runs a
|
|
1185
|
+
vector lookup. It returns chunks whose file and chunk metadata satisfy
|
|
1186
|
+
`filters`, optionally ordered by a numeric metadata field via `sort_by`. Useful
|
|
1187
|
+
for ranked retrieval over numeric attributes (e.g. price, BPM) and for
|
|
1188
|
+
reproducing the agentic `filter_chunks` tool externally.
|
|
1189
|
+
|
|
1190
|
+
list-chunks targets a single store and does not support pagination; raise
|
|
1191
|
+
`top_k` to retrieve more chunks.
|
|
1192
|
+
|
|
1193
|
+
Args: filter_params: Filter configuration including: - store_identifiers: the
|
|
1194
|
+
single store to filter against - filters: optional metadata filter conditions -
|
|
1195
|
+
file_ids: optional list of file IDs to filter chunks by - sort_by: optional
|
|
1196
|
+
metadata field path, or `(field, ascending)` tuple, for numeric ordering -
|
|
1197
|
+
top_k: number of chunks to return
|
|
1198
|
+
|
|
1199
|
+
Returns: StoreListChunksResponse containing the list of matching chunks.
|
|
1200
|
+
|
|
1201
|
+
Raises: HTTPException (400): If filter parameters are invalid or multiple stores
|
|
1202
|
+
are passed HTTPException (404): If the store is not found
|
|
1203
|
+
|
|
1204
|
+
Args:
|
|
1205
|
+
store_identifiers: IDs or names of stores
|
|
1206
|
+
|
|
1207
|
+
top_k: Number of results to return
|
|
1208
|
+
|
|
1209
|
+
filters: Optional filter conditions
|
|
1210
|
+
|
|
1211
|
+
file_ids: Optional list of file IDs to filter chunks by (inclusion filter)
|
|
1212
|
+
|
|
1213
|
+
sort_by: Optional sort applied to the returned chunks. Pass a metadata field path or a
|
|
1214
|
+
tuple of (field path, ascending). Unprefixed dot paths target file metadata;
|
|
1215
|
+
generated_metadata.\\** targets chunk metadata.
|
|
1216
|
+
|
|
1217
|
+
search_options: Search configuration options
|
|
1218
|
+
|
|
1219
|
+
extra_headers: Send extra headers
|
|
1220
|
+
|
|
1221
|
+
extra_query: Add additional query parameters to the request
|
|
1222
|
+
|
|
1223
|
+
extra_body: Add additional JSON properties to the request
|
|
1224
|
+
|
|
1225
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
1226
|
+
"""
|
|
1227
|
+
return await self._post(
|
|
1228
|
+
"/v1/stores/list-chunks",
|
|
1229
|
+
body=await async_maybe_transform(
|
|
1230
|
+
{
|
|
1231
|
+
"store_identifiers": store_identifiers,
|
|
1232
|
+
"top_k": top_k,
|
|
1233
|
+
"filters": filters,
|
|
1234
|
+
"file_ids": file_ids,
|
|
1235
|
+
"sort_by": sort_by,
|
|
1236
|
+
"search_options": search_options,
|
|
1237
|
+
},
|
|
1238
|
+
store_list_chunks_params.StoreListChunksParams,
|
|
1239
|
+
),
|
|
1240
|
+
options=make_request_options(
|
|
1241
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
1242
|
+
),
|
|
1243
|
+
cast_to=StoreListChunksResponse,
|
|
1244
|
+
)
|
|
1245
|
+
|
|
1080
1246
|
async def metadata_facets(
|
|
1081
1247
|
self,
|
|
1082
1248
|
*,
|
|
@@ -1327,6 +1493,9 @@ class StoresResourceWithRawResponse:
|
|
|
1327
1493
|
self.grep = to_raw_response_wrapper(
|
|
1328
1494
|
stores.grep,
|
|
1329
1495
|
)
|
|
1496
|
+
self.list_chunks = to_raw_response_wrapper(
|
|
1497
|
+
stores.list_chunks,
|
|
1498
|
+
)
|
|
1330
1499
|
self.metadata_facets = to_raw_response_wrapper(
|
|
1331
1500
|
stores.metadata_facets,
|
|
1332
1501
|
)
|
|
@@ -1364,6 +1533,9 @@ class AsyncStoresResourceWithRawResponse:
|
|
|
1364
1533
|
self.grep = async_to_raw_response_wrapper(
|
|
1365
1534
|
stores.grep,
|
|
1366
1535
|
)
|
|
1536
|
+
self.list_chunks = async_to_raw_response_wrapper(
|
|
1537
|
+
stores.list_chunks,
|
|
1538
|
+
)
|
|
1367
1539
|
self.metadata_facets = async_to_raw_response_wrapper(
|
|
1368
1540
|
stores.metadata_facets,
|
|
1369
1541
|
)
|
|
@@ -1401,6 +1573,9 @@ class StoresResourceWithStreamingResponse:
|
|
|
1401
1573
|
self.grep = to_streamed_response_wrapper(
|
|
1402
1574
|
stores.grep,
|
|
1403
1575
|
)
|
|
1576
|
+
self.list_chunks = to_streamed_response_wrapper(
|
|
1577
|
+
stores.list_chunks,
|
|
1578
|
+
)
|
|
1404
1579
|
self.metadata_facets = to_streamed_response_wrapper(
|
|
1405
1580
|
stores.metadata_facets,
|
|
1406
1581
|
)
|
|
@@ -1438,6 +1613,9 @@ class AsyncStoresResourceWithStreamingResponse:
|
|
|
1438
1613
|
self.grep = async_to_streamed_response_wrapper(
|
|
1439
1614
|
stores.grep,
|
|
1440
1615
|
)
|
|
1616
|
+
self.list_chunks = async_to_streamed_response_wrapper(
|
|
1617
|
+
stores.list_chunks,
|
|
1618
|
+
)
|
|
1441
1619
|
self.metadata_facets = async_to_streamed_response_wrapper(
|
|
1442
1620
|
stores.metadata_facets,
|
|
1443
1621
|
)
|
|
@@ -51,11 +51,13 @@ from .contextualization_config import ContextualizationConfig as Contextualizati
|
|
|
51
51
|
from .linear_data_source_param import LinearDataSourceParam as LinearDataSourceParam
|
|
52
52
|
from .multi_encoding_embedding import MultiEncodingEmbedding as MultiEncodingEmbedding
|
|
53
53
|
from .notion_data_source_param import NotionDataSourceParam as NotionDataSourceParam
|
|
54
|
+
from .store_list_chunks_params import StoreListChunksParams as StoreListChunksParams
|
|
54
55
|
from .data_source_create_params import DataSourceCreateParams as DataSourceCreateParams
|
|
55
56
|
from .data_source_oauth2_params import DataSourceOauth2Params as DataSourceOauth2Params
|
|
56
57
|
from .data_source_update_params import DataSourceUpdateParams as DataSourceUpdateParams
|
|
57
58
|
from .embedding_create_response import EmbeddingCreateResponse as EmbeddingCreateResponse
|
|
58
59
|
from .data_source_api_key_params import DataSourceAPIKeyParams as DataSourceAPIKeyParams
|
|
60
|
+
from .store_list_chunks_response import StoreListChunksResponse as StoreListChunksResponse
|
|
59
61
|
from .agentic_search_config_param import AgenticSearchConfigParam as AgenticSearchConfigParam
|
|
60
62
|
from .data_source_delete_response import DataSourceDeleteResponse as DataSourceDeleteResponse
|
|
61
63
|
from .pdf_chunk_generated_metadata import PdfChunkGeneratedMetadata as PdfChunkGeneratedMetadata
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Union, Iterable, Optional
|
|
6
|
+
from typing_extensions import Required, TypeAlias, TypedDict
|
|
7
|
+
|
|
8
|
+
from .._types import SequenceNotStr
|
|
9
|
+
from .store_chunk_search_options_param import StoreChunkSearchOptionsParam
|
|
10
|
+
from .shared_params.search_filter_condition import SearchFilterCondition
|
|
11
|
+
|
|
12
|
+
__all__ = [
|
|
13
|
+
"StoreListChunksParams",
|
|
14
|
+
"Filters",
|
|
15
|
+
"FiltersSearchFilterInput",
|
|
16
|
+
"FiltersSearchFilterInputAll",
|
|
17
|
+
"FiltersSearchFilterInputAny",
|
|
18
|
+
"FiltersSearchFilterInputNone",
|
|
19
|
+
"FiltersUnionMember2",
|
|
20
|
+
"FiltersUnionMember2SearchFilterInput",
|
|
21
|
+
"FiltersUnionMember2SearchFilterInputAll",
|
|
22
|
+
"FiltersUnionMember2SearchFilterInputAny",
|
|
23
|
+
"FiltersUnionMember2SearchFilterInputNone",
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
class StoreListChunksParams(TypedDict, total=False):
|
|
28
|
+
store_identifiers: Required[SequenceNotStr[str]]
|
|
29
|
+
"""IDs or names of stores"""
|
|
30
|
+
|
|
31
|
+
top_k: int
|
|
32
|
+
"""Number of results to return"""
|
|
33
|
+
|
|
34
|
+
filters: Optional[Filters]
|
|
35
|
+
"""Optional filter conditions"""
|
|
36
|
+
|
|
37
|
+
file_ids: Union[Iterable[object], SequenceNotStr[str], None]
|
|
38
|
+
"""Optional list of file IDs to filter chunks by (inclusion filter)"""
|
|
39
|
+
|
|
40
|
+
sort_by: Union[str, Iterable[object], None]
|
|
41
|
+
"""Optional sort applied to the returned chunks.
|
|
42
|
+
|
|
43
|
+
Pass a metadata field path or a tuple of (field path, ascending). Unprefixed dot
|
|
44
|
+
paths target file metadata; generated_metadata.\\** targets chunk metadata.
|
|
45
|
+
"""
|
|
46
|
+
|
|
47
|
+
search_options: StoreChunkSearchOptionsParam
|
|
48
|
+
"""Search configuration options"""
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
FiltersSearchFilterInputAll: TypeAlias = Union[SearchFilterCondition, object]
|
|
52
|
+
|
|
53
|
+
FiltersSearchFilterInputAny: TypeAlias = Union[SearchFilterCondition, object]
|
|
54
|
+
|
|
55
|
+
FiltersSearchFilterInputNone: TypeAlias = Union[SearchFilterCondition, object]
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
class FiltersSearchFilterInput(TypedDict, total=False):
|
|
59
|
+
"""Represents a filter with AND, OR, and NOT conditions."""
|
|
60
|
+
|
|
61
|
+
all: Optional[Iterable[FiltersSearchFilterInputAll]]
|
|
62
|
+
"""List of conditions or filters to be ANDed together"""
|
|
63
|
+
|
|
64
|
+
any: Optional[Iterable[FiltersSearchFilterInputAny]]
|
|
65
|
+
"""List of conditions or filters to be ORed together"""
|
|
66
|
+
|
|
67
|
+
none: Optional[Iterable[FiltersSearchFilterInputNone]]
|
|
68
|
+
"""List of conditions or filters to be NOTed"""
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
FiltersUnionMember2SearchFilterInputAll: TypeAlias = Union[SearchFilterCondition, object]
|
|
72
|
+
|
|
73
|
+
FiltersUnionMember2SearchFilterInputAny: TypeAlias = Union[SearchFilterCondition, object]
|
|
74
|
+
|
|
75
|
+
FiltersUnionMember2SearchFilterInputNone: TypeAlias = Union[SearchFilterCondition, object]
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
class FiltersUnionMember2SearchFilterInput(TypedDict, total=False):
|
|
79
|
+
"""Represents a filter with AND, OR, and NOT conditions."""
|
|
80
|
+
|
|
81
|
+
all: Optional[Iterable[FiltersUnionMember2SearchFilterInputAll]]
|
|
82
|
+
"""List of conditions or filters to be ANDed together"""
|
|
83
|
+
|
|
84
|
+
any: Optional[Iterable[FiltersUnionMember2SearchFilterInputAny]]
|
|
85
|
+
"""List of conditions or filters to be ORed together"""
|
|
86
|
+
|
|
87
|
+
none: Optional[Iterable[FiltersUnionMember2SearchFilterInputNone]]
|
|
88
|
+
"""List of conditions or filters to be NOTed"""
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
FiltersUnionMember2: TypeAlias = Union[FiltersUnionMember2SearchFilterInput, SearchFilterCondition]
|
|
92
|
+
|
|
93
|
+
Filters: TypeAlias = Union[FiltersSearchFilterInput, SearchFilterCondition, Iterable[FiltersUnionMember2]]
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from typing import List, Union, Optional
|
|
4
|
+
from typing_extensions import Literal, Annotated, TypeAlias
|
|
5
|
+
|
|
6
|
+
from .._utils import PropertyInfo
|
|
7
|
+
from .._models import BaseModel
|
|
8
|
+
from .scored_text_input_chunk import ScoredTextInputChunk
|
|
9
|
+
from .scored_audio_url_input_chunk import ScoredAudioURLInputChunk
|
|
10
|
+
from .scored_image_url_input_chunk import ScoredImageURLInputChunk
|
|
11
|
+
from .scored_video_url_input_chunk import ScoredVideoURLInputChunk
|
|
12
|
+
|
|
13
|
+
__all__ = ["StoreListChunksResponse", "Data"]
|
|
14
|
+
|
|
15
|
+
Data: TypeAlias = Annotated[
|
|
16
|
+
Union[ScoredTextInputChunk, ScoredImageURLInputChunk, ScoredAudioURLInputChunk, ScoredVideoURLInputChunk],
|
|
17
|
+
PropertyInfo(discriminator="type"),
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class StoreListChunksResponse(BaseModel):
|
|
22
|
+
object: Optional[Literal["list"]] = None
|
|
23
|
+
"""The object type of the response"""
|
|
24
|
+
|
|
25
|
+
data: List[Data]
|
|
26
|
+
"""The list of chunks matching the metadata filters"""
|
|
@@ -14,6 +14,7 @@ from mixedbread.types import (
|
|
|
14
14
|
StoreGrepResponse,
|
|
15
15
|
StoreDeleteResponse,
|
|
16
16
|
StoreSearchResponse,
|
|
17
|
+
StoreListChunksResponse,
|
|
17
18
|
StoreMetadataFacetsResponse,
|
|
18
19
|
StoreQuestionAnsweringResponse,
|
|
19
20
|
)
|
|
@@ -321,6 +322,93 @@ class TestStores:
|
|
|
321
322
|
|
|
322
323
|
assert cast(Any, response.is_closed) is True
|
|
323
324
|
|
|
325
|
+
@parametrize
|
|
326
|
+
def test_method_list_chunks(self, client: Mixedbread) -> None:
|
|
327
|
+
store = client.stores.list_chunks(
|
|
328
|
+
store_identifiers=["string"],
|
|
329
|
+
)
|
|
330
|
+
assert_matches_type(StoreListChunksResponse, store, path=["response"])
|
|
331
|
+
|
|
332
|
+
@parametrize
|
|
333
|
+
def test_method_list_chunks_with_all_params(self, client: Mixedbread) -> None:
|
|
334
|
+
store = client.stores.list_chunks(
|
|
335
|
+
store_identifiers=["string"],
|
|
336
|
+
top_k=1,
|
|
337
|
+
filters={
|
|
338
|
+
"all": [
|
|
339
|
+
{
|
|
340
|
+
"key": "price",
|
|
341
|
+
"value": "100",
|
|
342
|
+
"operator": "gt",
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"key": "color",
|
|
346
|
+
"value": "red",
|
|
347
|
+
"operator": "eq",
|
|
348
|
+
},
|
|
349
|
+
],
|
|
350
|
+
"any": [
|
|
351
|
+
{
|
|
352
|
+
"key": "price",
|
|
353
|
+
"value": "100",
|
|
354
|
+
"operator": "gt",
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
"key": "color",
|
|
358
|
+
"value": "red",
|
|
359
|
+
"operator": "eq",
|
|
360
|
+
},
|
|
361
|
+
],
|
|
362
|
+
"none": [
|
|
363
|
+
{
|
|
364
|
+
"key": "price",
|
|
365
|
+
"value": "100",
|
|
366
|
+
"operator": "gt",
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"key": "color",
|
|
370
|
+
"value": "red",
|
|
371
|
+
"operator": "eq",
|
|
372
|
+
},
|
|
373
|
+
],
|
|
374
|
+
},
|
|
375
|
+
file_ids=["123e4567-e89b-12d3-a456-426614174000", "123e4567-e89b-12d3-a456-426614174001"],
|
|
376
|
+
sort_by="price",
|
|
377
|
+
search_options={
|
|
378
|
+
"score_threshold": 0,
|
|
379
|
+
"rewrite_query": True,
|
|
380
|
+
"rerank": True,
|
|
381
|
+
"agentic": True,
|
|
382
|
+
"return_metadata": True,
|
|
383
|
+
"apply_search_rules": True,
|
|
384
|
+
},
|
|
385
|
+
)
|
|
386
|
+
assert_matches_type(StoreListChunksResponse, store, path=["response"])
|
|
387
|
+
|
|
388
|
+
@parametrize
|
|
389
|
+
def test_raw_response_list_chunks(self, client: Mixedbread) -> None:
|
|
390
|
+
response = client.stores.with_raw_response.list_chunks(
|
|
391
|
+
store_identifiers=["string"],
|
|
392
|
+
)
|
|
393
|
+
|
|
394
|
+
assert response.is_closed is True
|
|
395
|
+
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
|
|
396
|
+
store = response.parse()
|
|
397
|
+
assert_matches_type(StoreListChunksResponse, store, path=["response"])
|
|
398
|
+
|
|
399
|
+
@parametrize
|
|
400
|
+
def test_streaming_response_list_chunks(self, client: Mixedbread) -> None:
|
|
401
|
+
with client.stores.with_streaming_response.list_chunks(
|
|
402
|
+
store_identifiers=["string"],
|
|
403
|
+
) as response:
|
|
404
|
+
assert not response.is_closed
|
|
405
|
+
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
|
|
406
|
+
|
|
407
|
+
store = response.parse()
|
|
408
|
+
assert_matches_type(StoreListChunksResponse, store, path=["response"])
|
|
409
|
+
|
|
410
|
+
assert cast(Any, response.is_closed) is True
|
|
411
|
+
|
|
324
412
|
@parametrize
|
|
325
413
|
def test_method_metadata_facets(self, client: Mixedbread) -> None:
|
|
326
414
|
store = client.stores.metadata_facets(
|
|
@@ -897,6 +985,93 @@ class TestAsyncStores:
|
|
|
897
985
|
|
|
898
986
|
assert cast(Any, response.is_closed) is True
|
|
899
987
|
|
|
988
|
+
@parametrize
|
|
989
|
+
async def test_method_list_chunks(self, async_client: AsyncMixedbread) -> None:
|
|
990
|
+
store = await async_client.stores.list_chunks(
|
|
991
|
+
store_identifiers=["string"],
|
|
992
|
+
)
|
|
993
|
+
assert_matches_type(StoreListChunksResponse, store, path=["response"])
|
|
994
|
+
|
|
995
|
+
@parametrize
|
|
996
|
+
async def test_method_list_chunks_with_all_params(self, async_client: AsyncMixedbread) -> None:
|
|
997
|
+
store = await async_client.stores.list_chunks(
|
|
998
|
+
store_identifiers=["string"],
|
|
999
|
+
top_k=1,
|
|
1000
|
+
filters={
|
|
1001
|
+
"all": [
|
|
1002
|
+
{
|
|
1003
|
+
"key": "price",
|
|
1004
|
+
"value": "100",
|
|
1005
|
+
"operator": "gt",
|
|
1006
|
+
},
|
|
1007
|
+
{
|
|
1008
|
+
"key": "color",
|
|
1009
|
+
"value": "red",
|
|
1010
|
+
"operator": "eq",
|
|
1011
|
+
},
|
|
1012
|
+
],
|
|
1013
|
+
"any": [
|
|
1014
|
+
{
|
|
1015
|
+
"key": "price",
|
|
1016
|
+
"value": "100",
|
|
1017
|
+
"operator": "gt",
|
|
1018
|
+
},
|
|
1019
|
+
{
|
|
1020
|
+
"key": "color",
|
|
1021
|
+
"value": "red",
|
|
1022
|
+
"operator": "eq",
|
|
1023
|
+
},
|
|
1024
|
+
],
|
|
1025
|
+
"none": [
|
|
1026
|
+
{
|
|
1027
|
+
"key": "price",
|
|
1028
|
+
"value": "100",
|
|
1029
|
+
"operator": "gt",
|
|
1030
|
+
},
|
|
1031
|
+
{
|
|
1032
|
+
"key": "color",
|
|
1033
|
+
"value": "red",
|
|
1034
|
+
"operator": "eq",
|
|
1035
|
+
},
|
|
1036
|
+
],
|
|
1037
|
+
},
|
|
1038
|
+
file_ids=["123e4567-e89b-12d3-a456-426614174000", "123e4567-e89b-12d3-a456-426614174001"],
|
|
1039
|
+
sort_by="price",
|
|
1040
|
+
search_options={
|
|
1041
|
+
"score_threshold": 0,
|
|
1042
|
+
"rewrite_query": True,
|
|
1043
|
+
"rerank": True,
|
|
1044
|
+
"agentic": True,
|
|
1045
|
+
"return_metadata": True,
|
|
1046
|
+
"apply_search_rules": True,
|
|
1047
|
+
},
|
|
1048
|
+
)
|
|
1049
|
+
assert_matches_type(StoreListChunksResponse, store, path=["response"])
|
|
1050
|
+
|
|
1051
|
+
@parametrize
|
|
1052
|
+
async def test_raw_response_list_chunks(self, async_client: AsyncMixedbread) -> None:
|
|
1053
|
+
response = await async_client.stores.with_raw_response.list_chunks(
|
|
1054
|
+
store_identifiers=["string"],
|
|
1055
|
+
)
|
|
1056
|
+
|
|
1057
|
+
assert response.is_closed is True
|
|
1058
|
+
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
|
|
1059
|
+
store = await response.parse()
|
|
1060
|
+
assert_matches_type(StoreListChunksResponse, store, path=["response"])
|
|
1061
|
+
|
|
1062
|
+
@parametrize
|
|
1063
|
+
async def test_streaming_response_list_chunks(self, async_client: AsyncMixedbread) -> None:
|
|
1064
|
+
async with async_client.stores.with_streaming_response.list_chunks(
|
|
1065
|
+
store_identifiers=["string"],
|
|
1066
|
+
) as response:
|
|
1067
|
+
assert not response.is_closed
|
|
1068
|
+
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
|
|
1069
|
+
|
|
1070
|
+
store = await response.parse()
|
|
1071
|
+
assert_matches_type(StoreListChunksResponse, store, path=["response"])
|
|
1072
|
+
|
|
1073
|
+
assert cast(Any, response.is_closed) is True
|
|
1074
|
+
|
|
900
1075
|
@parametrize
|
|
901
1076
|
async def test_method_metadata_facets(self, async_client: AsyncMixedbread) -> None:
|
|
902
1077
|
store = await async_client.stores.metadata_facets(
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|