JigsawStack icon

JigsawStack

Use JigsawStack API

Actions20

Generate Embedding → Generate Embedding

AI-generated

Overview

This node interacts with the JigsawStack API to generate embeddings from various types of content such as text, URLs, or files. It supports different content types including audio, image, PDF, and text. The node is useful for scenarios where you need to convert content into vector embeddings for tasks like semantic search, machine learning, or natural language processing.

Use Case Examples

  1. Generating text embeddings for a document to enable semantic search.
  2. Creating embeddings from an image URL for image similarity analysis.
  3. Processing a PDF file to extract and embed its content for downstream AI tasks.

Properties

Name Meaning
Embedding Source Specifies the source of the content to generate embeddings from, such as text, URL, or a file store key.
Text The text content to generate embeddings for, used when Embedding Source is 'Text'.
URL A URL pointing to the resource to generate embeddings for, used when Embedding Source is 'URL'.
File Store Key A key referencing a previously uploaded file in storage, used when Embedding Source is 'File Store Key'.
File Content Direct content of a file to generate embeddings for.
Type The type of content being processed, such as audio, image, PDF, text, or other text types.
Token Overflow Mode Determines the behavior when the input exceeds token limits, either to error out or truncate the input.
Request Options Settings for request behavior including batching, SSL certificate validation, proxy configuration, and timeout settings.

Output

JSON

  • embedding - The generated embedding vector or data from the input content.

Dependencies

  • JigsawStack API key credential

Troubleshooting

  • Ensure the API key credential is correctly configured and valid to avoid authentication errors.
  • Check that the input content matches the specified type and source to prevent processing errors.
  • If token overflow errors occur, consider adjusting the Token Overflow Mode or reducing input size.
  • Verify network settings such as proxy and SSL options if requests fail due to connectivity issues.

Links

Discussion