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
Copy file name to clipboardExpand all lines: apps/docs/docs/quick-start/set-up-runner.mdx
+5-4
Original file line number
Diff line number
Diff line change
@@ -89,25 +89,26 @@ You should receive a successful response with the list of installed connectors a
89
89
By default, the [connery-io/connery-runner-administration](https://github.com/connery-io/connery-runner-administration) connector is preinstalled on the runner.
90
90
:::
91
91
92
-
### Run action using natural language
92
+
### Identify action using natural language
93
93
94
-
Here is an example of using Natural Language Actions API to run the `RefreshConnectorsCache`action from the `connery-io/connery-runner-administration` connector.
94
+
Here is an example of using Natural Language Actions API to identify action based on the natural language request.
95
95
96
96
:::info
97
97
The `OPENAI_API_KEY` is required for the Natural Language Actions feature to work.
98
98
If you configure it just now, you must restart the runner to apply the changes.
99
99
:::
100
100
101
101
```
102
-
curl '<PUBLIC_RUNNER_URL>actions/run' \
102
+
curl '<PUBLIC_RUNNER_URL>actions/identify' \
103
103
-H 'Content-Type: application/json' \
104
104
-H 'x-api-key: <CONNERY_RUNNER_API_KEY>' \
105
105
-d '{
106
106
"prompt": "Please clean connectors cache on the runner."
107
107
}' | jq .
108
108
```
109
109
110
-
You should receive a natural language response from the runner.
110
+
You should receive a response from the runner with the identified action, its connector, and the list of input parameters.
111
+
Once the action is identified, you can run it using the API call from the next step.
0 commit comments