Skip to content

Commit

Permalink
query arg changed to question
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-bloomsbury committed Jan 3, 2018
1 parent 3cd2a75 commit 36e3010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/ctrl_f_tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ The Answer Method & Object
Once you've uploaded your documents, getting a response back is as simple as calling one method - :meth:`cape.client.CapeClient.answer`
which returns a ranked list of answers. We've got an example below, which we'll discuss in more detail before jumping in to implementing the tutorial.::

answers = cape_client.answer(query='What is football?',
answers = cape_client.answer(question='What is football?',
token=ANSWER_TOKEN,
document_ids=[FOOTBALL_DOCUMENT_ID],
source_type='document',
Expand Down

0 comments on commit 36e3010

Please sign in to comment.