What's Changed
New Features
- Azure Model-as-a-Service Python Connector: Added a new connector for Azure Model-as-a-Service to the Python SDK by @TaoChenOSU in #6742.
- FunctionChoiceBehavior Abstraction: Introduced FunctionChoiceBehavior, a new function calling abstraction that enables function calling for models beyond just OpenAI. This is not a breaking change, and FunctionCallBehavior still works, but users are urged to transition to the new abstraction by @moonbox3 in #6910.
- Azure AI Inference Function Calling: Added support for Azure AI Inference function calling by @TaoChenOSU in #7035.
- Mistral AI Chat Completion: Added support for Mistral AI Chat Completion by @nmoeller in #7049.
Python Package Updates
- grpcio-status: Updated from
1.60.0
to1.62.2
by @dependabot in #6938. - torch: Updated from
2.3.0
to2.3.1
by @dependabot in #6936. - qdrant-client: Updated from
1.9.1
to1.9.2
by @dependabot in #6937 and to1.10.0
in #7036. - transformers: Updated from
4.41.1
to4.41.2
by @dependabot in #6935. - pydantic: Updated from
2.7.3
to2.8.0
by @dependabot in #7040. - psycopg: Updated from
3.1.19
to3.2.1
by @dependabot in #7039. - chromadb: Updated from
0.5.0
to0.5.3
by @dependabot in #7038. - weaviate-client: Updated from
4.6.4
to4.6.5
by @dependabot in #7037.
Enhancements and Fixes
- DEV_SETUP.md: Updated documentation with dependencies for tests by @fhinkel in #6909.
- Local Function Calling Sample: Improved kernel and function result content with an example of local function calling using Nexus Raven by @eavanvalkenburg in #6982.
- Pyproject Restructuring: Restructured
pyproject.toml
and removed some dependencies by @eavanvalkenburg in #7005. - Removed Google Palm: Removed Google Palm dependency by @eavanvalkenburg in #7051.
- Coverage Configs: Added coverage configurations by @eavanvalkenburg in #7050.
Bug Fixes and Improvements
- Error Handling: Corrected error handling in
does_collection_exist
by @0xMihir in #6950. - Sessions Plugin: Updated sessions Python plugin to work with the correct endpoints by @moonbox3 in #7070.
- Model Compatibility Verification: Verified local models in Ollama and LM Studio compatibility with OpenAI connector by @TaoChenOSU in #6973.
- Mypy Configuration: Updated mypy configuration for better type checking and increased code quality by @eavanvalkenburg in #7139.
- Code Quality Improvements: Enabled mypy and improved code quality for various connectors and function behaviors by @moonbox3 in multiple PRs (#7153, #7163, #7154).
- Version Bump: Updated Python project version to
1.2.0
for release by @moonbox3 in #7177. - HuggingFace Connectors: Enabled mypy for HuggingFace connectors and increased unit test coverage by @moonbox3 in #7176.
New Contributors
- @fhinkel made their first contribution in #6909
- @0xMihir made their first contribution in #6950
- @nmoeller made their first contribution in #7049
Full Changelog: python-1.1.2...python-1.2.0