File size: 902 Bytes
f039650
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
----
-title: Argilla Webhooks
-emoji: 🐠
-colorFrom: indigo
-colorTo: indigo
-sdk: docker
-pinned: false
----
-
-Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
## Description

This is a basic webhook example to show how to setup webhook listeners  using the argilla SDK

## Running the app

1. Start argilla server and argilla worker
```bash
pdm server start
pdm worker
```

2. Add the `localhost.org` alias in the `/etc/hosts` file to comply with the Top Level Domain URL requirement.
```
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting.  Do not change this entry.
##
127.0.0.1       localhost localhost.org
```

2. Start the app
```bash
uvicorn main:server
```

## Testing the app

You can see in se server logs traces when working with dataset, records and responses in the argilla server