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.2.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.2.0.tar.gz.

File metadata

File hashes

Hashes for llama_index_embeddings_oci_genai-0.2.0.tar.gz
Algorithm Hash digest
SHA256 9599993062ea18616f7cffdfa76099afe5c69556893f9cd8f6f7b622db3b319a
MD5 f0b119a71f19a6fd12d004c134b3e6b9
BLAKE2b-256 1d5f1514640be816790685c503e2d4bd980d0ea4d1589851e24f6e7bc6339b7e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_embeddings_oci_genai-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 320b0ce85c10c9db43cca523b6781a685260f95e289e38f59b1012d7d01ca701
MD5 221a051b897f213af45c2daa8255dbde
BLAKE2b-256 95ed5561278def775f95b2b6650c9e01d23c982bfa72ebb15d2c5c63a06a9b8c

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