diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 59cbd40d..7b24d85b 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.65.0" + ".": "0.66.0" } diff --git a/.stats.yml b/.stats.yml index 65899e74..0c61b9e1 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 55 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mixedbread/mixedbread-8a6699853ccfc469a82ccbbc7d0d83eba4290614dbc11d22ac2c420ef457de06.yml -openapi_spec_hash: 19b229526d38bb034f39f08dead56e68 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mixedbread/mixedbread-fe78c77edfd65d345d21ca8f29af4cbe6c977cb999e514f8073b9f3d9b721312.yml +openapi_spec_hash: 6e8c61ec14c016c1c74881de9e17d53d config_hash: 594a43c9cb8089f079bb9c5442646791 diff --git a/CHANGELOG.md b/CHANGELOG.md index e6583270..d27e30fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.66.0 (2026-05-11) + +Full Changelog: [v0.65.0...v0.66.0](https://github.com/mixedbread-ai/mixedbread-ts/compare/v0.65.0...v0.66.0) + +### Features + +* **api:** api update ([47cb692](https://github.com/mixedbread-ai/mixedbread-ts/commit/47cb692f8fa9585e92f539f95a129775d4a3bb0c)) + ## 0.65.0 (2026-05-08) Full Changelog: [v0.64.0...v0.65.0](https://github.com/mixedbread-ai/mixedbread-ts/compare/v0.64.0...v0.65.0) diff --git a/package.json b/package.json index 9d1dbc6d..599802f5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mixedbread/sdk", - "version": "0.65.0", + "version": "0.66.0", "description": "The official TypeScript library for the Mixedbread API", "author": "Mixedbread ", "types": "dist/index.d.ts", diff --git a/src/resources/stores/files.ts b/src/resources/stores/files.ts index f0c7f36c..77b69f13 100644 --- a/src/resources/stores/files.ts +++ b/src/resources/stores/files.ts @@ -446,6 +446,11 @@ export interface AudioURLInputChunk { */ transcription?: string | null; + /** + * summary of the audio + */ + summary?: string | null; + /** * Model for audio URL validation. */ diff --git a/src/resources/stores/stores.ts b/src/resources/stores/stores.ts index 9e069da0..197aff09 100644 --- a/src/resources/stores/stores.ts +++ b/src/resources/stores/stores.ts @@ -216,9 +216,11 @@ export interface AgenticSearchConfig { strict_top_k?: boolean; /** - * Whether to provide media content to the agent for non-text modalities + * Controls when retrieved image content is provided to the agent. `auto` sends + * images only when no OCR text or summary is available, `never` disables image + * content, and `always` sends image content when available. */ - multimodal?: boolean; + media_content?: 'auto' | 'never' | 'always'; /** * Additional custom instructions (followed only when not in conflict with existing @@ -512,6 +514,11 @@ export interface ScoredAudioURLInputChunk { */ transcription?: string | null; + /** + * summary of the audio + */ + summary?: string | null; + /** * Model for audio URL validation. */ @@ -1023,6 +1030,8 @@ export interface StoreSearchResponse { data: Array< ScoredTextInputChunk | ScoredImageURLInputChunk | ScoredAudioURLInputChunk | ScoredVideoURLInputChunk >; + + [k: string]: unknown; } export interface StoreCreateParams { @@ -1147,6 +1156,21 @@ export interface StoreMetadataFacetsParams { * Optional list of facets to return. Use dot for nested fields. */ facets?: Array | null; + + /** + * Maximum number of distinct metadata fields (keys) to return. + */ + max_fields?: number; + + /** + * Maximum number of distinct values returned per field, ranked by count. + */ + max_values_per_field?: number; + + /** + * Maximum number of store files scanned to compute facets. + */ + max_files?: number; } export interface StoreQuestionAnsweringParams { diff --git a/src/version.ts b/src/version.ts index 7ebe654f..98269868 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '0.65.0'; // x-release-please-version +export const VERSION = '0.66.0'; // x-release-please-version diff --git a/tests/api-resources/stores/stores.test.ts b/tests/api-resources/stores/stores.test.ts index 754b9dc1..687ef303 100644 --- a/tests/api-resources/stores/stores.test.ts +++ b/tests/api-resources/stores/stores.test.ts @@ -110,6 +110,9 @@ describe('resource stores', () => { apply_search_rules: true, }, facets: ['string'], + max_fields: 1, + max_values_per_field: 1, + max_files: 1, }); });