# Retrievers

> langchain_perplexity → Retrievers

## Classes

- [`PerplexityResponsesStreamError`](https://reference.langchain.com/python/langchain-perplexity/chat_models/PerplexityResponsesStreamError)
- [`ChatPerplexity`](https://reference.langchain.com/python/langchain-perplexity/chat_models/ChatPerplexity)
- [`UserLocation`](https://reference.langchain.com/python/langchain-perplexity/types/UserLocation)
- [`WebSearchOptions`](https://reference.langchain.com/python/langchain-perplexity/types/WebSearchOptions)
- [`MediaResponseOverrides`](https://reference.langchain.com/python/langchain-perplexity/types/MediaResponseOverrides)
- [`MediaResponse`](https://reference.langchain.com/python/langchain-perplexity/types/MediaResponse)
- [`PerplexitySearchRetriever`](https://reference.langchain.com/python/langchain-perplexity/retrievers/PerplexitySearchRetriever)
- [`PerplexityEmbeddings`](https://reference.langchain.com/python/langchain-perplexity/embeddings/PerplexityEmbeddings)
- [`ReasoningJsonOutputParser`](https://reference.langchain.com/python/langchain-perplexity/output_parsers/ReasoningJsonOutputParser)
- [`ReasoningStructuredOutputParser`](https://reference.langchain.com/python/langchain-perplexity/output_parsers/ReasoningStructuredOutputParser)
- [`PerplexitySearchResults`](https://reference.langchain.com/python/langchain-perplexity/tools/PerplexitySearchResults)

## Functions

- [`strip_think_tags()`](https://reference.langchain.com/python/langchain-perplexity/output_parsers/strip_think_tags)
- [`initialize_client()`](https://reference.langchain.com/python/langchain-perplexity/_utils/initialize_client)

## Modules

- [`langchain_perplexity`](https://reference.langchain.com/python/langchain-perplexity/langchain_perplexity)
- [`chat_models`](https://reference.langchain.com/python/langchain-perplexity/chat_models)
- [`types`](https://reference.langchain.com/python/langchain-perplexity/types)
- [`retrievers`](https://reference.langchain.com/python/langchain-perplexity/retrievers)
- [`embeddings`](https://reference.langchain.com/python/langchain-perplexity/embeddings)
- [`output_parsers`](https://reference.langchain.com/python/langchain-perplexity/output_parsers)
- [`tools`](https://reference.langchain.com/python/langchain-perplexity/tools)
- [`data`](https://reference.langchain.com/python/langchain-perplexity/data)

## Constants

- [`logger`](https://reference.langchain.com/python/langchain-perplexity/chat_models/logger)
- [`code`](https://reference.langchain.com/python/langchain-perplexity/chat_models/PerplexityResponsesStreamError/code)
- [`error_type`](https://reference.langchain.com/python/langchain-perplexity/chat_models/PerplexityResponsesStreamError/error_type)
- [`param`](https://reference.langchain.com/python/langchain-perplexity/chat_models/PerplexityResponsesStreamError/param)
- [`request_id`](https://reference.langchain.com/python/langchain-perplexity/chat_models/PerplexityResponsesStreamError/request_id)
- [`raw_event`](https://reference.langchain.com/python/langchain-perplexity/chat_models/PerplexityResponsesStreamError/raw_event)
- [`client`](https://reference.langchain.com/python/langchain-perplexity/chat_models/ChatPerplexity/client)
- [`async_client`](https://reference.langchain.com/python/langchain-perplexity/chat_models/ChatPerplexity/async_client)
- [`model`](https://reference.langchain.com/python/langchain-perplexity/chat_models/ChatPerplexity/model)
- [`temperature`](https://reference.langchain.com/python/langchain-perplexity/chat_models/ChatPerplexity/temperature)
- [`model_kwargs`](https://reference.langchain.com/python/langchain-perplexity/chat_models/ChatPerplexity/model_kwargs)
- [`pplx_api_key`](https://reference.langchain.com/python/langchain-perplexity/chat_models/ChatPerplexity/pplx_api_key)
- [`request_timeout`](https://reference.langchain.com/python/langchain-perplexity/chat_models/ChatPerplexity/request_timeout)
- [`max_retries`](https://reference.langchain.com/python/langchain-perplexity/chat_models/ChatPerplexity/max_retries)
- [`streaming`](https://reference.langchain.com/python/langchain-perplexity/chat_models/ChatPerplexity/streaming)
- [`max_tokens`](https://reference.langchain.com/python/langchain-perplexity/chat_models/ChatPerplexity/max_tokens)
- [`use_responses_api`](https://reference.langchain.com/python/langchain-perplexity/chat_models/ChatPerplexity/use_responses_api)
- [`search_mode`](https://reference.langchain.com/python/langchain-perplexity/chat_models/ChatPerplexity/search_mode)
- [`reasoning_effort`](https://reference.langchain.com/python/langchain-perplexity/chat_models/ChatPerplexity/reasoning_effort)
- [`language_preference`](https://reference.langchain.com/python/langchain-perplexity/chat_models/ChatPerplexity/language_preference)
- [`search_domain_filter`](https://reference.langchain.com/python/langchain-perplexity/chat_models/ChatPerplexity/search_domain_filter)
- [`return_images`](https://reference.langchain.com/python/langchain-perplexity/chat_models/ChatPerplexity/return_images)
- [`return_related_questions`](https://reference.langchain.com/python/langchain-perplexity/chat_models/ChatPerplexity/return_related_questions)
- [`search_recency_filter`](https://reference.langchain.com/python/langchain-perplexity/chat_models/ChatPerplexity/search_recency_filter)
- [`search_after_date_filter`](https://reference.langchain.com/python/langchain-perplexity/chat_models/ChatPerplexity/search_after_date_filter)
- [`search_before_date_filter`](https://reference.langchain.com/python/langchain-perplexity/chat_models/ChatPerplexity/search_before_date_filter)
- [`last_updated_after_filter`](https://reference.langchain.com/python/langchain-perplexity/chat_models/ChatPerplexity/last_updated_after_filter)
- [`last_updated_before_filter`](https://reference.langchain.com/python/langchain-perplexity/chat_models/ChatPerplexity/last_updated_before_filter)
- [`disable_search`](https://reference.langchain.com/python/langchain-perplexity/chat_models/ChatPerplexity/disable_search)
- [`enable_search_classifier`](https://reference.langchain.com/python/langchain-perplexity/chat_models/ChatPerplexity/enable_search_classifier)
- [`web_search_options`](https://reference.langchain.com/python/langchain-perplexity/chat_models/ChatPerplexity/web_search_options)
- [`media_response`](https://reference.langchain.com/python/langchain-perplexity/chat_models/ChatPerplexity/media_response)
- [`model_config`](https://reference.langchain.com/python/langchain-perplexity/chat_models/ChatPerplexity/model_config)
- [`lc_secrets`](https://reference.langchain.com/python/langchain-perplexity/chat_models/ChatPerplexity/lc_secrets)
- [`latitude`](https://reference.langchain.com/python/langchain-perplexity/types/UserLocation/latitude)
- [`longitude`](https://reference.langchain.com/python/langchain-perplexity/types/UserLocation/longitude)
- [`country`](https://reference.langchain.com/python/langchain-perplexity/types/UserLocation/country)
- [`region`](https://reference.langchain.com/python/langchain-perplexity/types/UserLocation/region)
- [`city`](https://reference.langchain.com/python/langchain-perplexity/types/UserLocation/city)
- [`search_context_size`](https://reference.langchain.com/python/langchain-perplexity/types/WebSearchOptions/search_context_size)
- [`user_location`](https://reference.langchain.com/python/langchain-perplexity/types/WebSearchOptions/user_location)
- [`search_type`](https://reference.langchain.com/python/langchain-perplexity/types/WebSearchOptions/search_type)
- [`image_search_relevance_enhanced`](https://reference.langchain.com/python/langchain-perplexity/types/WebSearchOptions/image_search_relevance_enhanced)
- [`return_videos`](https://reference.langchain.com/python/langchain-perplexity/types/MediaResponseOverrides/return_videos)
- [`return_images`](https://reference.langchain.com/python/langchain-perplexity/types/MediaResponseOverrides/return_images)
- [`overrides`](https://reference.langchain.com/python/langchain-perplexity/types/MediaResponse/overrides)
- [`k`](https://reference.langchain.com/python/langchain-perplexity/retrievers/PerplexitySearchRetriever/k)
- [`max_tokens`](https://reference.langchain.com/python/langchain-perplexity/retrievers/PerplexitySearchRetriever/max_tokens)
- [`max_tokens_per_page`](https://reference.langchain.com/python/langchain-perplexity/retrievers/PerplexitySearchRetriever/max_tokens_per_page)
- [`country`](https://reference.langchain.com/python/langchain-perplexity/retrievers/PerplexitySearchRetriever/country)
- [`search_domain_filter`](https://reference.langchain.com/python/langchain-perplexity/retrievers/PerplexitySearchRetriever/search_domain_filter)
- [`search_recency_filter`](https://reference.langchain.com/python/langchain-perplexity/retrievers/PerplexitySearchRetriever/search_recency_filter)
- [`search_after_date`](https://reference.langchain.com/python/langchain-perplexity/retrievers/PerplexitySearchRetriever/search_after_date)
- [`search_before_date`](https://reference.langchain.com/python/langchain-perplexity/retrievers/PerplexitySearchRetriever/search_before_date)
- [`client`](https://reference.langchain.com/python/langchain-perplexity/retrievers/PerplexitySearchRetriever/client)
- [`pplx_api_key`](https://reference.langchain.com/python/langchain-perplexity/retrievers/PerplexitySearchRetriever/pplx_api_key)
- [`client`](https://reference.langchain.com/python/langchain-perplexity/embeddings/PerplexityEmbeddings/client)
- [`async_client`](https://reference.langchain.com/python/langchain-perplexity/embeddings/PerplexityEmbeddings/async_client)
- [`model`](https://reference.langchain.com/python/langchain-perplexity/embeddings/PerplexityEmbeddings/model)
- [`pplx_api_key`](https://reference.langchain.com/python/langchain-perplexity/embeddings/PerplexityEmbeddings/pplx_api_key)
- [`request_timeout`](https://reference.langchain.com/python/langchain-perplexity/embeddings/PerplexityEmbeddings/request_timeout)
- [`max_retries`](https://reference.langchain.com/python/langchain-perplexity/embeddings/PerplexityEmbeddings/max_retries)
- [`model_config`](https://reference.langchain.com/python/langchain-perplexity/embeddings/PerplexityEmbeddings/model_config)
- [`lc_secrets`](https://reference.langchain.com/python/langchain-perplexity/embeddings/PerplexityEmbeddings/lc_secrets)
- [`name`](https://reference.langchain.com/python/langchain-perplexity/tools/PerplexitySearchResults/name)
- [`description`](https://reference.langchain.com/python/langchain-perplexity/tools/PerplexitySearchResults/description)
- [`client`](https://reference.langchain.com/python/langchain-perplexity/tools/PerplexitySearchResults/client)
- [`pplx_api_key`](https://reference.langchain.com/python/langchain-perplexity/tools/PerplexitySearchResults/pplx_api_key)
