ai21

View on PyPIReverse Dependencies (15)

3.0.1 ai21-3.0.1-py3-none-any.whl

Wheel Details

Project: ai21
Version: 3.0.1
Filename: ai21-3.0.1-py3-none-any.whl
Download: [link]
Size: 59774
MD5: b62bacff60597a33ce1cfe57545eb77a
SHA256: 939e11b479edd176fefd888a72ac50375caec7a8264da33b93bad81c89809319
Uploaded: 2024-12-02 12:06:55 +0000

dist-info

METADATA

Metadata-Version: 2.1
Name: ai21
Version: 3.0.1
Author: AI21 Labs
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Python: >=3.8,<4.0
Requires-Dist: ai21-tokenizer (<1.0.0,>=0.12.0)
Requires-Dist: boto3 (<2.0.0,>=1.28.82); extra == "aws"
Requires-Dist: google-auth (<3.0.0,>=2.31.0); extra == "vertex"
Requires-Dist: httpx (<0.28.0,>=0.27.0)
Requires-Dist: pydantic (<3.0.0,>=1.9.0)
Requires-Dist: tenacity (<9.0.0,>=8.3.0)
Requires-Dist: typing-extensions (<5.0.0,>=4.9.0)
Provides-Extra: aws
Provides-Extra: vertex
Description-Content-Type: text/markdown
[Description omitted; length: 20496 characters]

WHEEL

Wheel-Version: 1.0
Generator: poetry-core 1.9.1
Root-Is-Purelib: true
Tag: py3-none-any

RECORD

Path Digest Size
ai21/__init__.py sha256=1xxLZ-8FwwS7wXaYICZ-hxEaYqHVIz7bzB8d0HrV1B0 2284
ai21/ai21_env_config.py sha256=t3E-s6-35RZKHzw5RsuJy4ySkxn1P3mYfPEB0J5EWOo 3080
ai21/clients/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
ai21/clients/aws/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
ai21/clients/aws/aws_authorization.py sha256=wtrJxa4vHzYz6JrLoS4Vyzksb6XvzK3ESOf1hCHLamQ 852
ai21/clients/azure/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
ai21/clients/azure/ai21_azure_client.py sha256=jaTwv3rLsinmLLJ-NlhU9zooO_Fz1Xt4aCJWAJLuqaY 4420
ai21/clients/bedrock/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
ai21/clients/bedrock/_stream_decoder.py sha256=POS67V1lHMu2IZzOBG4kw5riOZWivV8gbbTufzS4ewI 3733
ai21/clients/bedrock/ai21_bedrock_client.py sha256=ocVIOvgZjR5cemwuBPFWwHLKmuu2iLn0a4XwcYY85Vw 6186
ai21/clients/bedrock/bedrock_model_id.py sha256=LzszizDsni_4dZsi-XlOJ1yZgWBSLqma8t0-VS6-ziE 241
ai21/clients/common/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
ai21/clients/common/chat_base.py sha256=kji_bZhS0JQTGL2943kCwv2vAnE71rdslYy8_eJcfr8 4662
ai21/clients/common/completion_base.py sha256=dXqOdunIoiPWjYcYrtEDDubP8ByhHzh_G7eKaX0uWXU 4744
ai21/clients/common/conversational_rag.py sha256=51wmg9DN1Ol0m9ULCS5fcGQBFHsP5J4l0IrL7Mec5rA 2940
ai21/clients/studio/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
ai21/clients/studio/ai21_client.py sha256=PUgqM9hxcs27eZnDXy9UiBn3UPmEQ-qweW9jSKfCYtY 1594
ai21/clients/studio/async_ai21_client.py sha256=kHFmsFFlkoLOKNZA3QpJP7MiaGLl-56nKvf9WtPmWj4 1580
ai21/clients/studio/client_url_parser.py sha256=q6akLI9sqWfdCZwE8nXQkLf-M1OoTDeHIMzgqcZH2Fw 144
ai21/clients/studio/resources/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
ai21/clients/studio/resources/beta/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
ai21/clients/studio/resources/beta/async_beta.py sha256=_wx0XW8v_CsLp7SmhHhuFLNFxPrj32fxQ2weLp0coFE 440
ai21/clients/studio/resources/beta/beta.py sha256=87UQGpHNQYpir-6ubLvEL4v47qcCPQjXmPo3oXibgh8 399
ai21/clients/studio/resources/chat/__init__.py sha256=wd9XOosmFbkJirnii37c9wOjyemfTzh-ptJTTI0sHYs 182
ai21/clients/studio/resources/chat/async_chat_completions.py sha256=_bki47YCLSMuTZOAaUgWtMdyl87TN27K9bbqbnKLGi4 3810
ai21/clients/studio/resources/chat/base_chat_completions.py sha256=xgZ8ohspUOSpjpanUUWwF5KGrsvtcNEIkQX2RNqbnKE 2344
ai21/clients/studio/resources/chat/chat_completions.py sha256=Ylw1t0KzJMDJXKvrxQc1CsF5UCOcJTjLWgqFDm9wNbA 3766
ai21/clients/studio/resources/constants.py sha256=5qA9h0kLLKURp6WCmP1OL_1F4k7tmE2n8CjvMNDS88Q 173
ai21/clients/studio/resources/studio_chat.py sha256=2ZbcgHjaTMuw0MFZoKEW0DHdCh2wvvXgG697zGbIR4o 4404
ai21/clients/studio/resources/studio_completion.py sha256=mJ0xXnTiVDrFaXFlKXn0gF0bHQnmTr_TbuvyZO3VqPM 3573
ai21/clients/studio/resources/studio_conversational_rag.py sha256=3DiDfnnzSmlbFxX-jFdOXtwC784wLASul98_385okWs 2881
ai21/clients/studio/resources/studio_library.py sha256=DJZtyUJPcp580juIJ5GYZYv6yVmhsTMRAZ7YYTlrEwE 4319
ai21/clients/studio/resources/studio_resource.py sha256=uhgIC_IDos5os4aeQnPxGQIYFAqnOHCKVD3hpZ4F9GA 5210
ai21/clients/vertex/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
ai21/clients/vertex/ai21_vertex_client.py sha256=MBjsDYo-bWSf6hnsu_ARWvLoV-mXPEEYcbAVa9ecwSs 6846
ai21/clients/vertex/gcp_authorization.py sha256=C-srVGJbtIQihHB4SuxZZLzurhM8mAd8oQ9D-yX2b5U 1445
ai21/constants.py sha256=GOQSDZyuQCe-mxcHejnNUC0b3SLffM49uLnl0H6s23Q 64
ai21/errors.py sha256=ulYb5E-DM3FAhOOIcuSulpV6ehweU_mpkmyqTeDf6Es 3448
ai21/http_client/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
ai21/http_client/async_http_client.py sha256=5FTov8K1NNiyuEB1v12E4Tgm6fw6RVmBKhpv7IacklU 4651
ai21/http_client/base_http_client.py sha256=_87sAHZjeA3Faj4Mnx8pkEyvVRvZ6R013e-ImgOmk94 5785
ai21/http_client/http_client.py sha256=f1pLmMOSr1wDawpxxbokhvYIhPGSg2PXBs9NX0cSOpA 4621
ai21/logger.py sha256=DuGriMWyNiHTLGGl1ftXge-DgPI8ZHKaIXmj_2RIHs4 2085
ai21/models/__init__.py sha256=RT-vDbthSlaUKY4O4sq2g3Kpd9aqfHY_sh_eXzfoXVg 946
ai21/models/_pydantic_compatibility.py sha256=KxyMK6VNcCOSiArci8ad0QcjfJYZc1ClPE89OjQ7FGo 940
ai21/models/ai21_base_model.py sha256=lKtmjuOSGuNEQhs9HrfbvlFOqOkACdoq_gm-4WsXSVY 2107
ai21/models/chat/__init__.py sha256=q8TbQZ8RSBgRI_zeLXQ_J3LjNWkbsiYaKYsgjokC1ag 1157
ai21/models/chat/chat_completion_chunk.py sha256=Hi0GGlduvbpY4cU2O7Fx7CxiKbswLLoVUd9oxzo2vyA 558
ai21/models/chat/chat_completion_response.py sha256=5gZdUaRUXTXHzZdSV1c5010OMN5qN4aoNbtZEzqI7U0 525
ai21/models/chat/chat_message.py sha256=1kxDGVSdwwq_BVQC_2_Whzp1v2iY6yLW3nbaam73MV4 753
ai21/models/chat/document_schema.py sha256=CrN6_rztgDFP3tycaswawkaD7o4yx0UAB1LYQCgMruU 190
ai21/models/chat/function_tool_definition.py sha256=B1s2xrV3kNsPUDTHByrOyB-XHI93PTmZjxKsLRXjb-Q 243
ai21/models/chat/response_format.py sha256=Spu_Y6cWpu1hwEaU_MLpRM8_O8pM3KXuODBGEWDFw2A 176
ai21/models/chat/role_type.py sha256=iCDo0kL4l9SrQLpY_PzJFW1m8taymH0cD7cDBAlKBsM 137
ai21/models/chat/tool_call.py sha256=VDo4K-p9D_bTZPj5KpRuHMIKaBLDUQ2_OyYcBQFD54c 253
ai21/models/chat/tool_defintions.py sha256=e6Zm6v4_jXaJDwrsXsdh9JFlqlrhhqVq5NEPz4WkTxI 247
ai21/models/chat/tool_function.py sha256=XlkAQcMFqEfn5F3Si4r3V3nQQP-G1Mr8TL4GQmEpSQ4 124
ai21/models/chat/tool_parameters.py sha256=Yn_mAPwL5uVeXcvKfXmdAuTBjxhOBUy-HgMJhyGAvFM 217
ai21/models/chat_message.py sha256=LRwM-eZW2i-FlATuECX1s_8oNiFHUHgtWwAmraCav8w 171
ai21/models/document_type.py sha256=bFE6T0IBmU8v5fBe2ZZpC4Y8ul2-6nEayWdTKG2P0V8 89
ai21/models/logprobs.py sha256=IRmBxV7XRCJnboDwpaOQs8xrmIGxBH8mh-_YGMQiWBw 317
ai21/models/penalty.py sha256=1yM4fujLviMYturrucG5KnBUpEz1MNj-joM8dhdnfsw 1035
ai21/models/request_options.py sha256=Jfzat25UAc_y5Nl4grK_owezJ15_-1uikTkjASdOHY8 1276
ai21/models/responses/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
ai21/models/responses/chat_response.py sha256=MAEGV4aWpZdvNHNcZ2zrpXrl54mUCYA-Hy2ZFyusWEE 507
ai21/models/responses/completion_response.py sha256=Zxy4V9paqgFjMi_UA7_eYmSFMT6DYnEk8UYpT-5cpWc 743
ai21/models/responses/conversational_rag_response.py sha256=fJ5ZKkmx6vrCHsWb65ZprbEUrd7zWLpmA0CU991hZvg 620
ai21/models/responses/file_response.py sha256=t462FSQQfcmAbFh5kbRQbaisXBXr_i-44RLHcFUuTeI 785
ai21/models/retrieval_strategy.py sha256=rm_stkIiNY7xS1FsDJjxZcym0S0KXynOa9wmrCYYx2o 109
ai21/models/usage_info.py sha256=2Wf1GgatwkQ9TW85Q1bsuQAxBBWBUbBJox7qoSVKwso 160
ai21/py.typed sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
ai21/stream/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
ai21/stream/async_stream.py sha256=FrlNBj_V2Un_-4vm576jf8a8gylKnKt1mZoOw5dMTzM 1560
ai21/stream/stream.py sha256=2pUJijR6vqQ8oc0O0PPXMkknzdL64ZiDXlpG6OOCw6Y 1461
ai21/stream/stream_commons.py sha256=PuFxcB1vF9pVGP7yyGq6SMOhN4AqQpJMPnct8Ce3DfM 1659
ai21/tokenizers/__init__.py sha256=IBNpo10taLB_5iViNs_jidnzYcOIaB2ONxPZ8oUHCMk 167
ai21/tokenizers/ai21_tokenizer.py sha256=4KEYM9-aB9cq173s1lBd0pKmft7FhrUIZ6OVStkMv74 1618
ai21/tokenizers/factory.py sha256=qM6PCiOdGN9BHCxWs1C0NEbY9Zbw9EbjXrzNkKJdkag 1208
ai21/types.py sha256=H-k7w5XvVrhAmUK_TDGkJNgZ5rT9fCpVyfhjki1G9yw 1179
ai21/utils/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
ai21/utils/typing.py sha256=RTFS2V7Cb76C_opRQnaQa3PYerr2qUtRQmEk6oqTxGU 989
ai21/version.py sha256=yK7aOUt_pFy8YQaEzXO6v5ZbKRSr9eAB9NpoD7gEyk4 18
ai21/version_utils.py sha256=UrTsYT8AFYp2QIWP5s27wjVDcG6KmjNXH6PHFO8jneI 411
ai21-3.0.1.dist-info/LICENSE sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ 11357
ai21-3.0.1.dist-info/METADATA sha256=2GrVcyqDv1ZVcFZPwKE0Kn9vyTV04AmltfAkC2j702Y 21393
ai21-3.0.1.dist-info/WHEEL sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs 88
ai21-3.0.1.dist-info/RECORD