The OpenAI_Connector is a reusable OutSystems component that enables seamless integration with OpenAI’s Embedding API, specifically leveraging the text-embedding-ada-002 model. This component is ideal for developers building AI-powered features such as semantic search, content clustering, recommendations, or Retrieval-Augmented Generation (RAG) systems.
text-embedding-ada-002
Generate Embeddings: Easily convert input text into numerical vector representations using OpenAI’s high-performance embedding model.
Configurable Settings: Use site properties to manage your OpenAI API key and model version, making the component flexible and secure.
Public Actions: Exposes clean, reusable server actions that can be directly used in your applications without dealing with raw API calls.
Integration-Ready: Designed to work well with external vector databases (like Pinecone, Weaviate, Qdrant, etc.) or internal data stores.
No Dependencies: This component is self-contained and does not rely on any external modules or libraries.
Install the component from the Forge.
Set your OpenAI API key via Site Properties.
Use the OpenAI_Embedding server action by passing input text.
Receive a float vector (embedding) in response, which can be stored or processed further.
Powering intelligent search bars that go beyond keyword matching.
Matching similar documents, questions, or products.
Grouping content by semantic similarity.
Enabling context-aware AI responses in RAG systems.
This component helps bring the power of modern AI into your OutSystems apps quickly and efficiently, without deep machine learning knowledge or API management overhead.