This repository was archived by the owner on Jul 22, 2025. It is now read-only.
return_citations deprecated, need mechanism to disable citation numerical references in response content #84
damianoneill
started this conversation in
Ideas
Replies: 2 comments 2 replies
-
bump! |
Beta Was this translation helpful? Give feedback.
2 replies
-
Bump, bump! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Since https://docs.perplexity.ai/changelog/changelog#citations-public-release-and-increased-default-rate-limits disables the ability to set return_citations to false.
Given response content, that looks like
A mechanism is needed to remove the citation numerical references, e.g. [1][2][3], from the content for API users who choose not to expose the citation array.
These references become meaningless without the corresponding citations array.
Some use cases (like direct content display) benefit from clean text without reference markers.
For example:
Default value: true (maintains backward compatibility)
Beta Was this translation helpful? Give feedback.
All reactions