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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file llama_index_embeddings_oci_genai-0.2.0.tar.gz.
File metadata
- Download URL: llama_index_embeddings_oci_genai-0.2.0.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.13 Darwin/23.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9599993062ea18616f7cffdfa76099afe5c69556893f9cd8f6f7b622db3b319a
|
|
| MD5 |
f0b119a71f19a6fd12d004c134b3e6b9
|
|
| BLAKE2b-256 |
1d5f1514640be816790685c503e2d4bd980d0ea4d1589851e24f6e7bc6339b7e
|
File details
Details for the file llama_index_embeddings_oci_genai-0.2.0-py3-none-any.whl.
File metadata
- Download URL: llama_index_embeddings_oci_genai-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.13 Darwin/23.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
320b0ce85c10c9db43cca523b6781a685260f95e289e38f59b1012d7d01ca701
|
|
| MD5 |
221a051b897f213af45c2daa8255dbde
|
|
| BLAKE2b-256 |
95ed5561278def775f95b2b6650c9e01d23c982bfa72ebb15d2c5c63a06a9b8c
|