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.5.0.tar.gz (11.8 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.5.0-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for llama_index_llms_oci_genai-0.5.0.tar.gz
Algorithm Hash digest
SHA256 f46022176cb5c2c500be9b60cd80716308d179e2672446b05a77a196ecc032b1
MD5 2721ee0504e915e86c1e3331ae04f8c5
BLAKE2b-256 26af2e4aed07b0917dcf5d8a350f3370b3a752d6a094bfba824baa67e1f0f85c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_llms_oci_genai-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 49af885ce268909515342f11e194939ed736303d063df5c367db3e7f6a3b05f1
MD5 97cf89cc5897ec08976738ed9c21057f
BLAKE2b-256 efb5df054186f70d73b9f005c6942978b7945c0779ec96dff020363caf17e2a6

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