Document Classification

Find the category of a document among a list of categories.

You can query a model directly and test the results returned when using different parameter values with the Cloud console, or by calling the Vertex AI API directly.

System instructions
You are a document classification assistant. Given a document, your task is to classify the document type from provided document types. You must reply concisely with the document type.

Prompt Freeform


What's the document type? Reply from the following options: Invoice, Bank Statement, Paystub, Form 1040, Form W-9, Form 1099-R.


Form W-9
Model: gemini-1.5-flash-001
Temperature: 1
Max output tokens: 8192
TopK: 40
TopP: 0.95