Skip to content

Adding tavily as a plugin integration#1609

Open
manisrinivasan2k1 wants to merge 1 commit intoPortkey-AI:mainfrom
manisrinivasan2k1:feat/tavily-plugin-integration
Open

Adding tavily as a plugin integration#1609
manisrinivasan2k1 wants to merge 1 commit intoPortkey-AI:mainfrom
manisrinivasan2k1:feat/tavily-plugin-integration

Conversation

@manisrinivasan2k1
Copy link
Copy Markdown

  • Added Tavily as a guardrail plugin for online search enrichment

Description: (required)

  • Added a new tavily.online guardrail that calls Tavily Search before inference and injects fresh web search context into chat and completion prompts
  • Added support for Tavily search parameters and response metadata, including answer/raw content/images/favicon handling, plus tests covering prompt injection and request mapping

Tests Run/Test cases added: (required)

  • Added tests for chat and completion prompt enrichment, custom prefix/suffix handling, request parameter mapping, image handling for both string and object formats, and parameter gating for safeSearch, country, chunksPerSource, and autoParameters

Type of Change:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)

- Added tavily as a guardrail
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