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.2.tar.gz (12.4 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.2-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.2.tar.gz.

File metadata

File hashes

Hashes for llama_index_llms_oci_genai-0.6.2.tar.gz
Algorithm Hash digest
SHA256 b5f0ce2899fad136a144c036d50c6ae370f4bfef87b58403efb2206bdd28aa54
MD5 d7f5ddaf0152e218eec65e7c7372d67a
BLAKE2b-256 e886dd17598c086253acbb0636ae887eafd1b19f441831f4bace8410776575fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_llms_oci_genai-0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1eab45e4cba8a506d936866acbcf00c5aaeb2811efc686bd355aa9102ff67cc0
MD5 d0e700d49a32fe349b28bf739e154b56
BLAKE2b-256 b28227fa27120130fc1200499d63d3b5ef3cf2594265fffd6f72c3df8bbe2803

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