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

File metadata

File hashes

Hashes for llama_index_embeddings_oci_genai-0.3.1.tar.gz
Algorithm Hash digest
SHA256 bc1869a2e9c34479f5b09e34ec5722c25500f9b2ddc0312475ce00825a76cf8e
MD5 d70792aff8ff3cc8d65e4d9db5802bc3
BLAKE2b-256 e6809302a8938b8b9521b818afcd422d6fb490e650afcce001ed32eea4415dc7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_embeddings_oci_genai-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 07db16b1a6ee5c6c7eaff02f92690ccfcac03d6e2c4817a0019b7bd3329db95f
MD5 1aacdd358521f5b060a421e9218f040f
BLAKE2b-256 01f17fd4712f51f4f2aed883a1c65c28d493587fd16afd99001d8cb85dbfb812

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