kani

View on PyPIReverse Dependencies (4)

1.2.3 kani-1.2.3-py3-none-any.whl

Wheel Details

Project: kani
Version: 1.2.3
Filename: kani-1.2.3-py3-none-any.whl
Download: [link]
Size: 93838
MD5: 5af9a2c121afbbaa91f01307b0fe6054
SHA256: aa9a12fd2108f64e39d7df99196d81420d1163716e38ba8114e065a985154201
Uploaded: 2024-11-14 18:37:20 +0000

dist-info

METADATA

Metadata-Version: 2.3
Name: kani
Version: 1.2.3
Summary: kani (カニ) is a lightweight and highly hackable framework for chat-based language models with tool usage/function calling.
Author-Email: Andrew Zhu <andrew[at]zhu.codes>, Liam Dugan <ldugan[at]seas.upenn.edu>, Alyssa Hwang <ahwang16[at]seas.upenn.edu>
Project-Url: Homepage, https://github.com/zhudotexe/kani
Project-Url: Bug Tracker, https://github.com/zhudotexe/kani/issues
License: MIT License Copyright (c) 2023-present Andrew Zhu Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.10
Requires-Dist: pydantic (<3.0.0,>=2.0.0)
Requires-Dist: anthropic (<1.0.0,>=0.27.0); extra == "all"
Requires-Dist: huggingface-hub; extra == "all"
Requires-Dist: llama-cpp-python (<1.0.0,>=0.2.0); extra == "all"
Requires-Dist: openai (<2.0.0,>=1.26.0); extra == "all"
Requires-Dist: protobuf; extra == "all"
Requires-Dist: sentencepiece (<1.0.0,>=0.1.99); extra == "all"
Requires-Dist: tiktoken (<1.0.0,>=0.7.0); extra == "all"
Requires-Dist: transformers (<5.0.0,>=4.28.0); extra == "all"
Requires-Dist: anthropic (<1.0.0,>=0.27.0); extra == "anthropic"
Requires-Dist: huggingface-hub; extra == "cpp"
Requires-Dist: llama-cpp-python (<1.0.0,>=0.2.0); extra == "cpp"
Requires-Dist: transformers (<5.0.0,>=4.28.0); extra == "huggingface"
Requires-Dist: protobuf; extra == "llama"
Requires-Dist: sentencepiece (<1.0.0,>=0.1.99); extra == "llama"
Requires-Dist: openai (<2.0.0,>=1.26.0); extra == "openai"
Requires-Dist: tiktoken (<1.0.0,>=0.7.0); extra == "openai"
Provides-Extra: all
Provides-Extra: anthropic
Provides-Extra: cpp
Provides-Extra: huggingface
Provides-Extra: llama
Provides-Extra: openai
Description-Content-Type: text/markdown
[Description omitted; length: 14307 characters]

WHEEL

Wheel-Version: 1.0
Generator: hatchling 1.26.3
Root-Is-Purelib: true
Tag: py3-none-any

RECORD

Path Digest Size
kani/__init__.py sha256=AI_kblHDLC8-4RQV-oF4JowBW07RO5c7sGi_umuVbjI 569
kani/_version.py sha256=C-D_WWrVkBDmQmApLcm0sWNh2CgIrwWfc8_sB5vvU-Q 22
kani/ai_function.py sha256=jHxUVIu5uq-JxdU5rWI9gs_RbqmeyJN4JKEBvQzGj-Y 7264
kani/exceptions.py sha256=SV3mo6ePBNaeRFyEdUOxawaD1UdHzLRWG1Tl4XBGbuw 2305
kani/internal.py sha256=eK93Y_93DB520VQootCfnH1PLnP_8RzvAgA-oOu5UJw 1177
kani/json_schema.py sha256=UibTxSdeTi48dZ0gQS-H1lKItekuTkEYp32IhFQyLJk 6513
kani/kani.py sha256=iFzNZsLShlBEPqywFFmpyGcP7MQihNRQ-NdhBhzFMH8 29137
kani/models.py sha256=vwOBdoGNSzaWzHo2JWVpCMgICBEVN4699sQvrST4qvA 12182
kani/streaming.py sha256=Wf-8iwqZlolaB7IbC1qY9cA7essUsVTqRrk5u-uGObI 6522
kani/engines/__init__.py sha256=XcKf6DlNsmNYSVCdUyTn5WnGlMWXTwfjCz5rLjw_qXs 56
kani/engines/base.py sha256=7WwkP4Z3_CKmLDToQkE9b0ReBCGWbU9QgmrQ0CbXkvE 7078
kani/engines/httpclient.py sha256=-272Qw-OIzAwUmdlsvWmCnHq9cRh_aSbGlBufu-zOfo 4274
kani/engines/mixins.py sha256=GM_5OEYAgkBcvIALfHd0MOOyqiqzrOiVs28eE0tCvDs 1249
kani/engines/anthropic/__init__.py sha256=ZaFqLJsVHmfmBvu0IWCgVdVILQ7VpHCyBLoMxvBzj-I 36
kani/engines/anthropic/engine.py sha256=LSV7-gIfgnCky7b5dPtZ1CDyj5BZbW6SBiIOxsKPb7c 12410
kani/engines/huggingface/__init__.py sha256=Ky1aDnC_fXM8YIDoH-MXv_aq8UPCDN6hyBNm56v3gag 32
kani/engines/huggingface/__main__.py sha256=lZtehZHSCqlbVXtCkPKpNYfqEvh6ta53-KduQ7ZqWnU 566
kani/engines/huggingface/base.py sha256=dSNOS6rzBa9axFep_fb06clly-SXA71ijilOsq2C7Yw 14073
kani/engines/huggingface/chat_template_pipeline.py sha256=eUDC4G1AR1XiPX8z5Xh93G3KOQo0Y9jYUu-AxejrTmY 12366
kani/engines/huggingface/cohere.py sha256=wYpugvbUN1XWE--KgOnEZHunavCqzMkeXYwWZ9tFFFA 10983
kani/engines/huggingface/llama2.py sha256=XqUWnbrBuXkXnUwGcbH6T7fLJU_XdWCQf96OwKuCEeo 3751
kani/engines/huggingface/vicuna.py sha256=T-7toZg1KsJtf8ScruIMUV9e8AI_vmncOkzzfmbukdM 1849
kani/engines/llamacpp/__init__.py sha256=sIZVl7ACsrEyDwW2IwkzgHHEufrkeALaCW8DCQzHNpg 33
kani/engines/llamacpp/base.py sha256=ciOlLOni9CcPQrm4_0uZOiIhZFYyedSQFn_-bJQoyy0 7876
kani/engines/openai/__init__.py sha256=Mnz09gT8fXgaKjYLVVwziHb3Fk3HNn2PMW6WW5spS-g 33
kani/engines/openai/engine.py sha256=8DHfghvWakj_hIT3dI1OGdTwWm2PZbv_PEP-3GyHHWI 10562
kani/engines/openai/function_calling.py sha256=LQa_WZFTaQZEjh1aSfdIPiqJU0I8AMKTb6s96gho1Nk 3191
kani/engines/openai/translation.py sha256=iSrpPVl4i9daZPsT1u6yy4yJrXqmAljBjh8WNvxtIVc 5455
kani/prompts/__init__.py sha256=hy7UsHWE-RN5ZUXXV8GbaTxl9qdOMnRzZNA-zXNdK1M 297
kani/prompts/base.py sha256=UxJ0oFlQv9j0yxBCcqf0n4Cs-XQRT4Wtyx58qfrsQk8 3548
kani/prompts/docutils.py sha256=Eplpp2QsJDoiyuT-jz6GC4KLzJtz8dLMoPtZ7ay0lg8 952
kani/prompts/examples.py sha256=_RgMieuTfWn583F_jmEyEL4q2xqE5g0HBR7D_eSZBKw 4161
kani/prompts/pipeline.py sha256=tEvYlwMZkMzijAvYS7qN0Wv-gF8U7g5ZrDMJ55zJcXw 21702
kani/prompts/steps.py sha256=fraHzlw1EjXtjPazpkalbpaaO1U8nv51AbE--qBRbkY 17932
kani/prompts/types.py sha256=m9nDamF_9Lv2565-gO2IimUhimh-0ZE451fcg4UHiKY 1876
kani/prompts/impl/__init__.py sha256=ojEzcJiibogB1u8PA4DfkbHr1E1Ma12W7ZWF7o3TkNI 278
kani/prompts/impl/cohere.py sha256=68tmRpgUHtmSO9WYbHBT2jsIfIXClFAHeWeU1w3u-Cg 15047
kani/prompts/impl/gemma.py sha256=UVfpos6eilJhkCtaXQgvd28LAR19PuxF6Uaie9f9GQI 1513
kani/prompts/impl/llama2.py sha256=aEraiD206hcuWgqkj_tCGbewN4nnmCE9mlMwO5PGaIQ 1417
kani/prompts/impl/llama3.py sha256=KaquwYlOXkVWH267k4cHEe1u2738MRC6p2DtiJKXKC8 1460
kani/prompts/impl/mistral.py sha256=c-zeQorCRHUiUNlrRcD_3dqN3nJOCfR0tDH5bGL_7N4 12100
kani/prompts/impl/vicuna.py sha256=6vpwdgSseAbo4fYuI8jfELypjyUbGw5Y5_varZ7R3C4 570
kani/utils/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
kani/utils/cli.py sha256=dKGKrGaH9KO4QFUJb6Pnqi0GAzla2izjUL1u8CINRMQ 8886
kani/utils/message_formatters.py sha256=8WXhLfJoOGbqWTX0FOfC8fVdZJPVQxDXDwGy76IYNrA 2236
kani/utils/typing.py sha256=t-x99sl4z5OTW6CIiHDzPcPnUmXu3m8uZrfJQsoxvr4 228
kani-1.2.3.dist-info/METADATA sha256=jiKDvktcbf0b4vgOjMHOnRI407ojibmYDUQQAGcNaWo 17428
kani-1.2.3.dist-info/WHEEL sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug 87
kani-1.2.3.dist-info/licenses/LICENSE sha256=iKL69dWh9tpHBrm4dL8ZxP9lzav9X0drgJGD-6OBIGA 1075
kani-1.2.3.dist-info/RECORD