v1.1.18
Changelog
(2024-01-30) Python Version 1.1.18, NPM Version 1.1.8
Last PR included in this release: #1060
Features
- python-sdk: Created Claude model parser for Bedrock (AWS) library. Added it to core model parsers in
python-aiconfig
(#1039) - python-sdk: Created variant of Open AI model parser class which uses Azure endpoints. Added it to core model parsers in
python-aiconfig
(#1034) - extension: Created model parsers for the following HuggingFace tasks, leveraging the HuggingFace remote inference client. Added them to
aiconfig-extension-hugging-face
- python-sdk: Moved Gemini model parser to the main
python-aiconfig
package.aiconfig-extension-gemini
is now deprecated (#987) - editor: Added Share button, which implements a callback to return a URL redirect to render a read-only version of the AIConfig instance (#1049). This will be used for Gradio Notebooks so Hugging Face space viewers can share their AIConfig session with others. We will have more details on this when it launches in upcoming weeks!
- editor: Added Download button, which implements a callback to download existing AIConfig session to a local file (#1061). Like the Share button, this will be implemented for Gradio Notebooks on HuggingFace spaces
- editor: Defined AIConfigEditor prop for setting light/dark mode UI theme (#1063)
- editor: Added prompt input settings schemas for Hugging Face remote inference task names and Claude Bedrock (#1029, #1050)
Bug Fixes / Tasks
- python-sdk: Fixed bug where we were not resolving parameters that referenced earlier prompts if those referenced prompts contained non-text input(s) or output(s) (#1065)
- python-sdk: Refactored OpenAI model parser to use client object instead of directly updating api_key, enabling us create OpenAI Azure (#999)
- editor: Disabled interactions for prompt name, model selector, and model settings while in read-only mode (#1027, #1028)
- editor: Hardcode default models for remote inference HuggingFace tasks. Users can still edit the model they want to use, but they aren’t required to define them themselves (#1048)
- editor: Set default
max_new_tokens
value from 20 → 400 for the HuggingFace remote inference Text Generation model parser (#1047) - python-sdk: Remove unused mocks from
serialize()
tests (#1064)