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 Enterprise 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.
infoYou can upload certain text, image, and audio file types to a Collection. To learn more, see Supported file types.
-
In the Choose method list, select a method to import a Document(s).
- Upload documents
- Import from file system
- Import web pages
- Select a document
- Select a Collection
- Click Browse....
- Upload documents.
- In the Directory to import documents from box, enter a directory to import Documents from.
- In the Glob pattern to match files box, enter a global pattern to match the files (Documents).
- In the URL to import web pages from box, enter a valid URL.
- In the Search for a document list, select an imported Document.
- 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 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