Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
@@ -7,32 +7,4 @@ sdk: gradio
|
|
7 |
sdk_version: 4.44.1
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
-
---
|
11 |
-
|
12 |
-
## Description
|
13 |
-
|
14 |
-
This space is a basic server webhooks example to show how to set up webhook listeners using the argilla SDK.
|
15 |
-
|
16 |
-
The application defines three webhook listeners for the following events:
|
17 |
-
|
18 |
-
- Record events: `record.deleted`, `record.completed`
|
19 |
-
- Dataset events: `dataset.created`, `dataset.updated`, `dataset.deleted`, `dataset.published`
|
20 |
-
- Response events: `response.created`, `response.updated`
|
21 |
-
|
22 |
-
The events are stored in a queue and displayed in the JSON component and the incoming events is updated every second.
|
23 |
-
|
24 |
-
This application is just a demonstration of how to use the Argilla webhook listeners. You can visit the
|
25 |
-
[Argilla documentation](https://docs.argilla.io/latest/how_to_guides/webhooks) for more information.
|
26 |
-
|
27 |
-
## Running the app
|
28 |
-
|
29 |
-
First create an HF space running the argilla server. Be sure the argilla space is public.
|
30 |
-
|
31 |
-
Once the server is up and running, you duplicate the space and configure the following environment variables:
|
32 |
-
|
33 |
-
- `ARGILLA_API_URL`: The URL of the argilla server.
|
34 |
-
- `ARGILLA_API_KEY`: The API key to access the argilla server.
|
35 |
-
|
36 |
-
## Testing the app
|
37 |
-
|
38 |
-
Open the gradio application. You can see incoming events from the argilla server.
|
|
|
7 |
sdk_version: 4.44.1
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
+
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|