Skip to content

Conversation

@narengogi
Copy link
Collaborator

@narengogi narengogi commented Apr 7, 2025

Code Quality new feature

Author Description

(optional)

  • Detailed change 1
  • Detailed change 2

Title: Support Search Recency Filter for Perplexity

🔄 What Changed

  • Added support for response_format parameter in Perplexity AI chat completion
  • Added support for search_recency_filter parameter in Perplexity AI chat completion

🔍 Impact of the Change

This enhancement allows users to filter search results by recency and specify response format when using Perplexity AI's chat completion functionality, providing more control over the search results and response formatting.

📁 Total Files Changed

1 file modified with 8 additions and 0 deletions.

🧪 Test Added

N/A - No tests were added in this PR.

🔒 Security Vulnerabilities

N/A - No security vulnerabilities were identified in this change.

Related Issues: N/A

Quality Recommendations

  1. Consider adding unit tests to verify the new parameters work as expected

  2. Add documentation or comments explaining the valid values for the new parameters

@narengogi narengogi changed the title support search recency filter for support search recency filter for perplexity Apr 9, 2025
@narengogi narengogi marked this pull request as ready for review April 9, 2025 09:21
@narengogi narengogi requested a review from VisargD April 9, 2025 09:22
@VisargD VisargD merged commit a31b977 into Portkey-AI:main Apr 9, 2025
1 check passed
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