Generate Embeddings
In these examples, you can see how to generate one or more vector embeddings from an input text string.
The resulting embeddings are vector representations of the input data, and capture the semantic meaning or context of that data.
- Convert Text String to Embedding Within Oracle Database
Perform a text-to-embedding transformation by accessing a vector embedding model stored in the database. - Convert Text String to BINARY Embedding Outside Oracle Database
Perform a text-to-BINARY
-embedding transformation by accessing a third-partyBINARY
vector embedding model. - Convert Text String to Embedding Using Public REST Providers
Perform a text-to-embedding transformation, using publicly hosted third-party embedding models by Cohere, Google AI, Hugging Face, OpenAI, Vertex AI, or Generative AI. - Convert Text String to Embedding Using the Local REST Provider Ollama
Perform a text-to-embedding transformation by accessing open LLMs, using the local host REST endpoint provider Ollama.
Parent topic: Vector Generation Examples