Skip to main content
This doc will help you get started with OCI Generative AI embedding models. Oracle Cloud Infrastructure (OCI) Generative AI provides state-of-the-art embedding models for text and images, enabling semantic search, RAG, clustering, and cross-modal applications. For detailed documentation, see the OCI Generative AI documentation and API reference.

Overview

Integration details

Model features

Setup

Set up authentication:

Instantiation

Usage

Build semantic search over technical documentation:
Use cases: Code search, documentation Q&A, log analysis, duplicate detection

Image Embeddings

Search visual assets with text queries using multimodal embeddings:
Use cases: Technical diagram search, asset management, visual documentation retrieval

Available Models

See the OCI model catalog for all models.

RAG Example

The langchain-community package is no longer maintained. Examples that import from langchain_community may be outdated or broken. Use with caution.

Async

Async operations for production use:

API Reference

For detailed documentation of all OCIGenAIEmbeddings features and configurations, head to the API reference.