LlamaIndex Llms Integration: Oracle Cloud Infrastructure (OCI) Generative AI
Oracle Cloud Infrastructure (OCI) Generative AI is a fully managed service that provides a set of state-of-the-art, customizable large language models (LLMs) that cover a wide range of use cases, and which are available through a single API. Using the OCI Generative AI service you can access ready-to-use pretrained models, or create and host your own fine-tuned custom models based on your own data on dedicated AI clusters.
Installation
pip install llama-index-llms-oci-genai
You will also need to install the OCI sdk
pip install -U oci
Usage
from llama_index.llms.oci_genai import OCIGenAI
llm = OCIGenAI(
model="MY_MODEL",
service_endpoint="https://inference.generativeai.us-chicago-1.oci.oraclecloud.com",
compartment_id="MY_OCID",
)
Metadata
Release files for llama-index-llms-oci-genai 0.8.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| llama_index_llms_oci_genai-0.8.0.tar.gz | 14.0 kB | Without provenance | Details for llama_index_llms_oci_genai-0.8.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llama_index_llms_oci_genai-0.8.0-py3-none-any.whl | Python 3 | none | any | Details for llama_index_llms_oci_genai-0.8.0-py3-none-any.whl |
Total release size: 28.5 kB
Release files / llama_index_llms_oci_genai-0.8.0.tar.gz
| Download URL | llama_index_llms_oci_genai-0.8.0.tar.gz |
|---|---|
| Size | 14.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9cf3a5cb2f8302199ce8f6a44e10199da9af33965c7600efb747efae40c9026d
|
|
BLAKE2b-256 checksum How to use checksums |
c0250663d0bd55df526c2afc52551857d87a552a50d1216f7bf21370931f4761
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / llama_index_llms_oci_genai-0.8.0-py3-none-any.whl
| Download URL | llama_index_llms_oci_genai-0.8.0-py3-none-any.whl |
|---|---|
| Size | 14.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
30198c2291097e458d5382ee12cbe4b269a5ea6c1c75f7d83221fb6a18db0057
|
|
BLAKE2b-256 checksum How to use checksums |
aa0ed1fa111f0f1fe84af26ca20429e87c22251bb951562793beab4e04692048
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for llama-index-llms-oci-genai 0.8.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.