Filter_Objects module utilities and functionality.
Name | Type | Description |
---|---|---|
query | str | The query string. |
operator | str | The operator used in the query. |
exactMatch | bool | Indicates whether the query requires an exact match. |
Name | Type | Description |
---|---|---|
query | str | The query string. |
operator | str | The operator used in the query. |
exactMatch | bool | Indicates whether the query requires an exact match. |
Name | Type | Description |
---|---|---|
id | str | The ID of the query object. |
query | RuleGroupType | The query object. |
Name | Type | Description |
---|---|---|
incomingQuery | str | The incoming query string. |
Name | Description |
---|---|
List[[RuleType](/sdk/python/references/models/prompt)] | A list of RuleType objects. |
Name | Type | Description |
---|---|---|
ruleGroup | RuleGroupType | The rule group to evaluate. |
incomingQueryRules | List[RuleType] | The incoming query rules. |
Name | Description |
---|---|
bool | True if the rule group matches, False otherwise. |
Name | Type | Description |
---|---|---|
fieldRule | RuleType | The rule with the operator. |
fieldIncomingRule | RuleType | The incoming rule. |
Name | Description |
---|---|
bool | True if the operator matches, False otherwise. |
Name | Type | Description |
---|---|---|
fieldRule | RuleType | The rule with the condition. |
fieldIncomingRule | RuleType | The incoming rule. |
Name | Description |
---|---|
bool | True if the condition is met, False otherwise. |
Name | Type | Description |
---|---|---|
objects | List[QueryObject] | The list of objects to search through. |
incomingQuery | IncomingQuery | The incoming query to match against. |
Name | Description |
---|---|
Optional[[QueryObject](/sdk/python/references/filter_objects)] | The best match for the incoming query, or None if no match is found. |
Name | Type | Description |
---|---|---|
objects | List[QueryObject] | The list of objects to search through. |
incoming_query | IncomingQuery | The incoming query to match against. |
Name | Description |
---|---|
List[[QueryObject](/sdk/python/references/filter_objects)] | A list of all matches for the incoming query. |