Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ToolDependencies to Include Functional Type #264

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions openapi/commons/components/schemas/ToolDependencies.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
type: object
description: A list of tool dependencies
properties:
tools:
description: A list of tools
toolDependencies:
description: A list of tool dependencies
type: array
items:
$ref: Tool.yaml
$ref: ToolDependency.yaml
required:
- tools
- toolDependencies
23 changes: 23 additions & 0 deletions openapi/commons/components/schemas/ToolDependency.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
type: object
description: Information about an NLP tool within the context of its use
properties:
tool:
$ref: Tool.yaml
functionalType:
$ref: ../parameters/ToolType.yaml
required:
- tool
- functionalType
example:
tool:
name: awesome-nlp-tool
version: 1.0.6
license: apache-2.0
repository: github:awesome-org/awesome-nlp-tool
description: An awesome NLP Tool that takes as input X and outputs Y.
author: Awesome Team
authorEmail: [email protected]
url: https://example.com
type: nlpsandbox:phi-annotator
apiVersion: 1.2.0
functionalType: nlpsandbox:date-annotator