Skip to main content

llama-index llms OCI GenAI integration

Project description

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",
)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llama_index_llms_oci_genai-0.7.0.tar.gz (14.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llama_index_llms_oci_genai-0.7.0-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

Details for the file llama_index_llms_oci_genai-0.7.0.tar.gz.

File metadata

  • Download URL: llama_index_llms_oci_genai-0.7.0.tar.gz
  • Upload date:
  • Size: 14.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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}

File hashes

Hashes for llama_index_llms_oci_genai-0.7.0.tar.gz
Algorithm Hash digest
SHA256 6d119237c9854ca45e39fbb093ae15fd705fb1d876570dc29434bec7f40667ba
MD5 68e8b93ec4bb987ac2222c641c43ddbc
BLAKE2b-256 c5e5cc497ed89c1e39d62b23d123b1872a601d36d204634a72652b946f02f4ab

See more details on using hashes here.

File details

Details for the file llama_index_llms_oci_genai-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: llama_index_llms_oci_genai-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 14.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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}

File hashes

Hashes for llama_index_llms_oci_genai-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4f6eced99d96e6300f4dee9a2fc70234c70aaef07263c3eee15cd0c12a32be54
MD5 887dda7370a7651f3f015af4d3a15d4a
BLAKE2b-256 019923fdf84ef93ffb77708cf2987091e130d830bf2c2ba9881b61cb3f1f42ca

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page