搜索过滤器#

class langchain_aws.retrievers.bedrock.SearchFilter[source]#

基础类:BaseModel

检索的过滤器配置。

通过解析和验证来自关键字参数的输入数据来创建一个新模型。

如果输入数据无法验证以形成有效模型,则引发 [ValidationError][pydantic_core.ValidationError]。

self 被显式地设为仅位置参数,以允许 self 作为字段名称。

param andAll: List[SearchFilter] | None = None#
param equals: Dict[str, Dict[str, Any] | List[Any] | int | float | str | bool | None] | None = None#
param greaterThan: Dict[str, Dict[str, Any] | List[Any] | int | float | str | bool | None] | None = None#
param greaterThanOrEquals: Dict[str, Dict[str, Any] | List[Any] | int | float | str | bool | None] | None = None#
param in_: Dict[str, Dict[str, Any] | List[Any] | int | float | str | bool | None] | None = None (alias 'in')#
param lessThan: Dict[str, Dict[str, Any] | List[Any] | int | float | str | bool | None] | None = None#
param lessThanOrEquals: Dict[str, Dict[str, Any] | List[Any] | int | float | str | bool | None] | None = None#
param listContains: Dict[str, Dict[str, Any] | List[Any] | int | float | str | bool | None] | None = None#
param notEquals: Dict[str, Dict[str, Any] | List[Any] | int | float | str | bool | None] | None = None#
param notIn: Dict[str, Dict[str, Any] | List[Any] | int | float | str | bool | None] | None = None#
param orAll: List[SearchFilter] | None = None#
param startsWith: Dict[str, Dict[str, Any] | List[Any] | int | float | str | bool | None] | None = None#
param stringContains: Dict[str, Dict[str, Any] | List[Any] | int | float | str | bool | None] | None = None#