Skip to content

v2.3.0

Choose a tag to compare

@tyler5673 tyler5673 released this 04 Mar 03:20
· 83 commits to main since this release
03f5e8a

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 objects

Breaking Changes

  • Python >= 3.10 now required (was >= 3.9.2)
  • Search API: count now defaults to 10 (was None)
  • Contents API: crawl_timeout type changed from float to int

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_ms unit label in README ("seconds" -> "ms")

Full Changelog: https://github.com/youdotcom-oss/youdotcom-python-sdk/blob/main/CHANGELOG.md