Skip to content

SPIKE: evaluate Perplexity.ai as AI service provider #916

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

Open
1 of 8 tasks
jeffpaul opened this issue May 21, 2025 · 0 comments
Open
1 of 8 tasks

SPIKE: evaluate Perplexity.ai as AI service provider #916

jeffpaul opened this issue May 21, 2025 · 0 comments
Milestone

Comments

@jeffpaul
Copy link
Member

Is your enhancement related to a problem? Please describe.

Perplexity.ai's pplx-api and Sonar Pro API provide access to a range of powerful language models and real-time web search capabilities. This issue proposes a technical investigation to determine whether Perplexity.ai can be supported as a provider for existing ClassifAI features and what adjustments or new functionality would be needed.

Some benefits of adding Perplexity.ai as a service provider:

  • Access to multiple model families (Llama 2, Mistral, Code Llama, etc.)
  • Real-time web search capabilities for up-to-date content generation
  • Additional provider option for cost and flexibility
  • (not the least significant) it's already in use with current clients for other AI tasks ;)

Potentially supported features

Based on Perplexity.ai’s available APIs, the following features appear compatible:

  • Title Generation
  • Content Expansion / Condensation
  • Excerpt and TLDR Generation
  • Full-Length Article Drafting
  • Content Classification
  • Image Alt Text and Tag Generation
  • Comment Moderation
  • Smart 404 Recommendations** (with caveats—may be limited without embedding support)

Not currently supported due to API limitations

  • Image Generation
  • Audio Transcription (aka Speech-to-Text)
  • Text-to-Speech
  • Smart Image Cropping
  • PDF Text Extraction
  • Personalized Content Recommendations

Spike tasks

  • Evaluate API authentication and rate limits
  • Test core text-generation features for quality and compatibility
  • Determine feasibility of Sonar Pro for enriching content (e.g., real-time fact inclusion)
  • Confirm alignment with ClassifAI’s provider abstraction structure
  • Scope level of effort for integration
  • Identify whether support for multimodal features is on Perplexity's roadmap
  • If the spike proves viable, a follow-up issue should be created to implement Perplexity.ai support in ClassifAI’s provider registry and feature modules.

Designs

API References:

Describe alternatives you've considered

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@jeffpaul jeffpaul added this to the 3.6.0 milestone May 21, 2025
@jeffpaul jeffpaul moved this from Incoming to Backlog in Open Source Practice May 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant