AI21 Releases Open-Source Python SDK 2.0 with Simplified Developer Experience
·2024.02.16 00:10
Key point
AI21 released open-source Python SDK v2.0, simplifying the developer experience.
Details
AI21 has released the open-source Python SDK v2.0. The new version is designed to make it easier to integrate AI21 models, and integration with LLM orchestration frameworks like LangChain and LlamaIndex has also become smoother.
The key changes are as follows.
- Multiple client instances can be used simultaneously to access AI21 Studio, Amazon SageMaker, and Amazon Bedrock separately per account.
- Input and output types have been standardized, making it easier to grasp the shape of functions just through IDE autocomplete and hints.
- A built-in tokenizer allows checking token usage locally without making API requests.
- The full source code is available on GitHub, where feature suggestions and feedback can be submitted via issues.
AI21 explained that this SDK will reduce implementation time and make adoption for enterprise use cases easier.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.