You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[`capture`](#capture)<br />Find and return the first occurrence of a regex in the input string | String |`regex`| String |
24
-
|[`difference`](#difference)<br />Given two lists, keep only items that are in the 1st list but not in the 2nd. |[Objects]|`list`|[Objects]|
25
-
|[`every`](#every)<br />Checks whether all element in the list are `true`|[Bool]| - | Bool |
26
-
|[`filter`](#filter)<br />Reduce list of items into a list of same items that match the specified term |[String]<br />[Object]|`regex`, `term`, `list`, `attr`|[String]<br />[Object]|
27
-
|[`includes`](#match)<br />Check if substring match | String |`regex`, `term`, `list`| Bool |
28
-
|[`intersection`](#intersection)<br />Given two lists, keep only items that are in both lists. |[Objects]|`list`|[Objects]|
29
-
|[`map`](#map)<br />Maps each object in a list into their specified attribute value |[Object]|`attr`|[Object]|
30
-
|[`match`](#match)<br />Maps list of items into a list of booleans that match the specified term |[String]<br />[Object]|`regex`, `term`, `list``attr`|[Bool]|
31
-
|[`nope`](#nope)<br />Checks whether all element in the list are `false`|[Bool]| - | Bool |
32
-
|[`reject`](#reject)<br />Inverse of [`filter`](#filter), the result list contains non-matching items |[String]<br />[Object]|`regex`, `term`, `list`, `attr`|[String]<br />[Object]|
33
-
|[`some`](#some)<br />Checks whether at least one element in the list is `true`|[Bool]| - | Bool |
|[`capture`](#capture)<br />Find and return the first occurrence of a regex in the input string | String |`regex`| String |
24
+
|[`difference`](#difference)<br />Given two lists, keep only items that are in the 1st list but not in the 2nd. |[Objects]|`list`|[Objects]|
25
+
|[`every`](#every)<br />Checks whether all element in the list are `true`|[Bool]| - | Bool |
26
+
|[`filter`](#filter)<br />Reduce list of items into a list of same items that match the specified term |[String]<br />[Object]|`regex`, `term`, `list`, `attr`|[String]<br />[Object]|
27
+
|[`includes`](#match)<br />Check if substring match | String |`regex`, `term`, `list`| Bool |
28
+
|[`intersection`](#intersection)<br />Given two lists, keep only items that are in both lists. |[Objects]|`list`|[Objects]|
29
+
|[`map`](#map)<br />Maps each object in a list into their specified attribute value |[Object]|`attr`|[Object]|
30
+
|[`match`](#match)<br />Maps list of items into a list of booleans that match the specified term |[String]<br />[Object]|`regex`, `term`, `list``attr`|[Bool]|
31
+
|[`nope`](#nope)<br />Checks whether all element in the list are `false`|[Bool]| - | Bool |
32
+
|[`reject`](#reject)<br />Inverse of [`filter`](#filter), the result list contains non-matching items |[String]<br />[Object]|`regex`, `term`, `list`, `attr`|[String]<br />[Object]|
33
+
|[`some`](#some)<br />Checks whether at least one element in the list is `true`|[Bool]| - | Bool |
34
34
35
35
36
36
</div>
@@ -41,7 +41,7 @@ The following functions are supported in addition to the built-in functions prov
|[`allDocs`](#alldocs)<br />Checks the list includes only documents |[`files`](./context-variables.md#files)| - |Bool |
44
+
|[`AI_DescribePR`](#AI_DescribePR)<br />Returns an AI-generated description of the PR based on the provided input diff| Object| - |String|
45
45
|[`allImages`](#allimages)<br />Checks the list includes only images |[`files`](./context-variables.md#files)| - | Bool |
46
46
|[`allTests`](#alltests)<br />Checks the list includes only tests |[`files`](./context-variables.md#files)| - | Bool |
47
47
|[`codeExperts`](#codeexperts)<br />Get list of contributors based on expert reviewer model results |[`repo`](./context-variables.md#repo)|`gt`, `lt`|[String]|
@@ -339,6 +339,33 @@ In case you want to exclude more files, like all `txt` under the `requirements`
Leverage LinearB's AI to assist with generating a concise and meaningful description for pull requests based on the provided context. Streamline the review process by summarizing the purpose and key changes in a PR, reducing the manual effort and cognitive load for developers and reviewers.
0 commit comments