Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(perf) Filter construction improvements - Make It Smarter (#131)
* Feat make smarter (#91) * fix - pass in the parameters to the big query generate model * make it smater * merge * prevent duplicate triggering of generation * move logic into helper utils * fix state * fix the callbacks * use params instead of a string * add back sorting * fix link generation * remove some consoles * check the filters twice, make sure that we're returning a simpler data structure * fix race condition for page load * separate call for filter and visualization generation * fix typescript errors * add jest tests * update for edge cases when custom urls, and custom dates are in examples need to be handled. * Fix package json * more fixes post merge * fix the store * fix sidepanel * fix the link to explore * improve speed by parallelizing calls to gemini * fix summarization * scroll into view * add filter helper and tests * add tests * run on every commit * only use node 16 and 18 * use a filter validator * remove un-used console logs * post-merge fixes * fix tests * improve scrolling --------- Co-authored-by: Jawad Laraqui <[email protected]> Co-authored-by: Flavio Di Berardino <[email protected]> * Update useSendVertexMessage.ts * Fixed issue with parsing cleaned url Added case statement to handle both cleaned an uncleaned urls * Origin/feature generate examples (#1) * Added generate examples script and trusted dashboard table * Error handling * terraform bug fix * Handle url queryPrompt parameter * generate_exmples bug fix * Added number filter documentation * work in progress - append examples * working and tested new concat function. * tested * Update looker_filter_doc.md adding more context to filter doc on dates * Add files via upload Adding context file on timeframes and intervals * Update useSendVertexMessage.ts adding import and reference for context * Update ExploreFilterHelper.ts updating file * mostly working with new configs * working settings! * refactoring to use lookml queries * working with cloud function and new lookml model * Update useSendVertexMessage.ts reverted/removed inline date and number filter documentation in useSendVertexMessage * made settings admin-only and hide them for regular users. * committing timeframe filter logic * secure fetchProxy added * working with Bigquery! * Fixed problem with variability * remove indeterminacy, fix filter bug * more context with restored filters call * bug fix * bug fix * add back in filter mods * handle NOT NULL better * merge fixes * Update looker_filter_doc.md to help last x timeframe filters Adding more context to distinguish between last x days and x days ago type of filters. * rm trusted dashboards * work in progress on be installer * testing cloud shell script * testing cloud console run * testing * readme updated * test * testing * test * test * test * test * test * test * test * test * readme edits * updated readme * readme update * readme * adding changes * Fixed READMEs * restore 'query object format' text. * testing * testing * security setup * updates for security testing * error handling fixes and example script updates * readme updates * Revert "Merge branch 'marketplace_deploy' into make-it-smarter-bytecode" This reverts commit 954b73b, reversing changes made to cd7ee7e. * Remove 'check the response'. --------- Co-authored-by: Luka Fontanilla <[email protected]> Co-authored-by: Jawad Laraqui <[email protected]> Co-authored-by: Flavio Di Berardino <[email protected]> Co-authored-by: dbarrbc <[email protected]> Co-authored-by: Colin Roy-Ehri <[email protected]> Co-authored-by: colin-roy-ehri <[email protected]> Co-authored-by: carolbethperkins <[email protected]>
- Loading branch information