RememberizerAPIWrapper#

class langchain_community.utilities.rememberizer.RememberizerAPIWrapper[source]#

Bases: BaseModel

Wrapper for Rememberizer APIs.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

param rememberizer_api_key: str | None = None#
param top_k_results: int = 10#
load(query: str) List[Document][source]#
Parameters:

query (str)

Return type:

List[Document]

search(query: str) dict[source]#

Search for a query in the Rememberizer API.

Parameters:

query (str)

Return type:

dict