Skip to main content
Version: Next

Create a Collection

Overview

A Collection (that is, a group of related Documents) lets you aggregate Documents in one location. You can utilize Collections to group particular sets of material (content) to later explore individually through Chats (asking questions to a Collection).

note

There are many strategies for importing and creating collections so that you get the best responses for your use case. For guidance on how to use collections, see Collections usage overview.

Instructions

The following steps describe how to create a Collection.

  1. On the Enterprise h2oGPTe navigation menu, click Collections.

  2. Click + New collection. New Collection

  3. In the Collection name box, enter a name for the Collection.

  4. In the Description box, enter a description for the Collection.

    note

    If the Description box is left empty, the system will auto-generate a description based on the uploaded documents, configurable prompts, and the number of chunks of the Collection.

  5. In the Embedding model list, select an embedding model.

    note
    • Enterprise h2oGPTe supports 3 embedding models:
      • English (bge-large-en-v1.5)
      • Multilingual (bge-m3)
      • English legacy (instructor-large)
    • You can select an embedding model only once, when creating a new Collection.
  6. In the PII Detection list, select a PII Detection. To learn about the PII Detection setting and its options, see PII Detection.

  7. In Number of tokens per chunk, set the number of tokens per Document chunk.

    note

    Larger values lead to better ability to retrieve large contiguous pieces of information. Smaller values lead to better ability to retrieve fine-grained information.

  8. In the Prompt template list, select a prompt template to customize the prompts used for the Collection.

  9. To add a Document(s) to the Collection, click Browse files... or drag and drop the files into the Add documents section.

    Add documents with collection

    info

    You can upload certain text, image, and audio file types to a Collection. To learn more, see Supported file types.

    note

    To learn how to add more Documents to a Collection, see Add a Document(s) to a Collection.

  10. Click Create.


Feedback