Topic Of Document
topic_of_documentTuatara Topics: place one document on the served topic sets — general (Wikipedia-scale) and finance (markets, companies, the economy) — and return the topics it belongs to with their weights, which set placed it, its confidence (the top topic's weight) and on_topic_set (false when nothing served covers the text). Nothing is stored.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document | Yes | the document (plain text) | |
| num_words | No | words per topic, 3-30 (default 15) | |
| topic_set | No | auto (default: the set that takes the document most confidently), general or finance |