Update README.md
This commit is contained in:
@@ -14,6 +14,14 @@ your actions.
|
|||||||
Create a workflow to use the AI inference action:
|
Create a workflow to use the AI inference action:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
name: "AI inference"
|
||||||
|
on: workflow_dispatch
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
inference:
|
||||||
|
permissions:
|
||||||
|
models: read
|
||||||
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Test Local Action
|
- name: Test Local Action
|
||||||
id: inference
|
id: inference
|
||||||
@@ -23,7 +31,7 @@ steps:
|
|||||||
|
|
||||||
- name: Print Output
|
- name: Print Output
|
||||||
id: output
|
id: output
|
||||||
run: echo "${{ steps.test-action.outputs.response }}"
|
run: echo "${{ steps.inference.outputs.response }}"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Inputs
|
## Inputs
|
||||||
|
|||||||
Reference in New Issue
Block a user