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.4.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.6.4-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for llama_index_llms_oci_genai-0.6.4.tar.gz
Algorithm Hash digest
SHA256 0a306f6d3d516520dfdddaa958021c6a3fd57c79332fed354578a8d9af241eb8
MD5 9a7d9b48855619947aeb4b67d743a95b
BLAKE2b-256 5e0c53a1bdde525e7501b7ff4def9ecc797b06a2d387322057a6c928eeecd8d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_llms_oci_genai-0.6.4-py3-none-any.whl
Algorithm Hash digest
SHA256 880bb23b25878455a9c5b4bbd7e791cf4850ae19d76a92b34855dd49e51e85e8
MD5 0dac0b4bc7db1454c2ca1038e5e620a9
BLAKE2b-256 b72da3685f193925d74c84bf1cac8544b3f6a49f7886eb188c312cc32ab1e00b

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