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][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 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