1.0.0-beta.4 (2024-08-29)
Features Added
-
file_search
tool definitions now have the ability to configuremax_num_results
via the matching, named inner options object
Previously, only a stubbed{ "type": "file_search" }
was valid. Now, e.g.:{ "type": "file_search", "file_search": { "max_num_results": 20 } }
- Added a new property
FileSearchToolDefinitionDetails fileSearch
toFileSearchToolDefinition
model. - Added new class
FileSearchToolDefinitionDetails
to represent the details of a file search tool.
- Added a new property
-
chunking_strategy
is added as a new optional property when creating a vector store (either via the vector store creation operation
or the helper when creating an assistant) -- this allows customization of the chunk size and overlap used when ingesting data.
See the OpenAI reference for full details.- Added a new property
VectorStoreChunkingStrategyRequest chunkingStrategy
toVectorStoreOptions
model. - Added a new property
VectorStoreChunkingStrategyResponse chunkingStrategy
toVectorStoreFile
model. - Added new enum
VectorStoreChunkingStrategyRequestType
andVectorStoreChunkingStrategyResponseType
to represent the chunking strategytype
for vector stores. - Added new class
VectorStoreChunkingStrategyRequest
andVectorStoreChunkingStrategyResponse
to represent the chunking strategy for vector stores. - Added new class
VectorStoreAutoChunkingStrategyRequest
andVectorStoreAutoChunkingStrategyResponse
to represent theauto
chunking strategy for vector stores. - Added new class
VectorStoreStaticChunkingStrategyOptions
,VectorStoreStaticChunkingStrategyRequest
andVectorStoreStaticChunkingStrategyResponse
to represent thestatic
chunking strategy for vector stores.
- Added a new property
Other Changes
Dependency Updates
- Upgraded
azure-core
to version1.51.0
. - Upgraded
azure-core-http-netty
to version1.15.3
.