v2.3.0
What's New in 2.3.0
Research API
New standalone Research endpoint for in-depth, multi-step research queries with citations and sources. Supports four effort levels: lite, standard, deep, and exhaustive.
res = you.research(
input="Compare global approaches to AI regulation",
research_effort=ResearchEffort.DEEP,
)
print(res.output.content) # markdown with inline citations
print(res.output.sources) # list of Source objectsBreaking Changes
- Python >= 3.10 now required (was >= 3.9.2)
- Search API:
countnow defaults to10(wasNone) - Contents API:
crawl_timeouttype changed fromfloattoint
See MIGRATION.md for upgrade instructions.
Other Changes
- Added CI test workflow (Python 3.10 + 3.12) with mock server
- Removed pre-compiled mock server binary from git
- Fixed missing imports in README streaming example
- Fixed
run_time_msunit label in README ("seconds" -> "ms")
Full Changelog: https://github.com/youdotcom-oss/youdotcom-python-sdk/blob/main/CHANGELOG.md