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.
To learn how to create a Collection, see Create a Collection.
Instructions​
To add a Document(s) to a Collection, consider the following instructions:
-
In the h2oGPTe navigation menu, click Collections.
-
In the Collections table, select the name of the Collection you want to add a Document(s).
-
Click + Add documents.
infoFor more information, see Supported File Types.
-
Depending on the selected Method, consider the following instructions:
- Upload documents
- Import from file system
- Import web pages
- Select existing document
- Select an existing Collection
- In the Choose method list, select Upload documents.
- Click Browse....
- Upload documents.
- In the Choose method list, select Import from file system.
- In the Directory to import documents from box, enter
- In the Glob pattern to match files box, enter
- In the Choose method list, select Import web pages.
- In the URL to import web pages from box, enter a valid URL.
- In the Choose method list, select Select a document.
- In the Search for a document list, select an existing Document from another Collection.
- In the Choose method list, select Select a collection.
- In the Search for a collection list, select an existing Collection.
noteAll Documents from the selected Collection will be imported into the new Collection.
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.
-
Click Add.
- If, after adding a Document(s), you no longer want h2oGPTe to crawl or index (Job) the Document(s), you can terminate the Job. To learn more, see Terminate a job.
- 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.
- Submit and view feedback for this page
- Send feedback about Enterprise h2oGPTe to cloud-feedback@h2o.ai