Welcome to Portkey Forum

Updated 2 weeks ago

Perplexity.ai now allows citations to come through the api

Hi - Perplexity.ai now allows citations to come through the API - I tested it through Portkey and they aren't showing up - curious if you are aware of this update and when it may be available? See attached image
Attachment
perlexity_citations.PNG
S
b
3 comments
Hey @bluehorshoe452_15_07606 the response transformer does not forward any response params that it does not recognize, that would mean the response would no longer be openai compliant.

We added a header called 'x-portkey-strict-open-ai-compliance' to allow forwarding such parameters, but this has to be implemented for the provider.

Would you like to work on it?

you can use this for reference
https://github.com/Portkey-AI/gateway/pull/482
or if this is priority for you and you don't have time for it, please raise an issue on github, me or someone from the community team will pick it up
Thank you - I will look into this but yes, I think allowing for citations to come through would be a great benefit to all Perplexity API users through Portkey
Add a reply
Sign up and join the conversation on Discord