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

File metadata

File hashes

Hashes for llama_index_embeddings_oci_genai-0.4.0.tar.gz
Algorithm Hash digest
SHA256 ff5bab0751dd8233fe8d56005a716c3befee67e996adc37d390ea7fe340bc2db
MD5 89fec515ecbc160cbbe723a75fa5e55d
BLAKE2b-256 2e9efc1dbfdfdefc3ffc06e7cb9d780b8a4b66d9ece84711fc130f89914b76b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_embeddings_oci_genai-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 14168bfff800f855d27f8c2f7c220af9a5ff2fb058cd56ab2434f4647fc9b44c
MD5 31c5888d5c0cd8d9e28fa8cf4d06b1a7
BLAKE2b-256 15ac90f88fa9ab9e1a3f5faa430e12965b4ea923b30e0a4c803329101b14b03d

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