What's New
Vector Search Support
The SDK now provides typed models and convenience methods for the Flux vector search API.
4 search modes:
vector_search()— semantic search with auto-generated embeddingsvector_field_search()— search with custom pre-computed embedding vectorshybrid_search()— blended text + vector search with configurable weightsboosted_search()— keyword search boosted by vector similarity
Typed models with validation:
SearchMode,VectorSearch,VectorFieldSearch,VectorBoostConfig,HybridConfig,SearchRequest- Cross-field validation catches invalid configurations before the API call
SearchRequestforwards extra fields (where,sort) viaextra="allow"
All methods available on both FluxClient and AsyncFluxClient.
Other Changes
- Fixed
examples/flux_client.pysearch body to use correctfind_text/resultskeys