from valyu import Valyuclient = Valyu(api_key="your-api-key")response = client.answer( query="What did Apple cite as the main drivers of its revenue change in the MD&A section of its 2023 10-K?")print(response.answer)
Let AI search and research for you, delivering comprehensive reports.
from valyu import Valyuclient = Valyu(api_key="your-api-key")# Start a research tasktask = client.deepresearch.create( query="Analyze the impact of AI on healthcare")# Check statusstatus = client.deepresearch.status(task.task_id)print(status)