base_url
to the URL of your hosted API.
client.documents.create
method.
client.documents.create
method returns a Document
object.
reload()
method to get the latest data or the delete()
method to delete it.client.questions.create
method.
client.questions.create
method returns a Question
object.
question.final_answer
, the question.plan
and question.evidences
contain the process of answering the question. For example, question.evidences
returns the following result:
client.documents.search
method.
client.documents.search
method returns a list of Document
objects.
You can also specify a tag or folder to search for.