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.3.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.3-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.3.tar.gz.

File metadata

File hashes

Hashes for llama_index_llms_oci_genai-0.6.3.tar.gz
Algorithm Hash digest
SHA256 385437e2599e79381676b93e23bd10e87beb61cf5ed0252ef6da1f045c345f65
MD5 8ea4a606216025f88a8704f68da862f1
BLAKE2b-256 7b1e4aba209f11f62c2b8494a4524d05856d8f4359cf9a1c82e7b9371cffbb2c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_llms_oci_genai-0.6.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ab2001b77dc32d05acbbe1d0c310d0df58600d4b03ddd167a0be58cb30e772b2
MD5 5c4f9f3f2c9bd1671c59a8c4e9a4b03f
BLAKE2b-256 13b258cbace9a51aa7fa4f7b92164dd68d1f5617b5be07969deb30d7832b509b

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