Skip to main content

llama-index embeddings oci-genai integration

Project description

LlamaIndex Embeddings 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-embeddings-oci-genai

You will also need to install the OCI sdk

pip install -U oci

Usage

from llama_index.embeddings.oci_genai import OCIGenAIEmbeddings

embedding = OCIGenAIEmbeddings(
    model_name="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_embeddings_oci_genai-0.3.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

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

File metadata

File hashes

Hashes for llama_index_embeddings_oci_genai-0.3.0.tar.gz
Algorithm Hash digest
SHA256 e60f8f70379816cb431ecca2e1410cc1c2f28990bfa0ed867db6e11e61327040
MD5 dfd145d5400e0259f89715708e295f90
BLAKE2b-256 73eca8c2a7fb5fe332c5eb8354734879cb683259195a602276aa0b55448b7376

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_embeddings_oci_genai-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4bcded93ea955376ccfc660e32c9ccff0dc03af8bfbc634ac2f9dcdd9266ac7a
MD5 49205e803405c63ff48b13989b373dce
BLAKE2b-256 24372cb45df800ad046e31b05f9c02e4b62441e6ff3141ac40f086ac1fa1cb43

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