docs: updated PPLX model (#23723)

Description: updated pplx docs to reference a currently [supported
model](https://docs.perplexity.ai/docs/model-cards). pplx-70b-online
->llama-3-sonar-small-32k-online

---------

Co-authored-by: Chester Curme <chester.curme@gmail.com>
This commit is contained in:
mattthomps1
2024-07-02 08:48:49 -04:00
committed by GitHub
parent aa165539f6
commit cc55823486
2 changed files with 9 additions and 6 deletions

View File

@@ -54,11 +54,14 @@ class ChatPerplexity(BaseChatModel):
from langchain_community.chat_models import ChatPerplexity
chat = ChatPerplexity(model="pplx-70b-online", temperature=0.7)
chat = ChatPerplexity(
model="llama-3-sonar-small-32k-online",
temperature=0.7,
)
"""
client: Any #: :meta private:
model: str = "pplx-70b-online"
model: str = "llama-3-sonar-small-32k-online"
"""Model name."""
temperature: float = 0.7
"""What sampling temperature to use."""