AuthContext#

class langchain_community.chains.pebblo_retrieval.models.AuthContext[source]#

Bases: BaseModel

Class for an authorization context.

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

Raises ValidationError if the input data cannot be parsed to form a valid model.

param name: str | None = None#
param user_auth: List[str] [Required]#

List of user authorizations, which may include their User ID and the groups they are part of

param user_id: str [Required]#

Examples using AuthContext