Skip to content

Commit a9709b9

Browse files
authored
Update to v0.1.0
1 parent af8044f commit a9709b9

File tree

1 file changed

+62
-36
lines changed

1 file changed

+62
-36
lines changed

odtp.yml

Lines changed: 62 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,62 @@
1-
# This file should contain basic component information such as
2-
3-
- name: Component Example
4-
- component_version: 0.0.1
5-
- repository: https://github.com/odtp-org/tool-example
6-
- commit:
7-
- author: SDSC
8-
- original_author: SDSC
9-
- description: Tool used for testing of odtp component
10-
- tags: ["example", "tutorial"]
11-
- arguments:
12-
- HF_DATASET: string
13-
- inputs:
14-
- data: /data
15-
- devices:
16-
- gpus: False
17-
- inputSchema: ...
18-
- outputSchema: ...
19-
- env:
20-
- HF_DATASET: rotten_tomatoes
21-
- odtp.ports:
22-
- api: 7100
23-
- logger: 7101
24-
- odtp.env:
25-
- ODTP_MONGO_SERVER
26-
- ODTP_S3_SERVER
27-
- ODTP_BUCKET_NAME
28-
- ODTP_ACCESS_KEY
29-
- ODTP_SECRET_KEY
30-
- ODTP_USER_ID
31-
- ODTP_DIGITAL_TWIN
32-
- ODTP_EXCUTION
33-
- ODTP_STEP
34-
- ODTP_COMPONENT
35-
- ODTP_COMPONENT_VERSION
36-
- ODTP_SAVE_SNAPSHOT
1+
# This file should contain basic component information for your component.
2+
component-name: odtp-eqasim-matsim
3+
component-author: Carlos Vivar Rios
4+
component-version: 0.1.0
5+
component-repository: https://github.com/odtp-org/odtp-component-example
6+
component-license: AGPL-3.0
7+
component-type: ephemeral
8+
component-description: ODTP component to download a HF_DATASET
9+
tags:
10+
- huggingface
11+
- testing
12+
- example
13+
14+
# Information about the tools
15+
tools:
16+
- tool-name: odtp-org/tool-example
17+
tool-author: Carlos Vivar Rios
18+
tool-version: 88f953f0aabbfb08189bdc3212aa1c209fbedb2d
19+
tool-repository: https://github.com/odtp-org/tool-example
20+
tool-license: AGPL-3.0
21+
22+
# If your tool require some secrets token to be passed as ENV to the component
23+
# This won't be traced in MongoDB
24+
secrets: null
25+
26+
# If the tool requires some building arguments such as Matlab license
27+
build-args: null
28+
29+
# If applicable, ports exposed by the component
30+
# Include Name, Description, and Port Value for each port
31+
ports: null
32+
33+
# If applicable, parameters exposed by the component
34+
# Datatype can be str, int, float, or bool.
35+
parameters:
36+
- name: HF_DATASET
37+
default-value: rooten_tomatoes
38+
datatype: string
39+
description: Hugging face dataset key
40+
options:
41+
- rooten_tomatoes
42+
allow-custom-value: true
43+
44+
# If applicable, data-input list required by the component
45+
data-inputs: null
46+
47+
# If applicable, data-output list produced by the component
48+
data-output:
49+
- name: dataset
50+
type: csv
51+
path: .
52+
description: Output from dataset
53+
54+
55+
# If applicable, path to schemas to perform semantic validation.
56+
# Still under development. Ignore.
57+
schema-input: null
58+
schema-output: null
59+
60+
# If applicable, define devices needed such as GPU.
61+
devices:
62+
gpu: false

0 commit comments

Comments
 (0)