Dataiku DSS icon

Dataiku DSS

Use the Dataiku DSS API

Actions364

Overview

This node integrates with the Dataiku DSS API, enabling users to perform a wide range of operations on Dataiku DSS resources directly from n8n workflows. Specifically for the LLM Mesh resource and the Perform Embeddings on a LLM operation, it allows you to generate embeddings using a large language model (LLM) available in a Dataiku project.

Common scenarios where this node is beneficial include:

  • Generating vector embeddings for text data to enable semantic search or similarity comparisons.
  • Integrating Dataiku's LLM capabilities into automated workflows for natural language processing tasks.
  • Enriching datasets with embeddings for downstream machine learning or analytics.

Example use case:

  • You have a collection of documents and want to create embeddings for each document to later perform similarity searches or clustering. This node can call the Dataiku LLM mesh embedding endpoint to generate those embeddings automatically.

Properties

Name Meaning
Project Key The key identifier of the Dataiku project containing the LLM mesh resource.
Request Body JSON object representing the request payload sent to the LLM embeddings API endpoint.

The Request Body property should contain the parameters required by the LLM embeddings API, such as the input texts to embed and any additional options supported by the API.

Output

The node outputs the response from the Dataiku DSS API call in the json field of the output items. For the embeddings operation, this typically includes the generated embeddings vectors and related metadata returned by the API.

If the response contains binary data (not typical for embeddings), it will be provided in the binary field with appropriate file naming.

Dependencies

  • Requires an active connection to a Dataiku DSS instance.
  • Requires valid API credentials for the Dataiku DSS API (an API key credential).
  • The node expects the Dataiku DSS server URL and user API key to be configured in the credentials.

Troubleshooting

  • Missing Credentials Error: If the node throws "Missing Dataiku DSS API Credentials," ensure that you have configured the API key credential correctly in n8n.
  • Required Parameter Errors: The node validates required parameters like Project Key before making requests. Make sure all mandatory fields are filled.
  • API Request Failures: Network issues or incorrect API keys may cause request failures. Check connectivity and credential validity.
  • Invalid JSON in Request Body: The Request Body must be valid JSON. Invalid JSON will cause errors.
  • Unexpected Response Format: If the API changes or returns unexpected data, parsing errors might occur. Review the API documentation and update the request accordingly.

Links and References


This summary focuses on the LLM Mesh resource and the Perform Embeddings on a LLM operation, describing how the node constructs the API request, handles authentication, and processes the response.

Discussion