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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for llama_index_embeddings_oci_genai-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb49d3b353c4c42e75fc32573499fddaba7a3b2cb4164ed3e36497b895975532 |
|
MD5 | ad5cffccef33a52c4837eceae336eb64 |
|
BLAKE2b-256 | 258a814e3d3d663ed0cdea55b0bdd3929e9632ef272189439cae8f583f760643 |
Close
Hashes for llama_index_embeddings_oci_genai-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77bd488c8071175bb100dd58c08a5b60e844735b7b5de4ec0f2f7cf00704cabd |
|
MD5 | 8c02ed1d80dcdff530a2c7d805d1d62b |
|
BLAKE2b-256 | 1c8b7d4c411f89218f9d967397534fb140eb21d10da0dfbd27ad57a4141a61c0 |