This example pipeline demonstrates how to generate vector embeddings for sample data.
-
Configure the JSON Generator Snap to pass your input data.
Note: In this example, we use the JSON Generator Snap. However, you can
replace the JSON Generator Snap with any Snap of your choice, such as the
Chunker,
Constant,
File Reader, or
S3 File Reader Snaps.
-
Configure the Azure OpenAI Embedder Snap to generate
embedding vectors for input data based on the Deployment ID, batch size, and input
document.
On validation, you can view the input data processed into embedded vectors in the
output preview.
Azure OpenAI Embedder Snap
configuration |
Azure OpenAI Embedder Snap output |
|
|
Note: After generating the vector embeddings, you can store the embeddings into a vector database.
To successfully reuse pipelines:
- Download and import the pipeline into the SnapLogic Platform.
- Configure Snap accounts, as applicable.
- Provide pipeline parameters, as applicable.