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 fetches metadata for references of a specific chat message. It is useful when you want to retrieve detailed information about the references linked to a particular message within a chat session, especially messages generated by an AI language model (LLM). This can help in understanding the context or sources that influenced the LLM's response.

Practical examples:

  • Retrieving citations or source documents referenced by an AI-generated chat message.
  • Auditing or analyzing the provenance of information provided in a chat conversation.
  • Enhancing chat interfaces by showing users additional metadata about message references.

Properties

Name Meaning
Message ID The unique identifier of the chat message for which to fetch reference metadata.
Additional Options Optional parameters to customize the request:
- Limit Maximum number of reference results to return (default is 50).

Output

The output JSON contains metadata about the references associated with the specified chat message. This typically includes details such as reference identifiers, types, and possibly content summaries or links related to the references. The exact structure depends on the API response but generally provides comprehensive information about each reference connected to the message.

No binary data output is indicated for this operation.

Dependencies

  • Requires an API key credential for authentication to the external service.
  • The base URL for API requests is configured from the credential's URL.
  • The node sends HTTP GET requests to the endpoint /messages/{message_id}/references with optional query parameters.

Troubleshooting

  • Invalid or missing Message ID: Ensure the "Message ID" property is correctly set and corresponds to an existing chat message.
  • API Authentication errors: Verify that the API key credential is valid and has sufficient permissions.
  • Empty response: If no references are returned, it may indicate that the message has no references or is not an LLM-generated message.
  • Limit parameter issues: Setting the limit too high might cause performance issues or API rate limiting; use reasonable values.

Links and References

  • Refer to the external API documentation for chat message references metadata for detailed schema and usage.
  • Consult your API provider's authentication and permission guides to ensure proper setup.

Discussion