Documents
Add custom data sources to Ask Fern.
Overview
You can extend Ask Fern’s knowledge beyond your core documentation by indexing additional custom content. Adding materials such as internal FAQs, help desk tickets, knowledge base articles, marketing sites, research papers, and other resources helps Ask Fern provide more complete answers to developers.
The Documents API lets you upload, update, and delete custom documents that Ask Fern can reference when responding to user questions.
Usage
To get started, upload a document, title, and URL via the Documents API. Here’s an example:
This document will be indexed and made available to Ask Fern as context when users ask questions about ferns. If Ask Fern references this content in a response, it will include the URL as a citation.