Skip to content

Commit

Permalink
cleanup the repo.
Browse files Browse the repository at this point in the history
  • Loading branch information
kehiy committed Dec 26, 2024
1 parent f4abc44 commit 8391535
Show file tree
Hide file tree
Showing 17 changed files with 47 additions and 112 deletions.
4 changes: 2 additions & 2 deletions kinds/5000.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Jobs MIGHT specify a mime type as the <code>marker</code> in the <code>i</code>

Specifies a range on which to focus the transcription in seconds (for audio inputs)

```
```json
[ "param", "range", "<start>", "<end>" ]
```

Expand All @@ -24,7 +24,7 @@ Specifies alignment of labels (for audio inputs).
For example, if the output format supports timestamps, these will occur according to the alignment. If parameter is not set, the DVM decides the default alignment.
possible inputs `raw`, `segment`, `word`

```
```json
[ "param", "alignment", "raw" ]
```

Expand Down
2 changes: 1 addition & 1 deletion kinds/5001.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Job requests SHOULD include 1 one or more inputs. Inputs should be readily avail

Specifies the desired length in `words` or `paragraphs`.

```
```json
[ "param", "length", "<length>" ]
```

Expand Down
8 changes: 6 additions & 2 deletions kinds/5002.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Job requests SHOULD include 1 one or more inputs. Inputs should be readily avail

Specifies the desired output language

```
```json
[ "param", "language", "es" ]
```

Expand All @@ -38,4 +38,8 @@ Including but not limited to:
[ "param", "language", "es" ]
]
}
```
```

# Appendix A

Langue codes SHOULD be on [ISO 639-2/ISO 639-1](https://www.loc.gov/standards/iso639-2/php/code_list.php)
2 changes: 1 addition & 1 deletion kinds/5050.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Values greater than 1.0 discourage repetition, while values less than 1.0 encour

NOTE: All parameters are optional and additional application specific parameters can be added.

```
```json
[ "param", "model", "LLaMA-2" ],
[ "param", "max_tokens", "512" ],
[ "param", "temperature", "0.5" ],
Expand Down
2 changes: 0 additions & 2 deletions kinds/5100.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ Define a negative prompt that includes what the model should avoid during Genera
Description:
Specifies in the format of `${width}x${height}` (i.e `512x512`, `1024x768`) the exact size/dimension the image will be generated in. This param takes precedence over `ratio`. DVMs SHOULD ignore the job request if unable to fulfill the requested size



# Output

A link to the generated image(s)
Expand Down
2 changes: 1 addition & 1 deletion kinds/5200.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Clients provide a link to the input video. The link can either point directly to

Specifies a range if the video should be shortend.

```
```json
[ "param", "range", "<start>", "<end>" ]
```

Expand Down
48 changes: 8 additions & 40 deletions kinds/5201.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,70 +14,34 @@ Clients provide a link to the input video or a reference to an event or job ID.

Specifies the output language of the video. Input language is auto-detected.

```
```json
[ "param", "language", "es"]
```

| ID | Language |
| ---- | --------- |
| en | English |
| jp | Japanese |
| cn | Chinese |
| de | German |
| in | Tamil |
| fr | French |
| kr | Korean |
| br | Portuguese (Brazil) |
| pt | Portuguese (Portugal) |
| it | Italian |
| es | Spanish |
| id | Indonesian |
| nl | Dutch |
| tr | Turkish |
| ph | Filipino |
| pl | Polish |
| se | Swedish |
| bg | Bulgarian |
| ro | Romanian |
| se | Arabic (Saudi Arabia) |
| ae | Arabic (UAE) |
| cz | Czech |
| gr | Greek |
| fi | Finnish |
| hr | Croatian |
| my | Malay |
| sk | Slovak |
| dk | Danish |
| ua | Ukrainian |


## `subtitle`

Optional parameter. Specifies the language for subtitle captions that be burned into the video.

```
```json
[ "param", "subtitle", "en"]
```


## `range`

Optional parameter. Specifies a range if the video translation should be targeted to a specific timestamp range.

```
```json
[ "param", "range", "<start>", "<end>" ]
```


## `format`

Optional. If set the DVM uses the format to convert the video to the given format, otherwise it's up to the DVM to choose an output format. By using a format such as mp3, the video might also be converted to an audio file.

```
```json
[ "output", "video/mp4" ]
```


# Output

A link to the translated video.
Expand All @@ -99,3 +63,7 @@ A link to the translated video.
]
}
```

# Appendix A

Langue codes SHOULD be on [ISO 639-2/ISO 639-1](https://www.loc.gov/standards/iso639-2/php/code_list.php)
2 changes: 1 addition & 1 deletion kinds/5202.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ Clients provide a link to the input image. The link should point to an image fil
Params might be added at a later stage.

# Output
A link to the generated video

A link to the generated video

# Example

Expand Down
29 changes: 5 additions & 24 deletions kinds/5250.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,33 +12,10 @@ Clients provide an Input such as a prompt, an event or job ID.

Specifies the output language of the video. Input language is auto-detected.

```
```json
[ "param", "language", "en"]
```

# Params


| ID | Language |
| ---- | --------- |
| en | English |
| es | Spanish |
| fr | French |
| de | German |
| it | Italian |
| pt | Portugese |
| pl | Polish |
| tr | Turkish |
| ru | Russian |
| cs | Czech |
| ar | Arabic |
| zh-cn| Chinese |
| ja | Japanese |
| hu | Hungarian |
| ko | Korean |



# Output

A link to the generated audio.
Expand All @@ -57,3 +34,7 @@ A link to the generated audio.
]
}
```

# Appendix A

Langue codes SHOULD be on [ISO 639-2/ISO 639-1](https://www.loc.gov/standards/iso639-2/php/code_list.php)
12 changes: 4 additions & 8 deletions kinds/5300.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Clients should allow users to choose which DVM they want to use, send the reques
# Example

#### Request

```json
{
"content": "",
Expand All @@ -45,15 +46,10 @@ Clients should allow users to choose which DVM they want to use, send the reques
```

#### Response

```json
{
"kind": 6300,
"content": '
[ "e", "<...>", "relay-url" ],
[ "e", "<...>", "relay-url" ],
[ "e", "<...>", "relay-url" ],
[ "e", "<...>", "relay-url" ],
[ "a", "<...>", "relay-url" ]
'
"content": "[ \"e\", \"<...>\", \"relay-url\" ],[ \"e\", \"<...>\", \"relay-url\" ],[ \"e\", \"<...>\", \"relay-url\" ],[ \"e\", \"<...>\", \"relay-url\" ],[ \"a\", \"<...>\", \"relay-url\" ]"
}
```
```
11 changes: 4 additions & 7 deletions kinds/5301.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Clients should allow users to choose which DVM they want to use, send the reques
# Example

#### Request

```json
{
"content": "",
Expand All @@ -42,14 +43,10 @@ Clients should allow users to choose which DVM they want to use, send the reques
```

#### Response

```json
{
"kind": 6301,
"content": '
[ "p", "<...>" ],
[ "p", "<...>" ],
[ "p", "<...>" ],
[ "p", "<...>" ]
'
"content": "[ \"p\", \"<...>\" ],[ \"p\", \"<...>\" ],[ \"p\", \"<...>\" ],[ \"p\", \"<...>\" ]"
}
```
```
10 changes: 3 additions & 7 deletions kinds/5302.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ Clients can ask a Search DVM to return notes based on certain filters.
# Example

#### Request

```json
{
"content": "",

"kind": 5302,
"tags":
[
Expand All @@ -41,14 +41,10 @@ Clients can ask a Search DVM to return notes based on certain filters.
```

#### Response

```json
{
"kind": 6302,
"content": [
[ "e", "<...>" ],
[ "e", "<...>" ],
[ "e", "<...>" ],
[ "e", "<...>" ]
]
"content": "[ \"e\", \"<...>\" ],[ \"e\", \"<...>\" ],[ \"e\", \"<...>\" ],[ \"e\", \"<...>\" ]"
}
```
13 changes: 4 additions & 9 deletions kinds/5303.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ description: Job to search for profiles based on a prompt
---

# Input

Text to be included in the search

# Output
Expand All @@ -19,14 +20,13 @@ A `content` JSON-stringified list of tags. Tags SHOULD be `p`.

Clients can ask a Search DVM to return profiles based on certain filters.


# Example

#### Request

```json
{
"content": "",

"kind": 5303,
"tags":
[
Expand All @@ -40,11 +40,6 @@ Clients can ask a Search DVM to return profiles based on certain filters.
```json
{
"kind": 6303,
"content": '
[ "p", "<...>" ],
[ "p", "<...>" ],
[ "p", "<...>" ],
[ "p", "<...>" ]
'
"content": "[ \"p\", \"<...>\" ],[ \"p\", \"<...>\" ],[ \"p\", \"<...>\" ],[ \"p\", \"<...>\" ]"
}
```
```
4 changes: 4 additions & 0 deletions kinds/5400.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Clients may want to avoid downloading large datasets from many relays simply in
# Example

#### Request

```json
{
"content": "[{\"#t\":[\"zapathon\"]}]",
Expand All @@ -42,6 +43,7 @@ Clients may want to avoid downloading large datasets from many relays simply in
```

#### Response

```json
{
"kind": 6400,
Expand All @@ -50,6 +52,7 @@ Clients may want to avoid downloading large datasets from many relays simply in
```

#### Request

```json
{
"content": "[{\"#kinds\":[7], \"#e\":[\"7b0d90f1973da1cea186c85fbd09b3e4e455ce4d438b60a3d1f9aabc1681418f\"}]",
Expand All @@ -61,6 +64,7 @@ Clients may want to avoid downloading large datasets from many relays simply in
```

#### Response

```json
{
"kind": 6400,
Expand Down
4 changes: 0 additions & 4 deletions kinds/5500.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ If no malware was found, `content` is set to the string `CLEAN`. If malware was

```json
{
...
"content": "Scanning eicar.com.txt
eicar.com.txt: Win.Test.EICAR_HDB-1 FOUND
eicar.com.txt: Win.Test.EICAR_HSB-1 FOUND
Expand All @@ -49,7 +48,6 @@ Time: 12.757 sec (0 m 12 s)
Start Date: 2024:01:15 17:01:38
End Date: 2024:01:15 17:01:51",
"kind": 6500
...
}
```

Expand Down Expand Up @@ -77,9 +75,7 @@ End Date: 2024:01:15 17:01:51",

```json
{
...
"content": "CLEAN",
"kind": 6500
...
}
```
2 changes: 1 addition & 1 deletion kinds/5900.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Event ID to be stamped.
}
```

## Desponse
## Response

```json
{
Expand Down
Loading

0 comments on commit 8391535

Please sign in to comment.