Ask Questions About Documents
Use the Playground to find information in a document collection or ask about a file attached to your conversation. Bunyan retrieves relevant content to help answer your question. This is often called retrieval-augmented generation, or RAG.
Use an Existing Collection or Document
- Open Playground and start or continue a conversation.
- Type
@in the message box, then enter part of the collection or document name. - Select the matching item from the suggestions. The selected source appears as a mention in your message.
- Add a specific question and send it.
For example, select your handbook collection, then ask:
In @employee-handbook, what is the process for requesting annual leave? Identify the relevant section.
To ask about several sources, select each with @ and explain how to use them:
Compare the retention periods in @compliance-handbook and @data-policy-update. Identify any differences.
The example names are placeholders for your own collections and documents. Choose the matching suggestion rather than leaving the name as plain text.
Attach a File to the Conversation
- Select the paperclip button below the message box.
- Choose a file from your computer.
- Wait for the attachment to show Ready. The message cannot be sent while files are uploading or processing.
- Type
@and select the attachment, then ask your question.
What are the payment deadlines in @agreement.pdf? Include the relevant wording.
Attachments belong to the conversation. To organize documents for repeated use in collections, use Bunyan's Document Collections interface.
Attachment Limits
The Playground accepts up to five attachments per conversation, with a maximum of 20 MiB per file. Document formats are .pdf, .docx, .pptx, .xlsx, .md, .txt, and .html. The file picker also accepts images.
If an upload fails, inspect the error on the attachment and check its format and size. Use the delete button on an uploaded attachment to remove it from the conversation.
Ask a Focused Question
Name the information you need and the output format. Include dates, document sections, or comparison criteria when relevant.
| Task | Example request |
|---|---|
| Find a fact | “What is the warranty period in @contract?” |
| Summarize | “Summarize the obligations in @agreement in five bullet points.” |
| Compare | “Compare the payment schedules in @proposal-a and @proposal-b in a table.” |
| Check coverage | “Does @policy describe how to request deletion? If it does, identify the section; otherwise say the information was not found.” |
For questions that should use only your documents, state that requirement explicitly.
Review the Answer
Check any source references supplied with the response against the original document. You can ask a follow-up for a supporting passage or a more precise section reference. An answer may use selected passages rather than every part of a collection, so narrow the question if the result is incomplete.
If you cannot find the expected source in the @ suggestions, check that you can access it in Bunyan and that document processing has completed. If the answer does not address the intended document, select it explicitly and make the question more specific.
See Summarize Documents and Compare Documents for more examples.