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.4.2.tar.gz (6.2 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.4.2.tar.gz.

File metadata

File hashes

Hashes for llama_index_embeddings_oci_genai-0.4.2.tar.gz
Algorithm Hash digest
SHA256 fa67a2a196d4c00854e711f5647becfb4c8707e1dd77abe0206b4ea8415b3e8e
MD5 1f887ea9d28038ab619babe85fda42a3
BLAKE2b-256 a6e8d30faba734e2ac5c916cc94ac1674b24f20183e03e542be51cbf598664bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_embeddings_oci_genai-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 16c16e04f612135e529f5753d844cbed3783648a9a6f5cd3c4ce2ce3200cafe2
MD5 c75d98adfd23de6fd9f0130c08bace6a
BLAKE2b-256 1da54785716c77e29a1c901edc4dd5b5c06f2fb484859b894b198fff994b3174

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