Asking questions from Apple's 10-K
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
chat_id = Anote.upload(task_type="edgar", model_type="gpt", ticker="aapl")['id']
response = Anote.chat(chat_id, "What does this company do?")
print(response['answer'])
message_id = response['message_id']
print(Anote.evaluate(message_id))
As an output we get: