Cross-Provider Workflow

NVIDIA NIM Embeddings to Airtable Vector Store

Version 1.0.0

Create a text embedding with NVIDIA NIM, then store the vector in Airtable.

1 workflow 2 source APIs 2 providers
View Spec View on GitHub ArazzoWorkflowsCross-Provider

Providers Orchestrated

nvidia-nim airtable

Workflows

embed-and-store
Generate an NVIDIA NIM embedding and store it in Airtable.
Sends text to NVIDIA NIM embeddings, captures the returned vector, and writes a record to Airtable holding the source text and the embedding.
2 steps inputs: baseId, model, tableIdOrName, text outputs: recordId, vector
1
create-embedding
$sourceDescriptions.nvidiaNimApi.createEmbedding
Generate a vector embedding for the supplied text.
2
store-vector
$sourceDescriptions.airtableApi.createRecords
Store the source text and embedding in an Airtable record.

Source API Descriptions

Arazzo Workflow Specification

ai-nvidia-embeddings-to-airtable-workflow.yml Raw ↑
arazzo: 1.0.1
info:
  title: NVIDIA NIM Embeddings to Airtable Vector Store
  summary: Create a text embedding with NVIDIA NIM, then store the vector in Airtable.
  description: >-
    A cross-provider AI enrichment chain that generates a vector embedding for a
    chunk of text using NVIDIA NIM's embeddings endpoint and persists the
    resulting vector into an Airtable record. Demonstrates building a lightweight
    embedding store across two providers in one Arazzo workflow.
  version: 1.0.0
sourceDescriptions:
  - name: nvidiaNimApi
    url: https://raw.githubusercontent.com/api-evangelist/nvidia-nim/refs/heads/main/openapi/nvidia-nim-embeddings-api-openapi.yml
    type: openapi
  - name: airtableApi
    url: https://raw.githubusercontent.com/api-evangelist/airtable/refs/heads/main/openapi/airtable-airtable-api-openapi.yml
    type: openapi
workflows:
  - workflowId: embed-and-store
    summary: Generate an NVIDIA NIM embedding and store it in Airtable.
    description: >-
      Sends text to NVIDIA NIM embeddings, captures the returned vector, and
      writes a record to Airtable holding the source text and the embedding.
    inputs:
      type: object
      properties:
        text:
          type: string
        model:
          type: string
        baseId:
          type: string
        tableIdOrName:
          type: string
    steps:
      - stepId: create-embedding
        description: Generate a vector embedding for the supplied text.
        operationId: $sourceDescriptions.nvidiaNimApi.createEmbedding
        requestBody:
          contentType: application/json
          payload:
            model: $inputs.model
            input: $inputs.text
            input_type: passage
        successCriteria:
          - condition: $statusCode == 200
        outputs:
          vector: $response.body#/data/0/embedding
      - stepId: store-vector
        description: Store the source text and embedding in an Airtable record.
        operationId: $sourceDescriptions.airtableApi.createRecords
        requestBody:
          contentType: application/json
          payload:
            records:
              - fields:
                  Text: $inputs.text
                  Embedding: $steps.create-embedding.outputs.vector
        successCriteria:
          - condition: $statusCode == 200
        outputs:
          recordId: $response.body#/records/0/id
    outputs:
      vector: $steps.create-embedding.outputs.vector
      recordId: $steps.store-vector.outputs.recordId