Skip to content
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

Added basic support for llama-3 model via Perplexity API #600

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

merionum
Copy link

@merionum merionum commented Jun 10, 2024

Hello, thanks for this great project!

I have checked a recent issue #598 and figured it should work using openai's async client. Looks like it is true, I checked it with Perplexity's API token and made a few modifications to route the request to the correct place.

Please let me know if you want this feature to be included and what other modifications need to be done before it can be merged.

A few quick notes:

  1. Current default generation parameters work really bad with llama-3, so sending nulls makes them default to something better on Perplexity's end

  2. Image generation \ description stop working out of the box as Perplexity's API doesn't support any image processing logic yet

@planecore
Copy link

Can you please add all the perplexity models?

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