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.4.0.tar.gz (11.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.4.0-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: llama_index_llms_oci_genai-0.4.0.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.11 Darwin/24.1.0

File hashes

Hashes for llama_index_llms_oci_genai-0.4.0.tar.gz
Algorithm Hash digest
SHA256 f6e535485c93a31ecc5d750c3f37bce6148e05e46fc734a4ad576bbe834a2616
MD5 e35b143a90ea5cce6a1621f41f776ab3
BLAKE2b-256 2c49c47cef7f0919f69c54245c4a5bf4dafb5556a29ccd6b9edbbb70e4b479b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_llms_oci_genai-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9f95eb95b401c84bb3489fe2d88f78062add1206d10fa634421cf987c4d808e1
MD5 fc136df1c11db7de31e64d8500ba9b24
BLAKE2b-256 047a634f0434c0caa9d3d54c792d02ca71e15ba3de1dbcf3542a8d872d551aaa

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