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.1.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.5.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.5.1.tar.gz.

File metadata

File hashes

Hashes for llama_index_llms_oci_genai-0.5.1.tar.gz
Algorithm Hash digest
SHA256 cfc071b4c0b367b41cd7360f535cf2666a22f9fa8faea631f4c7b4e20722d43e
MD5 0e9ce68c5b0be2c3b660160fdbbb9e88
BLAKE2b-256 a6d3eea354b301f489a336ee0d235ae01637363c4acc108f1cdec806192af18c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_llms_oci_genai-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ac68e61af8c422c7c1089b673a94157e71fad855842fb12d9fe127dc0cc58b6f
MD5 7becab5c7725a7c9cef711e8e1aaa911
BLAKE2b-256 ddb2965dffbed5d232c2f24851175a6cb871f4ce974c300a77c62ac9961d9b19

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