Generated Python client libraries for the Open Inference Protocol using protocol definitions tracked in the open-inference/open-inference-protocol/ repository.
This repository contains generated Python source code and build scripts for Open Inference Protocol client code as two separate PEP-420 namespace packages. The Open Inference Protocol has OpenAPI and gRPC specifications, and are installable independently of each other - choose the preferred transport mechanism for your application.
pip install open-inference-openapi
Install from GitHub
pip install 'open-inference-openapi @ git+https://[email protected]/open-inference/python-clients@openapi/v2.0.0#subdirectory=packages/open-inference-openapi'
See packages/open-inference-openapi
pip install open-inference-grpc
Install from GitHub
pip install 'open-inference-grpc @ git+https://[email protected]/open-inference/python-clients@grpc/v2.0.0#subdirectory=packages/open-inference-grpc'