Skip to content

feat: add exact_match parameter to search#157

Merged
pulvedu merged 1 commit intomasterfrom
feat/TAV-5096-exact-match-parameter
Feb 26, 2026
Merged

feat: add exact_match parameter to search#157
pulvedu merged 1 commit intomasterfrom
feat/TAV-5096-exact-match-parameter

Conversation

@yashb1708
Copy link
Contributor

Summary

  • Add exact_match (bool, optional) parameter to search() in both TavilyClient and AsyncTavilyClient
  • Bump version to 0.7.22
  • Update README with usage example
  • Add tests for parameter presence, True/False values, and JSON escaping of quoted phrases

Fixes TAV-5096

Test plan

  • All 38 existing + new tests pass
  • exact_match not sent when omitted (default)
  • exact_match=True and exact_match=False correctly included in request body
  • Quoted phrases in query are properly escaped in the JSON payload

🤖 Generated with Claude Code

Fixes TAV-5096

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@pulvedu pulvedu merged commit 78e5f36 into master Feb 26, 2026
6 checks passed
@pulvedu pulvedu deleted the feat/TAV-5096-exact-match-parameter branch February 26, 2026 15:00
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.

2 participants