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

community: add citation support to Perplexity chat model #28004

Conversation

amiyapatanaik
Copy link

Description: This PR adds support for citations in the Perplexity chat model. The Perplexity API now returns citations in its response and this update ensures these citations are included in the final output message. This includes normal outputs as well as streaming outputs

Dependencies: None (uses existing dependencies)

Twitter handle: @amiyaiitkgp

The changes include:

  • Added citation support to Perplexity chat model
  • Updated example notebook demonstrating usage
  • No breaking changes to existing functionality

Changes are backwards compatible as citations are only included when provided by the API.

Copy link

vercel bot commented Nov 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
langchain ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 9, 2024 6:22am

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. community Related to langchain-community labels Nov 9, 2024
@efriis
Copy link
Member

efriis commented Dec 11, 2024

hey! Your PR deletes a bunch of docstrings that are rendered in the api ref. Going to close this, and feel free to reopen with just the change you intended!

@efriis efriis closed this Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Related to langchain-community size:L This PR changes 100-499 lines, ignoring generated files.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants