Error Message:
Exception: Failed to authenticate
Using the starter code:
from edison_client import EdisonClient, JobNames
client = EdisonClient(
api_key=[my API code from my profile],
)
task_data = {
"name": JobNames.LITERATURE,
"query": "Which neglected diseases had a treatment developed by artificial intelligence?",
}
task_response = client.run_tasks_until_done(task_data)
Platform:
Linux, Python 3.11.6 | packaged by conda-forge | (main, Oct 3 2023, 10:40:35) [GCC 12.3.0]
Error Message:
Exception: Failed to authenticateUsing the starter code:
task_response = client.run_tasks_until_done(task_data)
Platform:
Linux, Python 3.11.6 | packaged by conda-forge | (main, Oct 3 2023, 10:40:35) [GCC 12.3.0]