Embeddings DeepInfra

Use BAAI/bge-m3 embeddings via DeepInfra

Embeddings DeepInfra

AI-generated

Overview

This node provides embeddings generation using the BAAI/bge-m3 model via the DeepInfra API. It is useful for transforming text data into vector embeddings for applications like semantic search, recommendation systems, or natural language processing tasks. Users can input text or arrays of text to receive corresponding embeddings.

Use Case Examples

  1. Generating vector embeddings for documents to enable semantic search.
  2. Creating embeddings for queries to find similar content in a dataset.

Properties

Name Meaning
Connection Info Collection of connection-related options including API key and model selection.

Output

JSON

  • response
    • embedDocuments - Function to generate embeddings for document inputs, returning an array of embeddings.
    • embedQuery - Function to generate embeddings for query inputs, returning an embedding or array of embeddings.

Dependencies

Troubleshooting

  • Ensure the API key is correctly provided and valid to avoid authentication errors.
  • Check network connectivity to the DeepInfra API endpoint to prevent request failures.
  • Verify the input data format is either a string or an array of strings to avoid processing errors.

Links

Discussion