Skip to content

Commit a24ebe9

Browse files
feat(api): api update
1 parent ac0e7ac commit a24ebe9

5 files changed

Lines changed: 8 additions & 14 deletions

File tree

.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-3daf4d41b24950791a70688527c10dea9e201d304b8d6432b3acfa50e33e0805.yml
3-
openapi_spec_hash: 1ecaa0f38266f1c5d1da8fb2e9ef651a
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mixedbread%2Fmixedbread-e717012b90ed3193ddd6e9f999346be581028b5e5a3096f5ef41b7ef3a5ba466.yml
3+
openapi_spec_hash: 3fc04ddc609b031147e8446a9ab09a4e
44
config_hash: c32ffa6858a02d7f23f6f3dda0b461ed

src/mixedbread/types/scored_audio_url_input_chunk.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -309,9 +309,6 @@ class ScoredAudioURLInputChunk(BaseModel):
309309
transcription: Optional[str] = None
310310
"""speech recognition (sr) text of the audio"""
311311

312-
summary: Optional[str] = None
313-
"""summary of the audio"""
314-
315312
audio_url: Optional[AudioURL] = None
316313
"""Model for audio URL validation."""
317314

src/mixedbread/types/scored_video_url_input_chunk.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -309,8 +309,5 @@ class ScoredVideoURLInputChunk(BaseModel):
309309
transcription: Optional[str] = None
310310
"""speech recognition (sr) text of the video"""
311311

312-
summary: Optional[str] = None
313-
"""summary of the video"""
314-
315312
video_url: Optional[VideoURL] = None
316313
"""Model for video URL validation."""

src/mixedbread/types/stores/scored_store_file.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,5 +73,8 @@ class ScoredStoreFile(BaseModel):
7373
chunks: Optional[List[Chunk]] = None
7474
"""Array of scored file chunks"""
7575

76+
content_url: str
77+
"""Presigned URL for file content"""
78+
7679
score: float
7780
"""score of the file"""

src/mixedbread/types/stores/store_file.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -891,9 +891,6 @@ class ChunkAudioURLInputChunk(BaseModel):
891891
transcription: Optional[str] = None
892892
"""speech recognition (sr) text of the audio"""
893893

894-
summary: Optional[str] = None
895-
"""summary of the audio"""
896-
897894
audio_url: Optional[ChunkAudioURLInputChunkAudioURL] = None
898895
"""Model for audio URL validation."""
899896

@@ -1172,9 +1169,6 @@ class ChunkVideoURLInputChunk(BaseModel):
11721169
transcription: Optional[str] = None
11731170
"""speech recognition (sr) text of the video"""
11741171

1175-
summary: Optional[str] = None
1176-
"""summary of the video"""
1177-
11781172
video_url: Optional[ChunkVideoURLInputChunkVideoURL] = None
11791173
"""Model for video URL validation."""
11801174

@@ -1229,3 +1223,6 @@ class StoreFile(BaseModel):
12291223

12301224
chunks: Optional[List[Chunk]] = None
12311225
"""chunks"""
1226+
1227+
content_url: str
1228+
"""Presigned URL for file content"""

0 commit comments

Comments
 (0)