Skip to content

Update web-enhanced self-reflecting agent notebook for new serperdev-haystack package#293

Open
julian-risch wants to merge 1 commit into
mainfrom
chore/serperdev-new-package
Open

Update web-enhanced self-reflecting agent notebook for new serperdev-haystack package#293
julian-risch wants to merge 1 commit into
mainfrom
chore/serperdev-new-package

Conversation

@julian-risch

@julian-risch julian-risch commented Jun 10, 2026

Copy link
Copy Markdown
Member

Related Issues

Proposed Changes:

  • update web_enhanced_self_reflecting_agent.ipynb for the new serperdev-haystack package: SerperDevWebSearch moved from Haystack core to haystack-core-integrations; import changed to from haystack_integrations.components.websearch.serperdev import SerperDevWebSearch
  • fix pre-existing breakages found while running the notebook on haystack main:
    • add trafilatura and nltk>=3.9.1 to the install command (now required by HTMLToDocument and DocumentSplitter(split_by="sentence"))
    • replace the stale docs URL generators-vs-chat-generators (now a meta-refresh redirect stub that extracts to empty content and crashes the indexing pipeline) with choosing-the-right-generator

How did you test it?

  • ran the full notebook locally (nbconvert + ipython) with a real SERPERDEV_API_KEY, local Ollama running gemma2:9b-instruct-q4_1, and serperdev-haystack installed from the integration branch: both queries complete; the second query exercises the web-search path via the new package

Notes for the reviewer

  • serperdev-haystack is released on PyPI
  • If there are any notebooks that you plan to drop anyway, let's see if that can be done before we create new integrations. Otherwise we'll try to make old notebooks work that will soon be deleted.

🤖 Generated with Claude Code

…package

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@review-notebook-app

Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@julian-risch julian-risch marked this pull request as ready for review June 12, 2026 09:29
@julian-risch julian-risch requested a review from a team as a code owner June 12, 2026 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant