Document Search

The more context and details you add, the better your response because the model understands precisely what you expect. Do not miss our Prompt Engineering Guidearrow-up-right to learn how to write great prompts.

Document search is one tool the AI models have. You can add documents by either uploading them, through drag and drop, or by selecting a file from an integration (how to set up integrations can be read herearrow-up-right). When you attach a document to a chat, document search automatically kicks in.

Document search extracts text from files, such as PDFs, Word documents, or PowerPoint presentations. The document’s text gets sent to the AI model along with your prompt, allowing it to answer questions based on the actual content. See a list of all supported file types herearrow-up-right.

Use cases for working with documents:

  • Summarizing texts

  • Asking questions about a document

  • Analyzing the files

circle-info

When you attach a document to a chat, document search automatically extracts and includes the text from the document in the model prompt, enabling the model to answer questions grounded in that content.

circle-exclamation

Related: