Skip to main content
Version: v1.6.0-dev28 🚧

Add a Document(s) to a Collection

Overview​

A Collection can contain multiple Documents. Added documents are indexed and stored in a database. When you ask a question about the Document(s), h2oGPTe crawls through the indexed Document(s) in the Collection to find relevant content to answer the question while utilizing the H2O LLM to summarize a concise question response. You can add documents while creating a Collection or after creating a Collection.

note

To learn how to create a Collection, see Create a Collection.

Instructions​

To add a Document(s) to a Collection, consider the following instructions:

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

  2. In the Collections table, select the name of the Collection you want to add a Document(s) to.

  3. Click + Add documents. 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 for a Collection.

  4. In the Choose method list, select a method to import a Document(s).

    Methods
    1. Click Browse....
    2. Upload documents.
    note
    • Toggle the Create short document summaries button to auto-generate a summary of your document.
    • Toggle the Create sample questions for documents button to receive auto-suggested sample questions based on your document.
    • From the Spoken language in audio files dropdown list, select the language spoken in the uploaded audio files.
    • From the OCR model dropdown, select the OCR (Optical Character Recognition) model to identify and extract text from images and PDFs.
  5. Click Add.

note
  • If you try to add an empty Document, the indexing of the files will fail. Overall, the Job associated with the Collection will fail.
  • To learn how to Chat with a Collection, see Chat with a Collection.

Feedback