OpenLLM Client: Interacting with OpenLLM HTTP/gRPC server, or any BentoML server.
Project description
📖 Introduction
With OpenLLM, you can run inference with any open-source large-language models, deploy to the cloud or on-premises, and build powerful AI apps, and more.
To learn more about OpenLLM, please visit OpenLLM's README.md
This package holds the underlying client implementation for OpenLLM. If you are
coming from OpenLLM, the client can be accessed via openllm.client
.
It provides somewhat of a "similar" APIs to bentoml.Client
(via openllm_client.benmin
) for interacting with OpenLLM server. This can also be extended to use with general
BentoML server as well.
[!NOTE] The component of interop with generic BentoML server will be considered as experimental that will/can be merged back to BentoML. If you are just using this package for interacting with OpenLLM server, nothing should change from
openllm.client
namespace.
import openllm
client = openllm.client.HTTPClient()
client.query('Explain to me the difference between "further" and "farther"')
📔 Citation
If you use OpenLLM in your research, we provide a citation to use:
@software{Pham_OpenLLM_Operating_LLMs_2023,
author = {Pham, Aaron and Yang, Chaoyu and Sheng, Sean and Zhao, Shenyang and Lee, Sauyon and Jiang, Bo and Dong, Fog and Guan, Xipeng and Ming, Frost},
license = {Apache-2.0},
month = jun,
title = {{OpenLLM: Operating LLMs in production}},
url = {https://github.com/bentoml/OpenLLM},
year = {2023}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for openllm_client-0.2.27-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf28e86dbd37927d2fef362ba4012510254275e7d80ba4acadb6fe66440a5b0f |
|
MD5 | 19094c38c57bb8a23b36dde3e93853e8 |
|
BLAKE2b-256 | 124826bfb7619bf8a453b0834a16629b85b966e02a09b9b8a546d257847e0088 |
Hashes for openllm_client-0.2.27-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d19f771c6984a1cfeaea311afa504003cc6bbdf62a448e88540f56acbfea721 |
|
MD5 | dcd99dfec204b8b11fa328a0382dc21a |
|
BLAKE2b-256 | aec039edd2d401b940c7f8cf636b4daa127a866b7dc58c8519b3a5b091ba9b96 |
Hashes for openllm_client-0.2.27-cp311-cp311-macosx_10_16_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcc384e626bdef01f1dd146e7a1c3c3736afde59e481af09268bf1e95259aeb6 |
|
MD5 | 87f8f510d923994882627f35f88c3859 |
|
BLAKE2b-256 | 7bc2e1745071f945d98d5c0901b49ab574f251bf1449f62ff25c4386ccb42e6f |
Hashes for openllm_client-0.2.27-cp311-cp311-macosx_10_16_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2c96a42d6911efe1246e48691e20456e91d0d26193034382ef98b13deac1bec |
|
MD5 | a515a63844a10e11d83d94912c4b6820 |
|
BLAKE2b-256 | 0d078345bff733eff8b36a263974bb83eff7d3f0d9c445c13f2fa6e84c3e5c0e |
Hashes for openllm_client-0.2.27-cp311-cp311-macosx_10_16_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b66af6e6688717a725d55de623d6c81eb4c735781825cd93f7a7ed090be0c55c |
|
MD5 | e07c6fcf474e17ef3e9e2b6e57651b19 |
|
BLAKE2b-256 | 32f85208fa2ae58bb8fe27ba0d87f002a0db9a096542a87e2c9a9063670ab27f |
Hashes for openllm_client-0.2.27-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bcd37809a4047dc04a303850a405daf359eb21277e2f5ad5569f0698323f6568 |
|
MD5 | a3ea49a0ec15c63ccbedf5b9e6fb059b |
|
BLAKE2b-256 | 74a9cf070e3d0ff9f79d15eb2bfa0437bdc2d31979e64f3f35400a35822dd29c |
Hashes for openllm_client-0.2.27-cp310-cp310-macosx_10_16_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 580717c534ef55b83bb9747651b640844c983c9ebf79b8d6d2b04d772648e3ed |
|
MD5 | 609c7554151cfdb99d2879a92d892cc3 |
|
BLAKE2b-256 | af8034b64d6ae4c5480ad0e5afcaa7481f92b4c7c74ba9eabca2365b08773a7b |
Hashes for openllm_client-0.2.27-cp310-cp310-macosx_10_16_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c9417d6e5251f11059cb413c860db0aa879af99cc441f7820a8e6d18358dc15 |
|
MD5 | edb0bcf5ba58d96cf009f632caa4eff3 |
|
BLAKE2b-256 | 920629004af6607f781809ebc4d5147b71867efa0aa5c77a17114dcd3272908e |
Hashes for openllm_client-0.2.27-cp310-cp310-macosx_10_16_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb0aba1d085b2070a25e7f7f49707d727db183030feddce540745bffac7fef46 |
|
MD5 | 96aeacd5344cb3e6603c8a264112a213 |
|
BLAKE2b-256 | c091d03639b63a5b1a1f36800824dec10045bf65d9cea470fbb700b26cdb9405 |
Hashes for openllm_client-0.2.27-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a657e783adc57501aaed890ae935e791f744ffdc5812242b832eec6b45bbc38b |
|
MD5 | d7523c50598fcdbbd691e7f6b697f5ba |
|
BLAKE2b-256 | e189ae69f7d7f1c520af0a5cefb7e6057cb7f30e8faadc87255ffb8c58d91dfd |
Hashes for openllm_client-0.2.27-cp39-cp39-macosx_10_16_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 025f7e689b6ef722e14336b2fecda4cc2d7acde7bca4cf4e6efb4b1ad2ffcec9 |
|
MD5 | a0af144407fcdb7d8be6dd5bb26be1de |
|
BLAKE2b-256 | fdd9298248ed102588414ce6becbe1417a97dc2e8e47d6e872cb395178f63776 |
Hashes for openllm_client-0.2.27-cp39-cp39-macosx_10_16_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67913486c53bb97f60778cc81d30ca0072971304a0bea115a8549fbfffff952d |
|
MD5 | 27597d6f42265f24724f42a91bd4a893 |
|
BLAKE2b-256 | 52f1c3bb8bd49c5095c9ac6357bd3cc57314feb53f3a3d1a45c53437175f0f0f |
Hashes for openllm_client-0.2.27-cp39-cp39-macosx_10_16_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19d25d976eb8d7470a5462482caa30cf901c0b1d8bafa33cc681875324ebef15 |
|
MD5 | 72c50481c5a642fe30b6fbbfd4220e7d |
|
BLAKE2b-256 | 61ce786c7822501b21269843a2b6c9d9503d1c015ec1e3d115e2bc7eff3340e8 |
Hashes for openllm_client-0.2.27-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b177c7ceda3c07204390844b4f0643c4289ca639b568beb728d8d41061dfa174 |
|
MD5 | 30d2fbffe155b1deaf2a7b144e7c41d5 |
|
BLAKE2b-256 | 58522213a3f7badfb8dc00526a9aebe8445706700edd428b17823515a84f69c1 |
Hashes for openllm_client-0.2.27-cp38-cp38-macosx_10_16_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 942c75144465fbd0452d8f76be265cfb293a026857089f7854effb9190fd0f7b |
|
MD5 | 61e7aa57860f8da156bafab9be85999d |
|
BLAKE2b-256 | 6acb8a1dd31338b3fe6212709862280aca19a67142d4bc5e5b11bb813e341e18 |
Hashes for openllm_client-0.2.27-cp38-cp38-macosx_10_16_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56a37653366e79b404dcac516bafc21a732c1fa54593fec7682db70e288b84ac |
|
MD5 | f705857b4a9a7e8b1fc5962feb826195 |
|
BLAKE2b-256 | 8e3e2cd66a66ad356cb3d3a83154b57cf836f755aeff85583c904e15134d64f6 |
Hashes for openllm_client-0.2.27-cp38-cp38-macosx_10_16_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e5f0c75454e558ecef6b4280fb611faed8a16b2cd7c440f29bb6150b76c5775 |
|
MD5 | 80c931f6e114ac2a996928e9fd72e101 |
|
BLAKE2b-256 | 18d35bd3c5b47ee05f10508b87bea8766ea58fa8c14804c1ddc74138e4716b62 |