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

File metadata

File hashes

Hashes for llama_index_embeddings_oci_genai-0.4.1.tar.gz
Algorithm Hash digest
SHA256 0fb337e3d6ad64bf50d685f59363abb5ce5c96720b1ad63c1a92eb007f69e763
MD5 579905abd28f953cc4eb6392b2d6fe90
BLAKE2b-256 134728d51e56cb0816d0ba53a6cb03b199c660e863ab3649848d3e1ea567a30e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_embeddings_oci_genai-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 70a154f840538f87fd75a8e51827338eaa366edcb3f068115711496bd35f8da9
MD5 496b16a3d043435d4ed8e568d3718fb7
BLAKE2b-256 fbf271a33e24bccc067cb10d7a356d409a9aebe98c6b524afe6e286074e4e866

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