Skip to content

feat(drivers): add PerplexityPromptDriver and PerplexityWebSearchDriver #1755

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 12, 2025

Conversation

collindutter
Copy link
Member

@collindutter collindutter commented Feb 20, 2025

Describe your changes

Adds PerplexitySonarPromptDriver and PerplexityWebSearchDriver that uses it.

Issue ticket number and link

Closes #1599


📚 Documentation preview 📚: https://griptape--1755.org.readthedocs.build//1755/

Copy link

codecov bot commented Feb 20, 2025

Codecov Report

Attention: Patch coverage is 87.50000% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...e/drivers/prompt/perplexity_sonar_prompt_driver.py 84.61% 1 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

@collindutter collindutter self-assigned this Feb 25, 2025
@collindutter collindutter force-pushed the feature/perplexity branch 3 times, most recently from 60be338 to fd0258e Compare March 5, 2025 19:56
@collindutter collindutter marked this pull request as ready for review March 5, 2025 20:00
@collindutter collindutter requested a review from a team March 5, 2025 20:00
@collindutter collindutter added this to the 1.5 milestone Mar 5, 2025
@collindutter collindutter changed the title feat(drivers-prompt-perplexity-sonar): Add PerplexitySonarPromptDriver feat(drivers): add PerplexityPromptDriver and PerplexityWebSearchDriver Mar 6, 2025
@collindutter collindutter enabled auto-merge March 6, 2025 18:28
@collindutter collindutter disabled auto-merge March 7, 2025 20:04
@collindutter collindutter requested review from a team and removed request for a team March 11, 2025 16:20
Copy link
Contributor

@emjay07 emjay07 left a comment

Choose a reason for hiding this comment

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

is perplexity imported alongside OpenAI for dependencies? noticed we didn't have any extras for it and it extended the OpenAIPromptDriver.

@collindutter
Copy link
Member Author

is perplexity imported alongside OpenAI for dependencies? noticed we didn't have any extras for it and it extended the OpenAIPromptDriver.

There is no perplexity dependency. It just uses on the openai SDK.

@collindutter collindutter enabled auto-merge March 12, 2025 16:30
@collindutter collindutter added this pull request to the merge queue Mar 12, 2025
Merged via the queue into main with commit 7163bf3 Mar 12, 2025
15 checks passed
@collindutter collindutter deleted the feature/perplexity branch March 12, 2025 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create PerplexityAI Web Search Driver
3 participants