Skip to content

Conversation

alexngys
Copy link
Contributor

Updates all Valyu integration examples to use the new valyu-langchain package (v0.3.4) structure and API. This includes updating parameter names, adding new tool classes, and fixing broken notebook cell structure. The changes ensure compatibility with the latest package that requires valyu >= 2.0.0 for the updated search API.

Issue: N/A
Dependencies: No new dependencies added. The changes update existing examples to work with valyu-langchain v0.3.4.

Changes Made:
Parameter Updates:
Updated similarity_threshold → relevance_threshold across all examples
Removed deprecated query_rewrite parameter
Added new is_tool_call=True parameter for agent optimization
Updated default max_price values to reflect new package defaults

New Tool Classes:
Added documentation and examples for ValyuContentsTool for web content extraction
Added documentation and examples for ValyuContentsRetriever for URL-based content retrieval
Updated integration tables to include all 4 available classes

Copy link

vercel bot commented Sep 22, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
langchain Ready Ready Preview Comment Sep 24, 2025 8:50pm

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Sep 22, 2025
@alexngys alexngys changed the title docs(valyu): update examples for valyu-langchain v0.3.4 package docs: update valyu examples for valyu-langchain v0.3.4 package Sep 22, 2025
Copy link
Collaborator

@eyurtsev eyurtsev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @alexngys thanks for the contribution! We're migrating out integration docs to the new docs repo (for new documentation)

https://docs.langchain.com/oss/python/langchain/overview
https://github.com/langchain-ai/docs/

@eyurtsev eyurtsev closed this Sep 23, 2025
@eyurtsev eyurtsev reopened this Sep 23, 2025
@eyurtsev
Copy link
Collaborator

@alexngys we actually do accept updates to existing integrations in this repo, but request that you synchronize the changes with the docs repository otherwise the new docs site, won't have any of the new changes reflected.

Here are the contribution guidelines for the new docs: https://docs.langchain.com/oss/python/contributing

@eyurtsev eyurtsev changed the title docs: update valyu examples for valyu-langchain v0.3.4 package chore(docs): update valyu examples for valyu-langchain v0.3.4 package Sep 23, 2025
@github-actions github-actions bot added the infra Chores, devops, repo meta changes label Sep 24, 2025
@mdrxy mdrxy enabled auto-merge (squash) September 24, 2025 20:38
@mdrxy mdrxy closed this Oct 3, 2025
auto-merge was automatically disabled October 3, 2025 03:20

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation infra Chores, devops, repo meta changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants