h2oGPTe icon

h2oGPTe

h2oGPTe is an AI-powered search assistant for your internal teams to answer questions gleaned from large volumes of documents, websites and workplace content.

Actions198

Overview

This node operation retrieves a single Prompt Template by its unique identifier (ID) from the H2O GPT Enterprise API. It is useful when you want to fetch detailed information about a specific prompt template that can be used for generating or managing AI prompts within your workflows.

Typical use cases include:

  • Fetching a prompt template to review or modify it.
  • Using the prompt template details as input for other operations or nodes.
  • Integrating prompt templates into automated content generation or AI-driven processes.

For example, if you have stored multiple prompt templates and need to retrieve one by its ID to send it to an AI model or display its details, this operation provides a direct way to do so.

Properties

Name Meaning
Prompt Template ID The unique identifier of the prompt template to retrieve. This is a required string input.

Output

The output of this node operation is the JSON response from the API containing the details of the requested prompt template. The structure typically includes fields such as the prompt template's name, description, language, system prompts, query prompts, summary prompts, and other metadata related to the prompt template configuration.

If the prompt template includes any binary data (e.g., images), it would be represented accordingly, but this operation primarily returns JSON metadata about the prompt template.

Dependencies

  • Requires an API key credential for authentication with the H2O GPT Enterprise API.
  • The base URL for the API is configured via credentials and is used to construct the request endpoint.
  • No additional external dependencies are needed beyond proper API access.

Troubleshooting

  • Missing or invalid Prompt Template ID: Ensure that the "Prompt Template ID" property is provided and corresponds to an existing prompt template in the system.
  • Authentication errors: Verify that the API key credential is correctly configured and has sufficient permissions to access prompt templates.
  • Network or connectivity issues: Check network access to the configured API endpoint.
  • API errors: If the API returns an error (e.g., 404 Not Found), confirm that the prompt template ID exists and is accessible by the authenticated user.

Links and References

Discussion