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

Fix Bug: Correct labels of yaml files in labeled_data directory. #1487

Merged
merged 4 commits into from
Jan 11, 2024
Merged
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
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Artificial Intelligence - application - audio
type: Tech-1
name: Artificial Intelligence - Generative Artificial Intelligence - Application - Audio
type: Tech-3
data:
platforms:
- name: GitHub
Expand Down
4 changes: 2 additions & 2 deletions labeled_data/technology/ai/generative_ai/application/code.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Artificial Intelligence - application - code
type: Tech-1
name: Artificial Intelligence - Generative Artificial Intelligence - Application - Code
type: Tech-3
data:
platforms:
- name: GitHub
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Artificial Intelligence - application - image
type: Tech-1
name: Artificial Intelligence - Generative Artificial Intelligence - Application - Image
type: Tech-3
data:
platforms:
- name: GitHub
Expand Down
11 changes: 9 additions & 2 deletions labeled_data/technology/ai/generative_ai/application/index.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: Application
type: Tech-1
name: Artificial Intelligence - Generative Artificial Intelligence - Application
type: Tech-2
data:
labels:
- audio
- code
- image
- text
- other
- video
platforms:
frank-zsy marked this conversation as resolved.
Show resolved Hide resolved
- name: GitHub
type: Code Hosting
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Artificial Intelligence - application - other
type: Tech-1
name: Artificial Intelligence - Generative Artificial Intelligence - Application - Other
type: Tech-3
data:
platforms:
- name: GitHub
Expand Down
4 changes: 2 additions & 2 deletions labeled_data/technology/ai/generative_ai/application/text.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Artificial Intelligence - application - text
type: Tech-1
name: Artificial Intelligence - Generative Artificial Intelligence - Application - Text
type: Tech-3
data:
platforms:
- name: GitHub
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Artificial Intelligence - application - video
type: Tech-1
name: Artificial Intelligence - Generative Artificial Intelligence - Application - Video
type: Tech-3
data:
platforms:
- name: GitHub
Expand Down
1 change: 1 addition & 0 deletions labeled_data/technology/ai/generative_ai/index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ data:
- model
- tool
- application
- infrastructure
platforms:
frank-zsy marked this conversation as resolved.
Show resolved Hide resolved
- name: GitHub
type: Code Hosting
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Artificial Intelligence - infrastructure - data
type: Tech-1
name: Artificial Intelligence - Generative Artificial Intelligence - Infrastructure - Data
type: Tech-3
data:
platforms:
- name: GitHub
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Artificial Intelligence - infrastructure - document
type: Tech-1
name: Artificial Intelligence - Generative Artificial Intelligence - Infrastructure - Document
type: Tech-3
data:
platforms:
- name: GitHub
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: Artificial Intelligence - Generative Artificial Intelligence - Infrastructure
type: Tech-2
data:
labels:
- data
- document
- platform_and_environment
- vector_database
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Artificial Intelligence - infrastructure - platform & environment
type: Tech-1
name: Artificial Intelligence - Generative Artificial Intelligence - Infrastructure - Platform & Environment
type: Tech-3
data:
platforms:
- name: GitHub
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Artificial Intelligence - infrastructure - vector database
type: Tech-1
name: Artificial Intelligence - Generative Artificial Intelligence - Infrastructure - Vector Database
type: Tech-3
data:
platforms:
- name: GitHub
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Artificial Intelligence - model - framework & architecture
type: Tech-1
name: Artificial Intelligence - Generative Artificial Intelligence - Model - Framework & Architecture
type: Tech-3
data:
platforms:
- name: GitHub
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Artificial Intelligence - model - fundamental model
type: Tech-1
name: Artificial Intelligence - Generative Artificial Intelligence - Model - Fundamental Model
type: Tech-3
data:
platforms:
- name: GitHub
Expand Down
8 changes: 6 additions & 2 deletions labeled_data/technology/ai/generative_ai/model/index.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Model
type: Tech-1
name: Artificial Intelligence - Generative Artificial Intelligence - Model
type: Tech-2
data:
labels:
- framework_and_architecture
- fundamental_model
- variant_model
platforms:
- name: GitHub
type: Code Hosting
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Artificial Intelligence - model - variant model
type: Tech-1
name: Artificial Intelligence - Generative Artificial Intelligence - Model - Variant Model
type: Tech-3
data:
platforms:
- name: GitHub
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Artificial Intelligence - tool - deployment tool
type: Tech-1
name: Artificial Intelligence - Generative Artificial IntellIgence - Tool - Deployment Tool
type: Tech-3
data:
platforms:
- name: GitHub
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Artificial Intelligence - tool - develop tool
type: Tech-1
name: Artificial Intelligence - Generative Artificial Intelligence - Tool - Develop Tool
type: Tech-3
data:
platforms:
- name: GitHub
Expand Down
9 changes: 7 additions & 2 deletions labeled_data/technology/ai/generative_ai/tool/index.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: Tool
type: Tech-1
name: Artificial Intelligence - Generative Artificial Intelligence - Tool
type: Tech-2
data:
labels:
- deployment_tool
- develop_tool
- production_monitor
- prompt_engineering
platforms:
- name: GitHub
type: Code Hosting
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Artificial Intelligence - production monitor
type: Tech-1
name: Artificial Intelligence - GenerAtive Artificial Intelligence - Tool - Production Monitor
type: Tech-3
data:
platforms:
- name: GitHub
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Artificial Intelligence - tool - prompt engineering
type: Tech-1
name: Artificial Intelligence - Generative Artificial InteLligence - Tool - Prompt Engineering
type: Tech-3
data:
platforms:
- name: GitHub
Expand Down
4 changes: 2 additions & 2 deletions labeled_data/technology/ai/large_language_model/index.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Large Language Model
type: Tech-0
name: Artificial Intelligence - Large Language Model
type: Tech-1
data:
platforms:
- name: GitHub
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: Cloud Native - App Definition and Development - Application Definition &
Image Build
name: Cloud Native - App Definition and Development - Application Definition & Image Build
type: Tech-2
data:
platforms:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: Cloud Native - App Definition and Development - Continuous Integration &
Delivery
name: Cloud Native - App Definition and Development - Continuous Integration & Delivery
type: Tech-2
data:
platforms:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Cloud Native - Platform - Certified Kubernetes - Distribution
name: Cloud Native - Platform - Certified Kubernetes Distribution
type: Tech-2
data:
platforms:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Cloud Native - Platform - Certified Kubernetes - Hosted
name: Cloud Native - Platform - Certified Kubernetes Hosted
type: Tech-2
data:
platforms:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Cloud Native - Platform - Certified Kubernetes - Installer
name: Cloud Native - Platform - Certified Kubernetes Installer
type: Tech-2
data:
platforms:
Expand Down
2 changes: 1 addition & 1 deletion src/label_data_utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const labelInputPath = path.join(__dirname, labelInputDir);

const checkKeysAndTypes = {
labelTypes: new Set<string>([
'Region', 'Company', 'Community', 'Project', 'Foundation', 'Tech-0', 'Tech-1', 'Tech-2', 'Domain-0', 'Bot'
'Region', 'Company', 'Community', 'Project', 'Foundation', 'Tech-0', 'Tech-1', 'Tech-2', 'Tech-3', 'Domain-0', 'Bot'
]),
labelKeys: new Set<string>([
'labels', 'platforms'
Expand Down