gpt3-builder 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9de975429652ccf201fa2ae7ba5c68f5181fffcf8f5568b25867d2bfb223ba3b
4
- data.tar.gz: 204bae2f48005f773ad746bbd3a4ae9ff36bc254902655914573cd503fed994e
3
+ metadata.gz: 93c4b8c04ee4c7e1c4a75207289cd4cc7841096941edfc872853b83764e6d1eb
4
+ data.tar.gz: c60e49915b22d98bd056d6e8a106aaa652bb14fdf682ff4eec7264ee285f895b
5
5
  SHA512:
6
- metadata.gz: 598b5f1746c59ba2c1092ba41e3297c6401192c77f3434837a1a6d083d810b4265296625ca51a870f7a7d77cbb619fd8a6c407c0113541bc7a8d086d0b53f0b2
7
- data.tar.gz: 64b4715c151a88c1a585d9696d690530981ff33984babbd240d9dbca50ddb5ffe981ab74a192dcd8ee439ac30c479b2933ccf1d1d6ab8d5f358eab5e29e5f8dc
6
+ metadata.gz: 43be32a5f03585a3dcbfa886f2c50fff54771f9a9e905b67655dd7994a6e0fff1f27f542f198a5a5d2eda9374e617a9c55df380419b06a004b461c725d4e4347
7
+ data.tar.gz: 1b9e3f54b23512ab0ff2d4fa44bbf1c19e242eb2b3c4f0b6dd6956e087d8da984bfa85c154fc99c560918b306be6977e72cc585643e302bb14ef1315893193fa
data/.builders/_.rb ADDED
@@ -0,0 +1 @@
1
+ # require_relative './path/here'
data/.builders/boot.rb ADDED
@@ -0,0 +1,40 @@
1
+ # Boot Sequence
2
+
3
+ include KLog::Logging
4
+
5
+ CONFIG_KEY = :gpt3_builder
6
+
7
+ log.kv 'working folder', Dir.pwd
8
+
9
+ KConfig.configure do |config|
10
+ config.handlebars.defaults.add_all_defaults
11
+ end
12
+
13
+ def k_builder
14
+ @k_builder ||= KBuilder::BaseBuilder.init(KConfig.configuration(CONFIG_KEY))
15
+ end
16
+
17
+ KConfig.configure(CONFIG_KEY) do |config|
18
+ builder_folder = Dir.pwd
19
+ base_folder = File.expand_path('../', builder_folder)
20
+ global_template = File.expand_path('~/dev/kgems/k_templates/templates')
21
+
22
+ config.template_folders.add(:global_template , global_template)
23
+ config.template_folders.add(:template , File.expand_path('.templates', Dir.pwd))
24
+
25
+ config.target_folders.add(:app , base_folder)
26
+ config.target_folders.add(:builder , builder_folder)
27
+ config.target_folders.add(:docs , :app, 'docs')
28
+ end
29
+
30
+ KConfig.configuration(CONFIG_KEY).debug
31
+
32
+ area = KManager.add_area(CONFIG_KEY)
33
+ resource_manager = area.resource_manager
34
+ resource_manager
35
+ .fileset
36
+ .glob('*.rb', exclude: ['boot.rb'])
37
+ .glob('generators/**/*.rb')
38
+ resource_manager.add_resources
39
+
40
+ KManager.boot
@@ -0,0 +1,90 @@
1
+ KManager.action :bootstrap do
2
+ action do
3
+ application_name = :gpt3_builder
4
+
5
+ director = KDirector::Dsls::BasicDsl
6
+ .init(k_builder,
7
+ on_exist: :skip, # %i[skip write compare]
8
+ on_action: :queue # %i[queue execute]
9
+ )
10
+ .data(
11
+ application: application_name,
12
+ application_description: 'Add draw-io graph support for project plan and domain modeling',
13
+ author: 'David Cruwys',
14
+ author_email: 'david@ideasmen.com.au',
15
+ initial_semver: '1.0.0',
16
+ main_story: '',
17
+ copyright_date: '2022'
18
+ )
19
+ .github(
20
+ active: true,
21
+ repo_name: application_name
22
+ ) do
23
+ create_repository
24
+ # delete_repository
25
+ # list_repositories
26
+ open_repository
27
+ # run_command('git init')
28
+ end
29
+ .blueprint(
30
+ active: false,
31
+ name: :bin_hook,
32
+ description: 'initialize repository',
33
+ on_exist: :write) do
34
+
35
+ cd(:app)
36
+
37
+ run_command('git init')
38
+ add('.gitignore')
39
+
40
+ run_template_script('.git-setup.sh', dom: dom)
41
+
42
+ run_command("git add .; git commit -m 'chore: #{self.options.description.downcase}'; git push")
43
+ run_command("gh repo edit -d \"#{dom[:application_description]}\"")
44
+ end
45
+ .package_json(
46
+ active: false,
47
+ name: :package_json,
48
+ description: 'Set up the package.json file for semantic versioning'
49
+ ) do
50
+ self
51
+ .add('package.json', dom: dom)
52
+ .play_actions
53
+
54
+ # self
55
+ # .add_script('xxx', 'xxx')
56
+ # .sort
57
+ # .development
58
+ # .npm_add_group('xxx')
59
+
60
+ # run_command("git add .; git commit -m 'chore: #{self.options.description.downcase}'; git push")
61
+ end
62
+ .blueprint(
63
+ active: false,
64
+ name: :opinionated,
65
+ description: 'opinionated files',
66
+ on_exist: :write) do
67
+
68
+ cd(:app)
69
+
70
+ add('README.md' , dom: dom)
71
+
72
+ # add('index.html', dom: dom)
73
+ # add('main.css' , dom: dom)
74
+ # add('main.js' , dom: dom)
75
+
76
+ # run_command("git add .; git commit -m 'chore: #{self.options.description.downcase}'; git push")
77
+ end
78
+
79
+ director.play_actions
80
+ end
81
+ end
82
+
83
+ KManager.opts.app_name = 'gpt3-builder'
84
+ KManager.opts.sleep = 2
85
+ KManager.opts.reboot_on_kill = 0
86
+ KManager.opts.reboot_sleep = 4
87
+ KManager.opts.exception_style = :short
88
+ KManager.opts.show.time_taken = true
89
+ KManager.opts.show.finished = true
90
+ KManager.opts.show.finished_message = 'FINISHED :)'
@@ -0,0 +1,56 @@
1
+ KManager.action :domain_model do
2
+ action do
3
+
4
+ DrawioDsl::Drawio
5
+ .init(k_builder, on_exist: :write, on_action: :execute)
6
+ .diagram(theme: :style_04)
7
+ .page('Domain Modal', margin_left: 0, margin_top: 0, rounded: 0, background: '#fafafa') do
8
+ grid_layout(wrap_at: 6, grid_w: 220, grid_h: 180)
9
+
10
+ w = 200
11
+
12
+ group(title: 'Gpt3Builder', theme: :style_01)
13
+
14
+ group(title: 'Configuration', theme: :style_01)
15
+
16
+ klass(:a1, w: w) do
17
+ format
18
+ .header('Configuration', namespace: :config, description: 'Configuration container for Gpt3Builder')
19
+ .field(:collections , type: :Collections)
20
+ .field(:some_attribute , type: :String)
21
+ end
22
+
23
+ # A Collection would be better named as a UIKit or DesignSystem
24
+ klass(:a2, w: w) do
25
+ format
26
+ .header('Collection', namespace: :config, description: 'Configuration for ...')
27
+ .field(:name, type: :String)
28
+ .field(:description, type: :String)
29
+ end
30
+
31
+ solid(source: :a1, target: :a2, exit_point: :e, entry_point: :w, waypoint: :orthogonal_curved)
32
+
33
+ group(title: 'Schema', theme: :style_01)
34
+
35
+ interface(description: 'Create an instance...', theme: :style_02) do
36
+ format
37
+ .header('Factory', interface_type: 'MixIn')
38
+ .method(:data)
39
+ .method(:data_instance)
40
+ end
41
+ end
42
+ .cd(:docs)
43
+ .save('domain-model.drawio')
44
+ .save_json('domain-model')
45
+ .export_svg('domain-model', page: 1)
46
+ end
47
+ end
48
+
49
+ KManager.opts.app_name = 'gpt3_builder'
50
+ KManager.opts.sleep = 2
51
+ KManager.opts.reboot_on_kill = 0
52
+ KManager.opts.reboot_sleep = 4
53
+ KManager.opts.exception_style = :long
54
+ KManager.opts.show.time_taken = true
55
+ KManager.opts.show.finished = true
56
+ KManager.opts.show.finished_message = 'FINISHED :)'
@@ -0,0 +1,32 @@
1
+ KManager.action :project_plan do
2
+ action do
3
+
4
+ DrawioDsl::Drawio
5
+ .init(k_builder, on_exist: :write, on_action: :execute)
6
+ .diagram(rounded: 1, glass: 1)
7
+ .page('In progress', theme: :style_03, margin_left: 0, margin_top: 0) do
8
+
9
+ grid_layout(y: 90, direction: :horizontal, grid_h: 80, grid_w: 320, wrap_at: 3, grid: 0)
10
+
11
+ end
12
+ .page('To Do', theme: :style_02, margin_left: 0, margin_top: 0) do
13
+
14
+ grid_layout(y: 90, direction: :horizontal, grid_h: 80, grid_w: 320, wrap_at: 3, grid: 0)
15
+
16
+ todo(title: 'Support the different engines: [Ada, Babbage, Curie, Davinci]')
17
+
18
+ end
19
+ .page('Done', theme: :style_06, margin_left: 0, margin_top: 0) do
20
+
21
+ # h5(x: 300, y: 0, w: 400, h: 80, title: 'Gpt3 Builder')
22
+
23
+ grid_layout(y:90, direction: :horizontal, grid_h: 80, grid_w: 320, wrap_at: 3, grid: 0)
24
+
25
+ end
26
+ .cd(:docs)
27
+ .save('project-plan/project.drawio')
28
+ .export_svg('project-plan/project_in_progress', page: 1)
29
+ .export_svg('project-plan/project_todo' , page: 2)
30
+ .export_svg('project-plan/project_done' , page: 3)
31
+ end
32
+ end
data/.rubocop.yml CHANGED
@@ -12,7 +12,7 @@ Metrics/BlockLength:
12
12
  Exclude:
13
13
  - "**/spec/**/*"
14
14
  - "*.gemspec"
15
- IgnoredMethods:
15
+ AllowedMethods:
16
16
  - configure
17
17
  - context
18
18
  - define
@@ -38,7 +38,7 @@ Metrics/MethodLength:
38
38
  Layout/LineLength:
39
39
  Max: 200
40
40
  # Ignores annotate output
41
- IgnoredPatterns: ['\A# \*\*']
41
+ AllowedPatterns: ['\A# \*\*']
42
42
  IgnoreCopDirectives: true
43
43
 
44
44
  Lint/UnusedMethodArgument:
data/Gemfile CHANGED
@@ -16,7 +16,7 @@ group :development, :test do
16
16
  gem 'guard-bundler'
17
17
  gem 'guard-rspec'
18
18
  gem 'guard-rubocop'
19
- gem 'rake', '~> 12.0'
19
+ gem 'rake'
20
20
  gem 'rake-compiler', require: false
21
21
  gem 'rspec', '~> 3.0'
22
22
  gem 'rubocop'
@@ -0,0 +1,31 @@
1
+ <mxfile host="78x">
2
+ <diagram id="Jgi" name="Domain Modal">
3
+ <mxGraphModel dx="0" dy="0" background="#fafafa" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1169" pageHeight="827" math="0" shadow="0">
4
+ <root>
5
+ <mxCell id="page_root_Jgi" parent="Jgi"/>
6
+ <mxCell id="node_root_Jgi" parent="page_root_Jgi"/>
7
+ <mxCell id="Jgi-2" value="Gpt3Builder" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#f5f5f5;strokeColor=#666666;fontColor=#333333;fontSize=20;verticalAlign=top" vertex="1" parent="node_root_Jgi">
8
+ <mxGeometry x="5" y="-15" width="210" height="210" as="geometry"/>
9
+ </mxCell>
10
+ <mxCell id="Jgi-3" value="Configuration" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#f5f5f5;strokeColor=#666666;fontColor=#333333;fontSize=20;verticalAlign=top" vertex="1" parent="node_root_Jgi">
11
+ <mxGeometry x="225" y="-15" width="210" height="210" as="geometry"/>
12
+ </mxCell>
13
+ <mxCell id="a1" value="&lt;p style=&quot;margin:0px;margin-left:4px;margin-bottom:4px;text-align:center&quot;&gt;&lt;b&gt;Configuration&lt;/b&gt;&lt;/p&gt;&lt;hr size=&quot;1&quot;/&gt;&lt;p style=&quot;margin:0px;margin-left:4px;margin-bottom:4px&quot;&gt;collections: Collections&lt;/p&gt;&lt;p style=&quot;margin:0px;margin-left:4px;margin-bottom:4px&quot;&gt;some_attribute: String&lt;/p&gt;" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#ffe6cc;strokeColor=#d79b00;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica" vertex="1" parent="node_root_Jgi">
14
+ <mxGeometry x="450" y="10" width="200" height="160" as="geometry"/>
15
+ </mxCell>
16
+ <mxCell id="a2" value="&lt;p style=&quot;margin:0px;margin-left:4px;margin-bottom:4px;text-align:center&quot;&gt;&lt;b&gt;Collection&lt;/b&gt;&lt;/p&gt;&lt;hr size=&quot;1&quot;/&gt;&lt;p style=&quot;margin:0px;margin-left:4px;margin-bottom:4px&quot;&gt;name: String&lt;/p&gt;&lt;p style=&quot;margin:0px;margin-left:4px;margin-bottom:4px&quot;&gt;description: String&lt;/p&gt;" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#ffe6cc;strokeColor=#d79b00;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica" vertex="1" parent="node_root_Jgi">
17
+ <mxGeometry x="670" y="10" width="200" height="160" as="geometry"/>
18
+ </mxCell>
19
+ <mxCell id="Jgi-6" value="" style="edgeStyle=orthogonalEdgeStyle;curved=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;startArrow=none;startFill=1;endArrow=open;endFill=1;whiteSpace=wrap;html=1;rounded=0;fillColor=#ffe6cc;strokeColor=#d79b00" parent="node_root_Jgi" source="a1" target="a2" edge="1">
20
+ <mxGeometry relative="1" as="geometry"/>
21
+ </mxCell>
22
+ <mxCell id="Jgi-7" value="Schema" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#f5f5f5;strokeColor=#666666;fontColor=#333333;fontSize=20;verticalAlign=top" vertex="1" parent="node_root_Jgi">
23
+ <mxGeometry x="885" y="-15" width="210" height="210" as="geometry"/>
24
+ </mxCell>
25
+ <mxCell id="Jgi-8" value="&lt;p style=&quot;margin:0px;margin-left:4px;margin-bottom:4px;text-align:center&quot;&gt;&lt;i&gt;&amp;lt;&amp;lt; MixIn &amp;gt;&amp;gt;&lt;/i&gt;&lt;/p&gt;&lt;p style=&quot;margin:0px;margin-left:4px;margin-bottom:4px;text-align:center&quot;&gt;&lt;b&gt;Factory&lt;/b&gt;&lt;/p&gt;&lt;hr size=&quot;1&quot;/&gt;&lt;p style=&quot;margin:0px;margin-left:4px;margin-bottom:4px&quot;&gt;data()&lt;/p&gt;&lt;p style=&quot;margin:0px;margin-left:4px;margin-bottom:4px&quot;&gt;data_instance()&lt;/p&gt;" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica" vertex="1" parent="node_root_Jgi">
26
+ <mxGeometry x="1130" y="10" width="160" height="160" as="geometry"/>
27
+ </mxCell>
28
+ </root>
29
+ </mxGraphModel>
30
+ </diagram>
31
+ </mxfile>
@@ -0,0 +1,269 @@
1
+ {
2
+ "host": "78x",
3
+ "theme": "style_04",
4
+ "palette": {
5
+ "fill_color": "#ffe6cc",
6
+ "stroke_color": "#d79b00",
7
+ "font_color": "#333333",
8
+ "gradient": null
9
+ },
10
+ "style": {
11
+ "white_space": "wrap",
12
+ "html": 1,
13
+ "rounded": null,
14
+ "shadow": null,
15
+ "sketch": null,
16
+ "glass": null
17
+ },
18
+ "pages": [
19
+ {
20
+ "id": "Jgi",
21
+ "active": true,
22
+ "name": "Domain Modal",
23
+ "position_x": 0,
24
+ "position_y": 180,
25
+ "theme": "style_04",
26
+ "bg_theme": "snow",
27
+ "palette": {
28
+ "fill_color": "#ffe6cc",
29
+ "stroke_color": "#d79b00",
30
+ "font_color": "#333333",
31
+ "gradient": null
32
+ },
33
+ "style": {
34
+ "white_space": "wrap",
35
+ "html": 1,
36
+ "rounded": 0,
37
+ "shadow": null,
38
+ "sketch": null,
39
+ "glass": null
40
+ },
41
+ "settings": {
42
+ "margin_left": 0,
43
+ "margin_top": 0,
44
+ "grid": 0,
45
+ "grid_size": 10,
46
+ "guides": 1,
47
+ "tooltips": 1,
48
+ "connect": 1,
49
+ "arrows": 1,
50
+ "fold": 1,
51
+ "page_no": 1,
52
+ "page_scale": 1,
53
+ "page_width": 1169,
54
+ "page_height": 827,
55
+ "background": "#fafafa",
56
+ "page_shadow": 0,
57
+ "math": 0
58
+ },
59
+ "nodes": [
60
+ {
61
+ "id": "page_root_Jgi",
62
+ "parent_id": "Jgi",
63
+ "classification": "anchor",
64
+ "key": "page_root",
65
+ "nodes": [
66
+ {
67
+ "id": "node_root_Jgi",
68
+ "parent_id": "page_root_Jgi",
69
+ "classification": "anchor",
70
+ "key": "node_root",
71
+ "nodes": [
72
+ {
73
+ "id": "rule-2",
74
+ "parent_id": "node_root_Jgi",
75
+ "classification": "layout_rule",
76
+ "key": "grid_layout",
77
+ "anchor_x": 0,
78
+ "anchor_y": 0,
79
+ "direction": "horizontal",
80
+ "wrap_at": 6,
81
+ "grid_w": 220,
82
+ "grid_h": 180,
83
+ "cell_no": 1
84
+ },
85
+ {
86
+ "id": "Jgi-2",
87
+ "parent_id": "node_root_Jgi",
88
+ "classification": "shape",
89
+ "key": "group",
90
+ "x": 5,
91
+ "y": -15,
92
+ "w": 210,
93
+ "h": 210,
94
+ "style": "whiteSpace=wrap;html=1;rounded=0;fillColor=#f5f5f5;strokeColor=#666666;fontColor=#333333;fontSize=20;verticalAlign=top",
95
+ "value": "Gpt3Builder",
96
+ "meta_data": {
97
+ "items": [
98
+ {
99
+ "type": "title",
100
+ "content": "Gpt3Builder"
101
+ }
102
+ ]
103
+ }
104
+ },
105
+ {
106
+ "id": "Jgi-3",
107
+ "parent_id": "node_root_Jgi",
108
+ "classification": "shape",
109
+ "key": "group",
110
+ "x": 225,
111
+ "y": -15,
112
+ "w": 210,
113
+ "h": 210,
114
+ "style": "whiteSpace=wrap;html=1;rounded=0;fillColor=#f5f5f5;strokeColor=#666666;fontColor=#333333;fontSize=20;verticalAlign=top",
115
+ "value": "Configuration",
116
+ "meta_data": {
117
+ "items": [
118
+ {
119
+ "type": "title",
120
+ "content": "Configuration"
121
+ }
122
+ ]
123
+ }
124
+ },
125
+ {
126
+ "id": "a1",
127
+ "parent_id": "node_root_Jgi",
128
+ "classification": "shape",
129
+ "key": "klass",
130
+ "x": 450,
131
+ "y": 10,
132
+ "w": 200,
133
+ "h": 160,
134
+ "style": "whiteSpace=wrap;html=1;rounded=0;fillColor=#ffe6cc;strokeColor=#d79b00;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica",
135
+ "value": "<p style=\"margin:0px;margin-left:4px;margin-bottom:4px;text-align:center\"><b>Configuration</b></p><hr size=\"1\"/><p style=\"margin:0px;margin-left:4px;margin-bottom:4px\">collections: Collections</p><p style=\"margin:0px;margin-left:4px;margin-bottom:4px\">some_attribute: String</p>",
136
+ "meta_data": {
137
+ "items": [
138
+ {
139
+ "type": "class",
140
+ "name": "Configuration",
141
+ "description": "Configuration container for Gpt3Builder",
142
+ "namespace": "config"
143
+ },
144
+ {
145
+ "type": "field",
146
+ "name": "collections",
147
+ "return_type": "Collections"
148
+ },
149
+ {
150
+ "type": "field",
151
+ "name": "some_attribute",
152
+ "return_type": "String"
153
+ }
154
+ ]
155
+ }
156
+ },
157
+ {
158
+ "id": "a2",
159
+ "parent_id": "node_root_Jgi",
160
+ "classification": "shape",
161
+ "key": "klass",
162
+ "x": 670,
163
+ "y": 10,
164
+ "w": 200,
165
+ "h": 160,
166
+ "style": "whiteSpace=wrap;html=1;rounded=0;fillColor=#ffe6cc;strokeColor=#d79b00;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica",
167
+ "value": "<p style=\"margin:0px;margin-left:4px;margin-bottom:4px;text-align:center\"><b>Collection</b></p><hr size=\"1\"/><p style=\"margin:0px;margin-left:4px;margin-bottom:4px\">name: String</p><p style=\"margin:0px;margin-left:4px;margin-bottom:4px\">description: String</p>",
168
+ "meta_data": {
169
+ "items": [
170
+ {
171
+ "type": "class",
172
+ "name": "Collection",
173
+ "description": "Configuration for ...",
174
+ "namespace": "config"
175
+ },
176
+ {
177
+ "type": "field",
178
+ "name": "name",
179
+ "return_type": "String"
180
+ },
181
+ {
182
+ "type": "field",
183
+ "name": "description",
184
+ "return_type": "String"
185
+ }
186
+ ]
187
+ }
188
+ },
189
+ {
190
+ "id": "Jgi-6",
191
+ "parent_id": "node_root_Jgi",
192
+ "classification": "shape",
193
+ "key": "solid",
194
+ "x": 0,
195
+ "y": 0,
196
+ "w": 0,
197
+ "h": 0,
198
+ "style": "edgeStyle=orthogonalEdgeStyle;curved=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;startArrow=none;startFill=1;endArrow=open;endFill=1;whiteSpace=wrap;html=1;rounded=0;fillColor=#ffe6cc;strokeColor=#d79b00",
199
+ "value": "",
200
+ "meta_data": {
201
+ "items": [
202
+ {
203
+ "type": "title",
204
+ "content": ""
205
+ }
206
+ ]
207
+ }
208
+ },
209
+ {
210
+ "id": "Jgi-7",
211
+ "parent_id": "node_root_Jgi",
212
+ "classification": "shape",
213
+ "key": "group",
214
+ "x": 885,
215
+ "y": -15,
216
+ "w": 210,
217
+ "h": 210,
218
+ "style": "whiteSpace=wrap;html=1;rounded=0;fillColor=#f5f5f5;strokeColor=#666666;fontColor=#333333;fontSize=20;verticalAlign=top",
219
+ "value": "Schema",
220
+ "meta_data": {
221
+ "items": [
222
+ {
223
+ "type": "title",
224
+ "content": "Schema"
225
+ }
226
+ ]
227
+ }
228
+ },
229
+ {
230
+ "id": "Jgi-8",
231
+ "parent_id": "node_root_Jgi",
232
+ "classification": "shape",
233
+ "key": "interface",
234
+ "x": 1130,
235
+ "y": 10,
236
+ "w": 160,
237
+ "h": 160,
238
+ "style": "whiteSpace=wrap;html=1;rounded=0;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica",
239
+ "value": "<p style=\"margin:0px;margin-left:4px;margin-bottom:4px;text-align:center\"><i>&lt;&lt; MixIn &gt;&gt;</i></p><p style=\"margin:0px;margin-left:4px;margin-bottom:4px;text-align:center\"><b>Factory</b></p><hr size=\"1\"/><p style=\"margin:0px;margin-left:4px;margin-bottom:4px\">data()</p><p style=\"margin:0px;margin-left:4px;margin-bottom:4px\">data_instance()</p>",
240
+ "meta_data": {
241
+ "items": [
242
+ {
243
+ "type": "interface",
244
+ "name": "Factory",
245
+ "description": null,
246
+ "namespace": null,
247
+ "interface_type": "MixIn"
248
+ },
249
+ {
250
+ "type": "method",
251
+ "name": "data",
252
+ "return_type": null
253
+ },
254
+ {
255
+ "type": "method",
256
+ "name": "data_instance",
257
+ "return_type": null
258
+ }
259
+ ]
260
+ }
261
+ }
262
+ ]
263
+ }
264
+ ]
265
+ }
266
+ ]
267
+ }
268
+ ]
269
+ }
@@ -0,0 +1,3 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="1287px" height="212px" viewBox="-0.5 -0.5 1287 212"><defs/><g><rect x="0" y="0" width="210" height="210" fill="#f5f5f5" stroke="#666666" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-start; justify-content: unsafe center; width: 208px; height: 1px; padding-top: 7px; margin-left: 1px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 20px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">Gpt3Builder</div></div></div></foreignObject><text x="105" y="27" fill="#333333" font-family="Helvetica" font-size="20px" text-anchor="middle">Gpt3Builder</text></switch></g><rect x="220" y="0" width="210" height="210" fill="#f5f5f5" stroke="#666666" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-start; justify-content: unsafe center; width: 208px; height: 1px; padding-top: 7px; margin-left: 221px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 20px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">Configuration</div></div></div></foreignObject><text x="325" y="27" fill="#333333" font-family="Helvetica" font-size="20px" text-anchor="middle">Configuration</text></switch></g><rect x="445" y="25" width="200" height="160" fill="#ffe6cc" stroke="#d79b00" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 202px; height: 160px; padding-top: 25px; margin-left: 445px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: left; width: 200px; height: 160px; overflow: hidden;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: all; width: 100%; height: 100%; white-space: normal; overflow-wrap: normal;"><p style="margin:0px;margin-left:4px;margin-bottom:4px;text-align:center"><b>Configuration</b></p><hr size="1" /><p style="margin:0px;margin-left:4px;margin-bottom:4px">collections: Collections</p><p style="margin:0px;margin-left:4px;margin-bottom:4px">some_attribute: String</p></div></div></div></foreignObject><text x="445" y="109" fill="#333333" font-family="Helvetica" font-size="12px">Configuration...</text></switch></g><rect x="665" y="25" width="200" height="160" fill="#ffe6cc" stroke="#d79b00" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 202px; height: 160px; padding-top: 25px; margin-left: 665px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: left; width: 200px; height: 160px; overflow: hidden;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: all; width: 100%; height: 100%; white-space: normal; overflow-wrap: normal;"><p style="margin:0px;margin-left:4px;margin-bottom:4px;text-align:center"><b>Collection</b></p><hr size="1" /><p style="margin:0px;margin-left:4px;margin-bottom:4px">name: String</p><p style="margin:0px;margin-left:4px;margin-bottom:4px">description: String</p></div></div></div></foreignObject><text x="665" y="109" fill="#333333" font-family="Helvetica" font-size="12px">Collection...</text></switch></g><path d="M 645 105 Q 645 105 662.76 105" fill="none" stroke="#d79b00" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 656.88 108.5 L 663.88 105 L 656.88 101.5" fill="none" stroke="#d79b00" stroke-miterlimit="10" pointer-events="all"/><rect x="880" y="0" width="210" height="210" fill="#f5f5f5" stroke="#666666" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-start; justify-content: unsafe center; width: 208px; height: 1px; padding-top: 7px; margin-left: 881px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 20px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">Schema</div></div></div></foreignObject><text x="985" y="27" fill="#333333" font-family="Helvetica" font-size="20px" text-anchor="middle">Schema</text></switch></g><rect x="1125" y="25" width="160" height="160" fill="#dae8fc" stroke="#6c8ebf" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 162px; height: 160px; padding-top: 25px; margin-left: 1125px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: left; width: 160px; height: 160px; overflow: hidden;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: all; width: 100%; height: 100%; white-space: normal; overflow-wrap: normal;"><p style="margin:0px;margin-left:4px;margin-bottom:4px;text-align:center"><i>&lt;&lt; MixIn &gt;&gt;</i></p><p style="margin:0px;margin-left:4px;margin-bottom:4px;text-align:center"><b>Factory</b></p><hr size="1" /><p style="margin:0px;margin-left:4px;margin-bottom:4px">data()</p><p style="margin:0px;margin-left:4px;margin-bottom:4px">data_instance()</p></div></div></div></foreignObject><text x="1125" y="109" fill="#333333" font-family="Helvetica" font-size="12px">&lt;&lt; MixIn &gt;&gt;...</text></switch></g></g><switch><g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/><a transform="translate(0,-5)" xlink:href="https://www.diagrams.net/doc/faq/svg-export-text-problems" target="_blank"><text text-anchor="middle" font-size="10px" x="50%" y="100%">Text is not SVG - cannot display</text></a></switch></svg>
@@ -0,0 +1,29 @@
1
+ <mxfile host="jMi">
2
+ <diagram id="mkW" name="In progress">
3
+ <mxGraphModel dx="0" dy="0" background="#FFFAFA" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1169" pageHeight="827" math="0" shadow="0">
4
+ <root>
5
+ <mxCell id="page_root_mkW" parent="mkW"/>
6
+ <mxCell id="node_root_mkW" parent="page_root_mkW"/>
7
+ </root>
8
+ </mxGraphModel>
9
+ </diagram>
10
+ <diagram id="4lj" name="To Do">
11
+ <mxGraphModel dx="0" dy="0" background="#FFFAFA" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1169" pageHeight="827" math="0" shadow="0">
12
+ <root>
13
+ <mxCell id="page_root_4lj" parent="4lj"/>
14
+ <mxCell id="node_root_4lj" parent="page_root_4lj"/>
15
+ <mxCell id="4lj-2" value="Support the different engines: [Ada, Babbage, Curie, Davinci]" style="whiteSpace=wrap;html=1;rounded=1;glass=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=#333333" vertex="1" parent="node_root_4lj">
16
+ <mxGeometry x="10" y="10" width="300" height="60" as="geometry"/>
17
+ </mxCell>
18
+ </root>
19
+ </mxGraphModel>
20
+ </diagram>
21
+ <diagram id="XMj" name="Done">
22
+ <mxGraphModel dx="0" dy="0" background="#FFFAFA" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1169" pageHeight="827" math="0" shadow="0">
23
+ <root>
24
+ <mxCell id="page_root_XMj" parent="XMj"/>
25
+ <mxCell id="node_root_XMj" parent="page_root_XMj"/>
26
+ </root>
27
+ </mxGraphModel>
28
+ </diagram>
29
+ </mxfile>
@@ -0,0 +1,3 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="302px" height="62px" viewBox="-0.5 -0.5 302 62"><defs><linearGradient x1="0%" y1="0%" x2="0%" y2="100%" id="mx-gradient-ffffff-0.9-ffffff-0.1-s-0"><stop offset="0%" style="stop-color: rgb(255, 255, 255); stop-opacity: 0.9;"/><stop offset="100%" style="stop-color: rgb(255, 255, 255); stop-opacity: 0.1;"/></linearGradient></defs><g><rect x="0" y="0" width="300" height="60" rx="9" ry="9" fill="#f8cecc" stroke="#b85450" pointer-events="all"/><path d="M 10.15 -1 Q -1 -1 -1 10.15 L -1 24 Q 150 42 301 24 L 301 10.15 Q 301 -1 289.85 -1 Z" fill="url(#mx-gradient-ffffff-0.9-ffffff-0.1-s-0)" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 298px; height: 1px; padding-top: 30px; margin-left: 1px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">this item is done</div></div></div></foreignObject><text x="150" y="34" fill="#333333" font-family="Helvetica" font-size="12px" text-anchor="middle">this item is done</text></switch></g></g><switch><g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/><a transform="translate(0,-5)" xlink:href="https://www.diagrams.net/doc/faq/svg-export-text-problems" target="_blank"><text text-anchor="middle" font-size="10px" x="50%" y="100%">Text is not SVG - cannot display</text></a></switch></svg>
@@ -0,0 +1,3 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="302px" height="62px" viewBox="-0.5 -0.5 302 62"><defs><linearGradient x1="0%" y1="0%" x2="0%" y2="100%" id="mx-gradient-ffffff-0.9-ffffff-0.1-s-0"><stop offset="0%" style="stop-color: rgb(255, 255, 255); stop-opacity: 0.9;"/><stop offset="100%" style="stop-color: rgb(255, 255, 255); stop-opacity: 0.1;"/></linearGradient></defs><g><rect x="0" y="0" width="300" height="60" rx="9" ry="9" fill="#d5e8d4" stroke="#82b366" pointer-events="all"/><path d="M 10.15 -1 Q -1 -1 -1 10.15 L -1 24 Q 150 42 301 24 L 301 10.15 Q 301 -1 289.85 -1 Z" fill="url(#mx-gradient-ffffff-0.9-ffffff-0.1-s-0)" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 298px; height: 1px; padding-top: 30px; margin-left: 1px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">some item in progress</div></div></div></foreignObject><text x="150" y="34" fill="#333333" font-family="Helvetica" font-size="12px" text-anchor="middle">some item in progress</text></switch></g></g><switch><g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/><a transform="translate(0,-5)" xlink:href="https://www.diagrams.net/doc/faq/svg-export-text-problems" target="_blank"><text text-anchor="middle" font-size="10px" x="50%" y="100%">Text is not SVG - cannot display</text></a></switch></svg>