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 allows you to create a new Collection within the h2oGPTe system, which is an AI-powered search assistant designed for internal teams. Collections are used to group related documents together, making it easier to organize and manage large volumes of content such as documents, websites, and workplace data. Creating collections helps in structuring your data for efficient search, retrieval, and AI-driven interactions.

Common scenarios where this node is beneficial include:

  • Organizing documents by project, topic, or department.
  • Grouping research papers, reports, or manuals for easy access.
  • Preparing datasets for AI models that require contextual grouping.
  • Managing collections of FAQs or knowledge base articles for internal support.

Practical example:

  • You want to create a collection named "My sci-fi library" with a description "Collection of my favourite sci-fi books" to organize all your science fiction documents and notes in one place for quick AI-assisted querying.

Properties

Name Meaning
Name The name of the collection (e.g., "My sci-fi library").
Description A description of the collection's purpose or contents (e.g., "Collection of my favourite sci-fi books").
Additional Options Optional settings for the collection, including:
- Embedding Model The embedding model to use for the collection (e.g., "BAAI/bge-large-en-v1.5").
- Collection Settings JSON object specifying additional configuration settings for the collection.
- Chat Settings JSON object specifying chat-related settings for the collection.

Output

The node outputs the response from the API call that creates the collection. This typically includes details about the newly created collection such as its unique identifier, name, description, and any other metadata returned by the service.

The output is structured as JSON in the json field of the node's output. It contains the full response data from the creation request, which can be used downstream for further processing or reference.

No binary data output is involved in this operation.

Dependencies

  • Requires an API key credential for authenticating with the h2oGPTe API.
  • The node sends a POST request to the /collections endpoint of the configured h2oGPTe instance.
  • The base URL for the API is derived from the provided credentials.
  • Proper network connectivity to the h2oGPTe API server is required.

Troubleshooting

  • Missing Required Fields: If "Name" or "Description" is not provided, the API will likely reject the request. Ensure these fields are filled.
  • Authentication Errors: If the API key credential is invalid or missing, authentication will fail. Verify the API key setup.
  • Invalid JSON in Additional Options: If the JSON fields for collection or chat settings are malformed, the API may return errors. Validate JSON syntax before sending.
  • API Endpoint Unreachable: Network issues or incorrect base URL configuration can cause connection failures. Check the URL and network access.
  • Permission Issues: The user associated with the API key must have permission to create collections.

Links and References

Discussion