-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtests.hurl
More file actions
75 lines (71 loc) · 1.6 KB
/
Copy pathtests.hurl
File metadata and controls
75 lines (71 loc) · 1.6 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
POST {{host}}/v1/tagger?indent=true
content-type: application/json
[
{ "value": "This is a test text for the ner model. Model has to extract software such as BioImag Softr." },
{ "value": "An RNN-based model was designed using Python3 language with the PyTorch packages." },
{ "value": "There is no software in this sentence." }
]
HTTP 200
[{
"value": {
"SOFT": [
"BioImag Softr"
]
}
},
{
"value": {
"SOFT": [
"Python3",
"PyTorch"
]
}
},
{
"value": {
"SOFT": []
}
}]
POST {{host}}/v1/tagger-oa?indent=true
content-type: application/json
[
{ "value": "This is a test text for the ner model. Model has to extract software such as BioImag Softr." },
{ "value": "An RNN-based model was designed using Python3 language with the PyTorch packages." },
{ "value": "There is no software in this sentence." }
]
HTTP 200
[{
"value": {
"SOFT": [
{
"name": "BioImag Softr",
"status": "not_found",
"code_url": "",
"license": ""
}
]
}
},
{
"value": {
"SOFT": [
{
"name": "Python3",
"status": "found",
"code_url": "",
"license": "BSD"
},
{
"name": "PyTorch",
"status": "found",
"code_url": "https://github.com/pytorch/pytorch/blob/main/CODE_OF_CONDUCT.md",
"license": "BSD-3-Clause"
}
]
}
},
{
"value": {
"SOFT": []
}
}]