Evaluate
Evaluate predictions on one or multiple documents/text.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
message_id |
str
|
The ID of the message associated with the uploaded documents. This ID is used to identify which set of documents/text predictions should be evaluated. |
required |
Returns:
Name | Type | Description |
---|---|---|
response |
dict
|
A JSON response from the API, containing the evaluation results, |
Sample usage:
from anoteai import Anote
api_key = 'INSERT_API_KEY_HERE'
Anote = Anote(api_key, isPrivate=False) #You can select isPrivate=True if you want to use private models
message_id = 5
response = privategpt.evaluate(message_id)
Response is given as a JSON in this format: