diff --git a/README.md b/README.md index 9e3d63a..87cf4c9 100644 --- a/README.md +++ b/README.md @@ -307,31 +307,6 @@ See [the Bright Search example](examples/bright_search.py) for async and sync us The [Business Search notebook](notebooks/10_bright_search.ipynb) walks through a simple company search and a structured search with selected fields and pagination. -### Discover API - -AI-ranked web search. Unlike SERP (which returns engine-ordered results), Discover takes a `query` plus an `intent` phrase and re-ranks by relevance. Optionally extracts full page content as markdown. - -```python -async with BrightDataClient() as client: - result = await client.discover( - query="artificial intelligence trends 2026", - intent="latest AI technology developments", - country="us", - num_results=10, - ) - for item in result.data: - print(f"[{item['relevance_score']:.2f}] {item['title']} {item['link']}") -``` - -For long-running discoveries, trigger and poll separately: - -```python -job = await client.discover_trigger(query="...", intent="...") -result = await job.wait_and_fetch(timeout=60) -``` - -**When to use Discover vs SERP:** Discover when you want *entity-level* relevance ranking driven by a natural-language intent (e.g. "find sustainability-focused AI companies"). SERP when you want raw search engine results. - ### Scraper Studio Run custom collectors built in [Bright Data's Scraper Studio](https://brightdata.com/cp/scrapers). One call triggers the job, polls until ready, and returns the records: