UiPath Certified Professional Specialized AI Professional v1.0 UiPath-SAIv1 Question # 57 Topic 6 Discussion
UiPath-SAIv1 Exam Topic 6 Question 57 Discussion:
Question #: 57
Topic #: 6
How do you use the Generative Classifier within UiPath Document Understanding Cloud APIs to classify a document as either an "Invoice" or a "Receipt"?
A.
By sending a GET request to /api/framework/projects/{projectld}/classifiers/generative_classifier/classification with a body containing prompts that specify the 'Invoice' and 'Receipt' names and descriptions.
B.
By sending a POST request to yapi/framework/projectsy{projectld}/ctassifiers/generative_classifier/classification with a body containing prompts that specify the 'Invoice' and 'Receipt' names and descriptions.
C.
By sending a PUT request to /api/framework/proiects/{projectld}/classifiers/generative_classifier/classification without any specific classification details in the body of the request.
D.
By sending a POST request to /api/framework/projects/{projectld}/classifiers/generative_classifier/dassification with a body containing prompts that specify the 'Invoice' and 'Receipt' names and a description for their fields.
In UiPath Document Understanding Cloud APIs, the Generative Classifier is used to classify documents by leveraging a generative AI model. To classify a document as either an "Invoice" or a "Receipt," a POST request must be sent to the /api/framework/projects/{projectId}/classifiers/generative_classifier/classification endpoint. The body of this request should contain prompts specifying the classification types (in this case, "Invoice" and "Receipt") along with their corresponding descriptions. This allows the model to correctly classify incoming documents based on these predefined prompts.
For further reading, refer to:
UiPath Document Understanding API Documentation: Cloud API for Classification
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit