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.0.tar.gz (12.3 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.0-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.0.tar.gz.

File metadata

File hashes

Hashes for llama_index_llms_oci_genai-0.6.0.tar.gz
Algorithm Hash digest
SHA256 42a384cac0a62a914b25f5e46df908aadf2d282b6ef3def8c2f2fe1ceb8d400b
MD5 e78ed76b7720b9d71d5eb4a973c83062
BLAKE2b-256 0d2b57b1985f62c1a1b3c8f05d2f49896f11e27f0a91f245c89cecf91a249ba9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_llms_oci_genai-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0cf5188f9e5b409636b68c1514fa938de45cc363d6cc8d646f5ef75dd746bef2
MD5 b7d9c8612304e1989ae46cb24ab7eb03
BLAKE2b-256 485ac207fe4bc282e4ba5c2a23b31e9efc3c313e94ea760706ceebff4caa58e1

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