unifai

View on PyPIReverse Dependencies (0)

0.0.2 unifai-0.0.2-py3-none-any.whl

Wheel Details

Project: unifai
Version: 0.0.2
Filename: unifai-0.0.2-py3-none-any.whl
Download: [link]
Size: 106799
MD5: 814e219546c316c3533cbf6a60900027
SHA256: ec35ed10d6db369e8385b8c665265f52c120530a0e76250addf64223aef13b15
Uploaded: 2024-10-22 18:20:07 +0000

dist-info

METADATA

Metadata-Version: 2.1
Name: unifai
Version: 0.0.2
Summary: Unify AI clients into a single interface with enhanced Tool Calling support.
Author: Lucas Faudman
Author-Email: Lucas Faudman <lucasfaudman[at]gmail.com>
Home-Page: https://github.com/LucasFaudman/unifai.git
Project-Url: Homepage, https://github.com/LucasFaudman/unifai.git
Project-Url: Repository, https://github.com/LucasFaudman/unifai.git
License: MIT License Copyright (c) 2024 Lucas Faudman 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. --- Commercial License Terms Copyright (c) 2024 Lucas Faudman This software is dual-licensed under the MIT License (see above) and the following terms for commercial use. 1. Commercial Use: If you intend to use this software in a commercial product or service, you must obtain a commercial license from the author. Commercial use includes, but is not limited to, integrating the software into proprietary applications, reselling the software, or offering it as part of a paid service. 2. Obtaining a Commercial License: To obtain a commercial license, please contact LucasFaudman.com. Licensing fees and terms will be negotiated on a case-by-case basis. 3. Support and Warranty: The commercial license may include support and warranty terms that are not available under the MIT License. Details will be provided upon licensing agreement. 4. Modifications and Derivative Works: Under the commercial license, you are allowed to modify and create derivative works of the software. However, these modifications must comply with the terms set out in the commercial license agreement. 5. Liability and Indemnity: The author is not liable for any damages arising from the use of the software under the commercial license. The licensee agrees to indemnify and hold harmless the author from any claims or liabilities resulting from the use of the software in commercial applications. For further inquiries and licensing, please contact: Lucas Faudman LucasFaudman@gmail.com LucasFaudman.com
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.10
Requires-Dist: pydantic
Requires-Dist: anthropic; extra == "anthropic"
Requires-Dist: chroma; extra == "chroma"
Requires-Dist: cohere; extra == "cohere"
Requires-Dist: pytest; extra == "dev"
Requires-Dist: google-generativeai; extra == "google"
Requires-Dist: ollama; extra == "ollama"
Requires-Dist: openai; extra == "openai"
Requires-Dist: pinecone; extra == "pinecone"
Requires-Dist: rank-bm25; extra == "rank-bm25"
Requires-Dist: sentence-transformers; extra == "sentence-transformers"
Provides-Extra: anthropic
Provides-Extra: chroma
Provides-Extra: cohere
Provides-Extra: dev
Provides-Extra: google
Provides-Extra: ollama
Provides-Extra: openai
Provides-Extra: pinecone
Provides-Extra: rank_bm25
Provides-Extra: sentence_transformers
Description-Content-Type: text/markdown
License-File: LICENSE
[Description omitted; length: 86 characters]

WHEEL

Wheel-Version: 1.0
Generator: setuptools (75.2.0)
Root-Is-Purelib: true
Tag: py3-none-any

RECORD

Path Digest Size
unifai/__init__.py sha256=CFOBdRYHkou1jKmmrSnn75XODiGPLVhUZkf0bAamAWQ 585
unifai/client/__init__.py sha256=59WtLL4Ustx-2ShdYlX93fIEgRzlRTr8q49oXlrBnSw 104
unifai/client/agent.py sha256=hiBcBP6jXHdEKOwUO8wH5YPOfck2AohIG0n07BuPh-c 736
unifai/client/ai_func.py sha256=UMFsQxEh-LtMwNVB_QYVNvNfFLjFx4DRs-1lW8TJrA4 5870
unifai/client/chat.py sha256=nVuVOOoIDe56X6d8cZnzYF-PoaHhyQAgHBadccbTWvw 22046
unifai/client/client.py sha256=QPosucs4MhCJJ4hvcWDPNy-RBu6hidRkg1gV1QQ9tCg 24821
unifai/client/rag_engine.py sha256=3G732Giggq0Vv4G8Plf263AWO1WdvH5xBlEV7x5w1v4 3515
unifai/client/specs.py sha256=lO1xT2dWwjg9ql6OjZkzS-RoBlD6IxhPPVAGY6Mv6YI 5005
unifai/components/__init__.py sha256=1y-_gJIpRTf3J_OldoDdpUm6Ch8qreQJoI06VKfHFCA 621
unifai/components/_base_component.py sha256=BBWmx3AtxzvKv68DT5Tq_iXbH2pVBwIUVAN1HkvKU_g 2182
unifai/components/concurrent_executor.py sha256=FDaqjS6vJ0CjyI-3wE4kKRrR1a2ae5jxozZ6JfDnDVc 6753
unifai/components/import_component.py sha256=-2t2wRXfFBUQKeYaIqe2Xi-dPlFHEkEA5G3uiNWMADo 5071
unifai/components/prompt_template.py sha256=JYsolwbXePav3JLulBJNdPQpJGblYj84xhnBxxQzbOI 5537
unifai/components/base_adapters/__init__.py sha256=DCxWYx2i6sulzbTeytB2BS-2KLkCECLqo6vVN85p7kY 40
unifai/components/base_adapters/_base_adapter.py sha256=UysO1LtL4bJDul3P8UDw6vYGc7IHpMIQpY6QNP0b_G4 1075
unifai/components/base_adapters/anthropic_base.py sha256=HQX6IUvut83fOHpUEVpqk9DCGYzTiCaPFClW9vWQZBQ 2715
unifai/components/base_adapters/chroma_base.py sha256=NjUtxMkZ7loOCecU0q8WyZWuIFSXuXVCnMNegBd6JH8 2599
unifai/components/base_adapters/cohere_base.py sha256=suCICZJGF3fVyjV5nz4-2c6kuEYVn1IlmDj-Dhu-9Mw 1516
unifai/components/base_adapters/google_base.py sha256=vORQlTFS2veFzEjIMXxqd3hEnlbLK8EY5CRgTKdsb54 2587
unifai/components/base_adapters/nvidia_base.py sha256=pRulD-7DDmCtcaOWIO-j1M_9mibxnS6-uDGcrYqh-mo 2843
unifai/components/base_adapters/ollama_base.py sha256=JK57t0rY-6a75SnXjQnTy639Ri6TplPt6tB3HvG5RwM 2476
unifai/components/base_adapters/openai_base.py sha256=at1rjBUE6gAHD7j7gl-FID5jsLqycBQljR5tkrchd2w 2896
unifai/components/base_adapters/pinecone_base.py sha256=U15KaniomvuDmjmVnzFgTJVXHzWQz0xAGfahNZT5gPM 1945
unifai/components/base_adapters/sentence_transformers_base.py sha256=b_PIUNR9TrDx1STsBDCeuS_Z3b1pSVvhuk8BDJ10ddU 1001
unifai/components/document_dbs/__init__.py sha256=e8kU51v58UKxrD9AieUe1fwmj7KRbRNTVHOZVOs_D6s 95
unifai/components/document_dbs/_base_document_db.py sha256=1bS9Z9mJ5ZwG7Dpzdq-vuE_OQpT9VDh3de90F-_Ba9Y 1293
unifai/components/document_dbs/dict_doc_db.py sha256=zqUwiONQ7U69V0aO8gyO5f-reSOTI0OX0Eh0bhLSsr4 1570
unifai/components/document_dbs/sqlite_doc_db.py sha256=O_i3ch0F34ciy69Pfkxiz7mteABC94nQ9G6I0AnEJcY 3439
unifai/components/embedders/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
unifai/components/embedders/_base_embedder.py sha256=SDWQWjACFVkABbYZnbqAZbaU-8JXrw7bVhYUZKGueIs 7661
unifai/components/embedders/cohere_embedder.py sha256=iXu4NpI0v3lT7tbRr5F-U_dqvWz7c-hbiiUfuRlq18E 3324
unifai/components/embedders/google_embedder.py sha256=OB2AGB8HAlF-k4e9lBF-nNPP9jqlF4TKGSvm4baoNkw 4481
unifai/components/embedders/jina_embedder.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
unifai/components/embedders/nvidia_embedder.py sha256=TdoDjNX0jMGYOnk4WjzGI4FryUiNqURajIhr4E5WlXI 2722
unifai/components/embedders/ollama_embedder.py sha256=UWufQUGs7kQcA5a5uJKhzT4tsCBp0XYHdJt89LTsUyQ 1596
unifai/components/embedders/openai_embedder.py sha256=Sl33nJvTuXoa_UC1M9MuOz1Pzw6v_Nh0ehirFGPvH4Q 1790
unifai/components/embedders/sentence_transformers_embedder.py sha256=-apOMT8pGI_4BaJnZlz9lgDhasKjcGyVl_Ziw0Nny84 1805
unifai/components/embedders/voyage_embedder.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
unifai/components/llms/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
unifai/components/llms/_base_llm_client.py sha256=AFVuflmrmzyOypD_M4wZ7Dnd2U3Vu7QRAtPyN1UpySU 9470
unifai/components/llms/anhropic_llm.py sha256=N3_rd3ReNPpEZi1OhOPbyAi_9eioN5TnDXyVnFoRUZ4 14455
unifai/components/llms/google_llm.py sha256=knkiqpBPxY0os1G7yrFvqj77JMtHW3gMg3v_FXc9xnE 13684
unifai/components/llms/nvidia_llm.py sha256=bn8eBWrPn9HcA38Ysh_0l0UJKJ0pjzb8W0BR0GYUqy8 3368
unifai/components/llms/ollama_llm.py sha256=UTR74LRmGfemDwsdRh5kycX8nebSjIac8c4StSyjDuY 13900
unifai/components/llms/openai_llm.py sha256=5Qvqh21QK14n7sNIUwToLkjxtmNMKOPaPE_3i7KZK-A 13877
unifai/components/output_parsers/__init__.py sha256=UlThl80tvBe0TysMKhxgmLiO5g5PJkIOdrIjrOdVl3M 155
unifai/components/output_parsers/json_output_parser.py sha256=hhsNG2rvVUoz1NCIFZz2UOO7t5rVlDM_ylDThJtcm-U 601
unifai/components/output_parsers/pydantic_output_parser.py sha256=rRWcK8t82J3JbUE0au6zq-S7afPjNhaumgJ2BPbrZPA 1756
unifai/components/rerankers/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
unifai/components/rerankers/_base_reranker.py sha256=wAFHloqNa3xf18H0tROe-o9Cp6HxxL-WWFiGf8CE1m8 2065
unifai/components/rerankers/cohere_reranker.py sha256=bHR_W0VFGlFGxXa9Q1bFufe4sMQp3cJDOX_m-oWc0ts 1432
unifai/components/rerankers/nvidia_reranker.py sha256=c1I1OOsYkSy-XjFw2PPXSR93pubQ31-rJ1XEinvQPyY 2611
unifai/components/rerankers/rank_bm25_reranker.py sha256=laKNNZPnqexwCrQwgBKXNLs6p96PZgARQuGBdcTtJ0Y 2137
unifai/components/rerankers/sentence_transformers_reranker.py sha256=EqbJSCI814v-zO87Th04iUiOQMJL-ZqUZomnkMxtbvo 1915
unifai/components/retrievers/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
unifai/components/retrievers/_base_retriever.py sha256=EOf5tqYT-_uRKlT9K3iasDYM0UsTDcVTHp8BetyolV4 739
unifai/components/retrievers/_base_vector_db_client.py sha256=Ir-vkgBHBFBW0oIh0CPd8Oa30GdjgtOenRjPxBqwTqs 11631
unifai/components/retrievers/_base_vector_db_index.py sha256=qXFUvjOUhDEloEVSHWvSg6zwS_Cak2nBLQGvgJyCqWM 7471
unifai/components/retrievers/chroma_client.py sha256=n7mcvsDLVM_wsumKE8mrelg0k4GFEg1B7bxVqWlzeqg 5811
unifai/components/retrievers/chroma_index.py sha256=YZekrZJkQJEz0CQkir8SAjLAOz4WKWUUPZvNkPMykeA 7341
unifai/components/retrievers/pinecone_client.py sha256=P7IutkASsV1OyLOvyXXOfSDaD9JFMsaoIrEj6R3Zi5k 6290
unifai/components/retrievers/pinecone_index.py sha256=DXP5vJSW1TLuIHLLrWMvy4yMbPUw88zDDgQfPTs9Wyo 12088
unifai/components/tool_callers/__init__.py sha256=FtqS0XMRnslGL7IT6Vg-HL4qOQcXhgWyVoroEHc8a50 92
unifai/components/tool_callers/concurrent_tool_caller.py sha256=sB_mRfd3_p-Dap3gxCWMpRz-1xxLOqiPYJ0X5u5kt1Y 2238
unifai/components/tool_callers/tool_caller.py sha256=I0LAuqs3AIHuxmmKjGKhJlprAtURqmUVIc_xhzsCY-w 3611
unifai/exceptions/__init__.py sha256=jEP6Qyj_k0d0n7_rO610NTGIw2pCI4nLRQK36z2p03U 2894
unifai/exceptions/_base.py sha256=CByWE8YKtdXM-T3sN58VqMqZg8cCxVY3btb-NAUCNj4 377
unifai/exceptions/api_errors.py sha256=8SwncOxpXXq-ua-ePGxtS8uWSdH4MGxM5OKm9j0Bhg0 6493
unifai/exceptions/embedding_errors.py sha256=osvnro22XCpbtXjj3furUHy53CKoMpcPl7bnGM2PhHU 713
unifai/exceptions/eval_errors.py sha256=MISsze8iwWMtLBg-H2Uk9NmjinA15PzHkM-ULKG_53I 209
unifai/exceptions/feature_errors.py sha256=RaZRGF83hyoJHPgJ0qmG1AOTYZHLP5VKJByNybvTUB4 461
unifai/exceptions/tool_errors.py sha256=WQwYwzmdByUKOZ1d7H9L8Nmu4u4z8Uu6Wu1K3fjT_iU 2383
unifai/exceptions/usage_errors.py sha256=85KwfrYKBmuA0imhNDFUQUQ1zHJHbSwxSnOEPplaydQ 226
unifai/exceptions/vector_db_errors.py sha256=2mdzZpxBwyyJYpfgJ-oyMsGp_8bauBA4uY9OHEtpYVQ 1513
unifai/type_conversions/__init__.py sha256=70YIRk9LQG0qWQwN3VpThVK8KY4fT5ROSGCUidApDE8 786
unifai/type_conversions/construct_tool_parameter.py sha256=W3GyzASMuhqKwRvOtaDsInO4nBEEhYXGU8g_JFBM9GI 7184
unifai/type_conversions/standardize.py sha256=K0lCMNcBfbHBmcmOakJPFGfhCZKCsp1dGvCODdZ4v60 3522
unifai/type_conversions/stringify_content.py sha256=OI0vTQr1P5OE2uYyOEhwU_Gw71aREXd3xLi-8Mlmt08 1211
unifai/type_conversions/tool_decorator.py sha256=FtOvEMdxhZ2mGWKl-7Z6uhaMqu1ZZ3K1fXeWVZ3Lyyo 1870
unifai/type_conversions/tool_from_dict.py sha256=iVZ9V7fbcUWy2uywnUJc6YLg7NFbhHEyCroZ8uajI44 1452
unifai/type_conversions/tool_from_func.py sha256=wO8FYGYmW96d_MesnxJ_HV51siRaplCKQgGYm0aI0cY 4798
unifai/type_conversions/tool_from_openapi.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
unifai/type_conversions/tool_from_pydantic.py sha256=ho93VeCVBqFC4KWmfDqdT96kzgh_3IWlKoQ8A9_rGPU 1871
unifai/types/__init__.py sha256=IEc0AoQYjPci6QT3DGqwJf1794m8k-s9sqylNu9brcA 1746
unifai/types/embeddings.py sha256=hMQFs2yYcxlumJXz1gpKeyGoteUc43bpIgphJtadm6w 3407
unifai/types/image.py sha256=a4KpC9GldGUfFiosqqc0vFKp6JpcxngEYWycASRSkGM 6200
unifai/types/message.py sha256=Oq4Ko9J8I8KpfpAFJVgkiBRRJIZVlKAUPeYjdGcumoI 605
unifai/types/response_info.py sha256=M4eNttgUDG0iD6v1VQXJcvLQzJgWfD1fkSLeAWRCXVY 858
unifai/types/tool.py sha256=GFqIBRzNle0D1PzYiC6P8h_rhfHhGeH4WBpsxQnS30U 2787
unifai/types/tool_call.py sha256=VWXrsXUVIU3Wuv9nICXPiYRwgsKiefjjRbMre5d1Vxs 262
unifai/types/tool_parameters.py sha256=qJULD6w57H41Wa2aaeGsNLN-inKQWfS1FfoQjg6UoAs 5519
unifai/types/valid_inputs.py sha256=8Ye-ShuaB0H4xhMa1qBKhpD6Kc7bRirooOLZkG3EZPA 2077
unifai/types/vector_db.py sha256=fxLMZNxiTwqRt8SY-LGHUq7LoBSy6b-tGPtVXMtRxj4 2015
unifai-0.0.2.dist-info/LICENSE sha256=ELEnaRwSjefrerv3JnpX_ecAXYAV0GHzzuVxwWzphQw 2561
unifai-0.0.2.dist-info/METADATA sha256=GvOqRmUkgd_8ZwltkwO8YREaYUYIZZFRpqLeuUSanHU 4742
unifai-0.0.2.dist-info/WHEEL sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA 91
unifai-0.0.2.dist-info/top_level.txt sha256=VaYC6Ja-oxiSDyTvgQWkmia5p75YfVjzKxkNM7u8ly4 7
unifai-0.0.2.dist-info/RECORD

top_level.txt

unifai