Re:Show HN: YoBulk – Open Source GPT powered CSV importer[Fl...
by yosai on Tuesday February 21, 2023 @01:17PM
(#34884654)
@nerdponx Yes YoBulk provides a way to write JSON schemas by hand..We have added some custom keyword like validate which is not defined in JSON standard..But our validation engine can understand that..You can pass a javascript function through validate keyword..It's a game changer..
"first_name":{
"type":"string",
"format": "first_name",
"validate": "(x) => {\r\n let regex = new RegExp(\"([a-z][a-zA-Z]*)\");\r\n return regex.test(x);\r\n }"
},
[ Parent
| on HN ]
Re:Show HN: YoBulk – Open Source GPT powered CSV importer[Fl...
by nerdponx on Tuesday February 21, 2023 @01:25PM
(#34884761)
This is a very interesting combination of technologies. Thank you again for explaining how they work! I tend to prefer open-source solutions for my own work, but I can see this being highly useful and valuable for many businesses.