You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Fixed the repo state. Remove a lot of old testing garbage files, fixed the compile-all.sh runstream. Now if you compile on your own it will closer reflect the release, artifacts-wise, and not be a dev-mode disaster (solo pushing to a private repo for a long period of time creates a lot of garbo).
- Dockerfile created - first Docker image release w v0.1.1, not perfect but seems stable and fully functional
- Fixed issue where DuckDB files did not get proper metadata for UI browsing
- Cache DB is now Duck by default (configurable in the future)
- Materialize to Cache DB now has options for persitent or memory (cache.db or cache.db.memory) - both Duck ATM
- Compressed the shipping assets/openai-images examples to JPGs (rather than 3MB PNGs, kek)
- In addition to defs/config.edn you can have a map in defs/secrets.edn for API keys and such - can be accessed in any part of the system as a reactive parameter with the :settings prefix. So :settings/openai-api-key will resolve to that key on execution. etc.
- changed the example flow "openai-image-gen-ladder" to use :settings/openai-api-key if it exists.
- audio transcription also uses OpenAI at the moment, so the icon will only appear if a valid key is detected (key gets checked on boot)
- added a config.edn option to disable the sub/unsub reactor messages. They are useful for debugging pub/sub issues, but can get annoying. :hide-sub-and-unsub-alerts?
- reminder that you can disable ALL pop-up notifications via a toggle on the lower right hand corner of the canvas
- added rotating-theme-blank screen, which will cycle randomly through all the images found in assets/openai-images and change the theme colors to match. Not for a prod dashboard, obvs, but for random Data eng boards where im just monitoring data, it's nice to have some vibes flowing.
- Fixed a double-query bug
- Added an optional pop-up notification about SQL query time execution. Off by defaut, can be changed in the config.edn
- :show-query-times? true
- Added more OAI images to show off dynamic themes better. Not your cup of tea? Cool beans. Replace them with Smurfs or Lumberjacks or Kittens - that's the beauty of a fully customizable and hackable platform! Will have a tutorial video in a few days on how to automate image gen with a flow. Express yourself!
Copy file name to clipboardExpand all lines: backend/defs/config.edn
+35-1Lines changed: 35 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -8,8 +8,10 @@
8
8
9
9
{:debug-level1;; for console output. somewhat deprecated.
10
10
:hide-sub-and-unsub-alerts?false
11
+
:show-query-times?false
11
12
:default"./screens/frost-terminal2.edn"
12
13
;; ^^ if no screen given in URL, load this one. the "start page" essentially.
14
+
;; if this screen can't be read or is nil, you will get a basic blank screen with a default theme
13
15
:harvest-on-boot?true;;false
14
16
;; ^^ do a full database sniff for each connection on boot? (generally not needed)
15
17
:modes {:pre [:pre
@@ -132,7 +134,39 @@
132
134
Since this system is EDN based, all code has to be wrapped in a (do ..) form in order to be evaluated as a single expression. If a user-provided do block already exists, just use it, do not double wrap it - a single parent (do ...) form is all that is needed.
133
135
Being saved in EDN also means that it cannot use Clojure artifacts that are invalid EDN - so, do not use the shorthand for anon functions (#(this %)), or shorthand atom derefs (@atom), or shortcode sets (#{}) always use the full for version for these things - instead w/o the special characters (deref, set, (fn[x]...))."
134
136
:icon"images/clojure-alt.svg"
135
-
:kits {:export-to-csv {:when-fn (fn [client-panels client-data] ;; return a vector of [:block-id :runner-type :view-id] tuple for things that are "eligible"
137
+
:kits {;; unfinished: might work better as a flow block... WIP
138
+
;; :openai-data-clean {:when-fn (fn [client-panels client-data] ;; return a vector of [:block-id :runner-type :view-id] tuple for things that are "eligible"
139
+
;; (vec (apply concat (for [[k v] client-panels ;; ^^ runs on the local repl, not the host
140
+
;; :when (get v :queries)] ;; only things eligble are query results
141
+
;; (for [kk (keys (get v :queries))]
142
+
;; [k :queries kk])))))
143
+
;; :output :kit-map
144
+
;; :icon-location :query
145
+
;; :tooltip "Experimental! Use OpenAI's API to clean data. Use as little data as possible to save tokens."
0 commit comments