On the documents page, enter your natural language question in the generative AI search box.
The top five documents are listed in the generative AI section, which is populated with additional information in the table section.
GenAI section
It contains the top 5 documents that are most relevant to your natural language question.
For each selected document in the answer section, there are two parts: answer and document snippet, which is the actual text of the document that closely relates to your question. It's most likely to have the answer, which is an AI-assisted response based on the selected document.
To generate an answer, click Generate.
Click View Document to open the selected document. For PDFs, the document snippet is highlighted in the opened document.
Table section
The table section contains the top documents from the GenAI section with some additional information.
In the filename column, you can find the details on the document schema and last updated time.
The Summary column contains the actual text of the document, which closely relates to your natural language question. This is similar to the documents snippet part of the generative AI section.
The Confidence Score column is a metric from 0 to 1, with higher scores indicating greater relevance to a search query.
Use generative AI for select-document analysis
You can also use the search box to answer and summarize your questions for specific documents.
On the documents page, select documents on the table for which you want to ask questions. The Search option now appears as Ask to indicate that you enter the Q&A mode.
Enter your natural language question. A generative AI section appears near the search box that contains a single summarized answer from the selected documents.
A dropdown menu appears on the document snippet part within the GenAI section, which contains the actual text from each selected document that closely relates to the entered question and is most likely to contain the answer.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-25 UTC."],[[["\u003cp\u003eDocument AI Warehouse will be discontinued on January 16, 2025, requiring users to migrate their data to an alternative like Cloud Storage before this date to avoid data loss.\u003c/p\u003e\n"],["\u003cp\u003eThe generative AI search feature allows users to enter natural language questions to find the top five most relevant documents, with AI-assisted responses based on the selected documents.\u003c/p\u003e\n"],["\u003cp\u003eThe document search feature provides both an answer and a document snippet, highlighting the specific text within the document most relevant to the user's question.\u003c/p\u003e\n"],["\u003cp\u003eUsers can analyze specific documents by selecting them and entering natural language questions, which will produce a summarized answer and relevant snippets from the chosen documents.\u003c/p\u003e\n"],["\u003cp\u003eA confidence score is provided for each document in the table, indicating its relevance to the search query, with higher scores representing a greater match.\u003c/p\u003e\n"]]],[],null,["# GenAI search in Google Cloud console\n\n| **Caution** : Document AI Warehouse is deprecated and will no longer be available on Google Cloud after January 16, 2025. To safeguard your data, migrate any documents currently saved in Document AI Warehouse to an alternative like Cloud Storage. Verify that your data migration is completed before the discontinuation date to prevent any data loss. See [Deprecations](/document-warehouse/docs/deprecations) for details.\n\n\u003cbr /\u003e\n\n|\n| **Preview**\n|\n|\n| This feature is subject to the \"Pre-GA Offerings Terms\" in the General Service Terms section\n| of the [Service Specific Terms](/terms/service-terms#1).\n|\n| Pre-GA features are available \"as is\" and might have limited support.\n|\n| For more information, see the\n| [launch stage descriptions](/products#product-launch-stages).\n| This feature is subject to the [Data Processing and Security\n| Terms](/terms/data-processing-terms) and the [GenAI Trusted Tester Terms of Service](/trustedtester/aitos).\n\n\u003cbr /\u003e\n\n| **Note:** You can **report suspected abuse** of the service or any generated output that contains inappropriate material or inaccurate information [through this form](https://support.google.com/code/contact/cloud_platform_report).\n\nBefore you start\n----------------\n\n1. Make sure that your project was provisioned with **Question \\& Answering** enabled. See the [Quickstart Guide](/document-warehouse/docs/genai-quickstart) for instructions.\n\n2. Follow the [steps to ingest documents](/document-warehouse/docs/gcc-upload-documents) for [LLM-based search](/document-warehouse/docs/llm-search) into Document AI Warehouse.\n\nUse generative AI for document search\n-------------------------------------\n\n- On the [documents page](https://console.cloud.google.com/ai/docai-warehouse/documents), enter your natural language question in the **generative AI search box**.\n\n- The top five documents are listed in the generative AI section, which is populated with additional information in the table section.\n\n### GenAI section\n\n- It contains the top 5 documents that are most relevant to your natural language question.\n- For each selected document in the answer section, there are two parts: `answer` and `document snippet`, which is the actual text of the document that closely relates to your question. It's most likely to have the answer, which is an AI-assisted response based on the selected document.\n\n1. To generate an answer, click **Generate**.\n2. Click **View Document** to open the selected document. For PDFs, the document snippet is highlighted in the opened document.\n\n| **Note:** AI assisted answer is generated by default for the top document.\n\n### Table section\n\n- The table section contains the top documents from the GenAI section with some additional information.\n- In the filename column, you can find the details on the document schema and last updated time.\n- The **Summary** column contains the actual text of the document, which closely relates to your natural language question. This is similar to the documents snippet part of the generative AI section.\n- The **Confidence Score** column is a metric from 0 to 1, with higher scores indicating greater relevance to a search query.\n\n### Use generative AI for select-document analysis\n\nYou can also use the search box to answer and summarize your questions for specific documents.\n\n1. On the [documents page](https://console.cloud.google.com/ai/docai-warehouse/documents), select documents on the table for which you want to ask questions. The **Search** option now appears as **Ask** to indicate that you enter the Q\\&A mode.\n\n2. Enter your natural language question. A generative AI section appears near the search box that contains a single summarized answer from the selected documents.\n\n3. A dropdown menu appears on the document snippet part within the GenAI section, which contains the actual text from each selected document that closely relates to the entered question and is most likely to contain the answer."]]