Classifies the document using an LLM
llm-document-classifier
Version: 1.0.0
Infer: Yes
Option | Description |
---|---|
document_types | List of possible document types to classify against, with optional hints in parentheses |
create_summary | When enabled, generates a one-sentence summary of the document content |
classification_model | The AI model used for classification and summarization |
document_types
option accepts a list of document types with optional hints to guide classification. For example:
Name | Label | Type | Description | Default | Required |
---|---|---|---|---|---|
document_types | Document Types | string | The possible document types to use for classification. You can include hints in parentheses. | - Document Type 1 (hints:) | No |
create_summary | Create Summary | boolean | Whether to create a summary of the document | True | No |
classification_model | Model | cloudModel | The model to use to classify and summarize of each page of the document | anthropic.claude-3-5-sonnet-20240620-v1:0 | No |