Skip to content

Commit

Permalink
Merge pull request #196 from superlinked/dhruv/enum-lang
Browse files Browse the repository at this point in the history
Constraining dev languages to enum
  • Loading branch information
dhruv-anand-aintech authored Feb 2, 2024
2 parents a24f936 + b7160c0 commit bfa549a
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 13 deletions.
2 changes: 1 addition & 1 deletion docs/tools/vdb_table/data/anariai.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"dev_languages": {
"value": [
""
"not known"
],
"source_url": "",
"comment": ""
Expand Down
2 changes: 1 addition & 1 deletion docs/tools/vdb_table/data/aperturedb.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"dev_languages": {
"value": [
""
"not known"
],
"source_url": "",
"comment": ""
Expand Down
6 changes: 2 additions & 4 deletions docs/tools/vdb_table/data/azureai.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@
},
"dev_languages": {
"value": [
"C#",
"C++",
"Java"
"c++"
],
"source_url": "",
"comment": ""
Expand Down Expand Up @@ -151,4 +149,4 @@
"source_url": "https://learn.microsoft.com/azure/search/vector-search-how-to-generate-embeddings",
"comment": ""
}
}
}
2 changes: 1 addition & 1 deletion docs/tools/vdb_table/data/gcpvertexai.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"dev_languages": {
"value": [
""
"not known"
],
"source_url": "",
"comment": ""
Expand Down
2 changes: 1 addition & 1 deletion docs/tools/vdb_table/data/neo4j.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"dev_languages": {
"value": [
""
"not known"
],
"source_url": "",
"comment": ""
Expand Down
2 changes: 1 addition & 1 deletion docs/tools/vdb_table/data/rockset.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"dev_languages": {
"value": [
""
"not known"
],
"source_url": "",
"comment": ""
Expand Down
19 changes: 15 additions & 4 deletions docs/tools/vdb_table/vendor.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"links": {"allOf": [{"$ref": "#/$defs/links"}], "$comment": "About | Links | " },
"oss": {"allOf": [{"$ref": "#/$defs/featureWithSource"}], "$comment": "About | OSS | The code-base is open source and users can self-host it for free." },
"license": {"allOf": [{"$ref": "#/$defs/stringWithSource"}], "$comment": "About | License | The license the source code is released under." },
"dev_languages": {"allOf": [{"$ref": "#/$defs/stringListWithSource"}], "$comment": "About | Dev Lang | The language the database is developed in." },
"dev_languages": {"allOf": [{"$ref": "#/$defs/devLanguageListWithSource"}], "$comment": "About | Dev Lang | The language the database is developed in." },
"github_stars": {"type": "integer", "$comment": "About | GitHub ⭐ | The number of stars for the core product repository." },
"vector_launch_year": {"type": "integer", "$comment": "About | VSS Launch | The year of the first release for the vector search functionality." },
"metadata_filter": {"allOf": [{"$ref": "#/$defs/featureWithSource"}], "$comment": "Search | Filters | Metadata filtering support within vector search - allowing users to refine results based on additional contextual informatio and enhancing precision in search queries. Not to be confused with filters/faceting in Lucene based keyword search." },
Expand Down Expand Up @@ -69,14 +69,25 @@
"comment": {"type": "string"}
}
},
"stringListWithSource": {
"$id": "stringListWithSource",
"devLanguageListWithSource": {
"$id": "devLanguageListWithSource",
"type": "object",
"properties": {
"value": {
"type": "array",
"items": {
"type": "string"
"type": "string",
"enum": [
"python",
"c++",
"c",
"c#",
"go",
"java",
"rust",
"typescript",
"not known"
]
}
},
"source_url": {"type": "string"},
Expand Down

0 comments on commit bfa549a

Please sign in to comment.