-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Update Perplexity documentation #1994
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
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: Mason Daugherty <github@mdrxy.com>
mdrxy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry, forgot to press submit for these yesterday:
|
|
||
| | Class | Package | Local | Serializable | JS support | Downloads | Version | | ||
| | :--- | :--- | :---: | :---: | :---: | :---: | :---: | | ||
| | [PerplexitySearchResults](https://python.langchain.com/api_reference/perplexity/tools/langchain_perplexity.tools.PerplexitySearchResults.html) | [langchain-perplexity](https://python.langchain.com/api_reference/perplexity/perplexity.html) | ❌ | ✅ | ❌ |  |  | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| | [PerplexitySearchResults](https://python.langchain.com/api_reference/perplexity/tools/langchain_perplexity.tools.PerplexitySearchResults.html) | [langchain-perplexity](https://python.langchain.com/api_reference/perplexity/perplexity.html) | ❌ | ✅ | ❌ |  |  | | |
| | [`PerplexitySearchResults`](https://python.langchain.com/api_reference/perplexity/tools/langchain_perplexity.tools.PerplexitySearchResults.html) | [`langchain-perplexity`](https://python.langchain.com/api_reference/perplexity/perplexity.html) | ❌ | ✅ | ❌ |  |  | |
| ```python | ||
| from langchain.chat_models import init_chat_model | ||
| from langchain_perplexity import PerplexitySearchResults | ||
| from langgraph.prebuilt import create_react_agent |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We've moved away from create_react_agent in favor of create_agent in langchain. Can this example be rewritten?
|
|
||
| | Class | Package | Local | Serializable | JS support | Downloads | Version | | ||
| | :--- | :--- | :---: | :---: | :---: | :---: | :---: | | ||
| | [PerplexitySearchRetriever](https://python.langchain.com/api_reference/perplexity/retrievers/langchain_perplexity.retrievers.PerplexitySearchRetriever.html) | [langchain-perplexity](https://python.langchain.com/api_reference/perplexity/perplexity.html) | ❌ | ✅ | ❌ |  |  | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| | [PerplexitySearchRetriever](https://python.langchain.com/api_reference/perplexity/retrievers/langchain_perplexity.retrievers.PerplexitySearchRetriever.html) | [langchain-perplexity](https://python.langchain.com/api_reference/perplexity/perplexity.html) | ❌ | ✅ | ❌ |  |  | | |
| | [`PerplexitySearchRetriever`](https://python.langchain.com/api_reference/perplexity/retrievers/langchain_perplexity.retrievers.PerplexitySearchRetriever.html) | [`langchain-perplexity`](https://python.langchain.com/api_reference/perplexity/perplexity.html) | ❌ | ✅ | ❌ |  |  | |
Documentation updates for
langchain-perplexityto align with the SDK overhaul introduced in langchain-ai/langchain#34412.Type of change
Type: Update existing documentation
Related issues/PRs
Checklist
docs devsrc/docs.jsonif neededAdditional notes
Changes:
PerplexitySearchRetrieverPerplexitySearchResultsChatPerplexitydocumentation:PerplexitySearchResultsinstantiation example (removed invalid parameters)PerplexitySearchResultscreate_react_agent