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.6.1.tar.gz (12.4 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.6.1-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for llama_index_llms_oci_genai-0.6.1.tar.gz
Algorithm Hash digest
SHA256 4ac3126c5e9eb753d0225f1e9ad3ef16d6624e65ec76619bc9aece680caa8e6f
MD5 22721777ba13c69785e7481c680ca0ed
BLAKE2b-256 b24fb022a8e347ccb90b061519e42cf32954c56e3fd3da965baca584a9cdc5b8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_llms_oci_genai-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 add4870734f33a3c3154c7afde74caa093170827d72c103d9e8d63e82515106f
MD5 2b31632ea60fd889017dff5424014198
BLAKE2b-256 a2f8830fe4e7e9c4613e49400adb2dd54dd1781f39dd1ae3ff468bffe6c26f8c

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