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.3.0.tar.gz (7.2 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.3.0-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: llama_index_llms_oci_genai-0.3.0.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.10 Darwin/22.3.0

File hashes

Hashes for llama_index_llms_oci_genai-0.3.0.tar.gz
Algorithm Hash digest
SHA256 43b0d93c5bccae2c302d310d88f8480ef23964d9533a7791509ab11fe99a1d31
MD5 74d4db2beac8e8366404b45fcac06227
BLAKE2b-256 2a0396d47a9d800100c8d76a14e1cfbc0401c3af9b9d1963cc9734e9492713c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_llms_oci_genai-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ef6deb9ef480c7c5b0ac11f7397f5d55b75ed5ea070f3432b176bda28e96fd26
MD5 c89bf6c501571aa70b9fd5fa52f76a70
BLAKE2b-256 cb2242a3e9c9422f1c114880488facf8650c91cd943d3d2318206f8f5cf9678b

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