Commit Graph

1358 Commits

Author SHA1 Message Date
dal 0e9075ca2c
Added Line Number Formatting on File outputs 2025-02-07 00:29:11 -07:00
dal 900eb28a67
removed bool on create_file tool 2025-02-06 23:54:11 -07:00
dal 711bbe899a
refactor(tools): Enhance ToolExecutor trait and file-related tools
- Add generic Output type to ToolExecutor trait
- Update file tools to use strongly-typed output structs
- Modify agent and tool implementations to support generic output
- Improve error handling and result reporting in file-related tools
- Add more detailed status messages for file operations
2025-02-06 23:45:48 -07:00
Nate Kelley 88047b5e40
abstract listing metrics 2025-02-06 19:19:39 -07:00
Nate Kelley 05ce401d15
create chat lists 2025-02-06 19:08:40 -07:00
dal 4ec6e78648
refactor(database): Update metric and dashboard file models and migrations
- Rename file type modules from `metric_file` and `dashboard_file` to `metric_yml` and `dashboard_yml`
- Modify metric files migration to use a verification enum instead of boolean
- Update messages_to_files junction table with UUID primary key and additional timestamp columns
- Adjust database models to support new file and message structures
- Refactor file creation utility to use new model structures
2025-02-06 17:07:52 -07:00
dal b0e40007b0
Merge branch 'staging' into dal/goat-chat 2025-02-06 16:23:12 -07:00
dal 3ec059a99e
feat(prompts): Enhance SQL generation prompt with database identifier guidance
- Add instruction about paying attention to database identifier in SQL generation prompt
- Clarify potential cross-database referencing considerations
- Update SQL generation guidelines to improve clarity and flexibility
2025-02-06 16:21:53 -07:00
dal 33d5990907
feat(datasets): Add database_identifier support for dataset creation and deployment
- Extend Dataset model and schema to include optional database_identifier field
- Update dataset creation and deployment routes to handle new database_identifier parameter
- Modify dataset DDL generation to use database_identifier for schema resolution when available
2025-02-06 15:18:40 -07:00
Nate Kelley 9483d60e5f
file editor updates 2025-02-06 15:15:13 -07:00
Nate Kelley 98d62419b9
add delete chat area 2025-02-06 15:06:37 -07:00
dal c7a6e2788a
Merge branch 'staging' into dal/simplify-deploy-endpoint 2025-02-06 15:00:23 -07:00
Nate Kelley 7d95f1f008
share menu 2025-02-06 14:31:46 -07:00
github-actions[bot] 5e5ad5d3f7 chore(release): update version to 0.0.35 2025-02-06 21:11:01 +00:00
dal ba25ada7c1
Fix: snowflake timestamp bug
Staging
2025-02-06 13:10:49 -08:00
dal 77045a30c2
Merge pull request #107 from buster-so/dal/snowflake-timestamp-going-to-kill-me
fix(snowflake): Improve timestamp handling and JSON processing
2025-02-06 13:10:17 -08:00
dal 2ec0b7743f
feat(snowflake): Improve timestamp handling and JSON processing
- Add support for parsing Snowflake timestamp structs with epoch and fraction fields
- Implement handling of Snowflake timestamp logical types (with and without timezone)
- Enhance JSON value processing to detect and convert Snowflake timestamp objects
- Add error handling and logging for timestamp parsing
2025-02-06 14:09:39 -07:00
Nate Kelley a2f07161f8
Merge branch 'staging' into big-nate/bus-939-create-new-structure-for-chats 2025-02-06 13:01:19 -07:00
github-actions[bot] 8493db3abe chore(release): update version to 0.0.34 2025-02-06 19:59:59 +00:00
dal 80f82856b1
Merge pull request #106 from buster-so/staging
fix(visualization): add x axis time unit.
2025-02-06 11:59:45 -08:00
Nate Kelley 36b36fa1a4
dots on line update 2025-02-06 12:58:37 -07:00
dal ef685d87a4
Fix x axis intervals (#105)
* xAxisTickinerval

* fix(visualization): Add x-axis time unit configuration for bar and combo charts

- Extend chart configuration to support optional x-axis time unit
- Update modify visualization agent to dynamically set x-axis time interval
- Modify bar line and combo chart prompts to include x_axis_time_unit parameter

* only use valid time units

* refactor(visualization): Simplify x-axis time unit configuration

- Modify modify_visualization_agent to extract and remove x-axis time unit more efficiently
- Update global styling result structure for x-axis time interval
- Adjust format_label_prompt comment to clarify date format default behavior

---------

Co-authored-by: Nate Kelley <nate@buster.so>
2025-02-06 11:58:25 -08:00
Nate Kelley f1381bdf50
Update useXAxis.ts 2025-02-06 12:47:08 -07:00
Nate Kelley a519a772ee
xAxisTimeInterval 2025-02-06 12:22:14 -07:00
dal c27c27a7e8
fix: Improve column reference validation in model expression checks
- Update column validation to use model-defined columns instead of dataset columns
- Enhance error message to clarify column reference context
- Refine validation logic for expression column references
2025-02-06 10:46:12 -07:00
Nate Kelley a58b8057b8
Update MOCK_DASHBOARD.ts 2025-02-06 10:40:02 -07:00
Nate Kelley 06410c3187
update faker 2025-02-06 10:19:25 -07:00
Nate Kelley f6ad1e24f0
dashboard updates 2025-02-06 10:06:28 -07:00
Nate Kelley da76a0e19b
Merge branch 'staging' into big-nate/bus-939-create-new-structure-for-chats 2025-02-06 09:05:06 -07:00
dal 2618166bf8
feat: Expand validation error types for more comprehensive deployment checks
- Add new validation error types: ModelNotFound, InvalidRelationship, and ExpressionError
- Update deploy_v2.rs to categorize and handle these new error types
- Enhance error handling and reporting in dataset deployment process
2025-02-05 23:56:41 -07:00
dal 4e2e9795b6
refactor: Simplify dataset deployment and validation process
- Restructure deploy_datasets function to separate concerns
- Improve column and relationship validation in dataset deployment
- Enhance error handling and validation result generation
- Add support for more comprehensive column and relationship checks
- Refactor validation logic to handle multiple error types
2025-02-05 23:42:51 -07:00
Nate Kelley 5405232de9
animation rews update 2025-02-05 22:57:56 -07:00
Nate Kelley 279d903de2
defferred updatate 2025-02-05 22:42:22 -07:00
Nate Kelley f3a4fb96ef
mock data update 2025-02-05 22:35:46 -07:00
dal 08ecb44de1
Merge branch 'staging' into dal/simplify-deploy-endpoint 2025-02-05 21:56:45 -07:00
github-actions[bot] 4a085d9c23 chore(release): update version to 0.0.33 2025-02-06 04:56:13 +00:00
dal a69fa7c81a
Fix: Tweaked fix sql prompt to be json
Tweaked the fix sql to return a json output so we don't get parse err…
2025-02-05 20:56:00 -08:00
dal e144377ada
Tweaked the fix sql to return a json output so we don't get parse errors. 2025-02-05 21:55:19 -07:00
github-actions[bot] 0c290baccb chore(release): update version to 0.0.32 2025-02-06 01:25:31 +00:00
dal 6cb9c9cf5b
fix prompts with o3-mini
fix(prompts): Enhance SQL query generation and error handling instru…
2025-02-05 17:25:17 -08:00
dal b872cf63a4
feat(prompts): Enhance SQL query generation and error handling instructions
- Update failed SQL fix prompt to emphasize query output format
- Add clarification to dataset selector prompt about selecting multiple datasets
2025-02-05 18:24:34 -07:00
dal fa480f6797
feat: enhance column metadata retrieval across database sources
- Add support for capturing source type (table, view, materialized view)
- Improve column metadata queries for Postgres, MySQL, BigQuery, and Snowflake
- Include more comprehensive column information during dataset import
- Extend DatasetColumnRecord to include source_type field
2025-02-05 18:21:40 -07:00
dal 6e5c299389
feat: improve dataset column validation and deployment process
- Add comprehensive column validation before dataset deployment
- Validate existence of all required columns in source database
- Simplify column type and nullability retrieval
- Enhance error reporting for missing columns
- Update deployment logic to use pre-validated column information
2025-02-05 17:20:11 -07:00
dal f081f3e16e
feat: enhance dataset validation and deployment error handling
- Add detailed validation error logging in CLI
- Improve type compatibility checks in dataset validation
- Modify deployment process to handle and report validation errors more comprehensively
- Add Hash derive for Verification enum
- Update API and CLI to support more informative validation results
2025-02-05 17:04:13 -07:00
Nate Kelley 6c5f4c7b5f
dashboard config 2025-02-05 16:43:18 -07:00
github-actions[bot] 23ca3a5b84 chore(release): update version to 0.0.31 2025-02-05 23:24:38 +00:00
dal bb100d4178
Fix: Search org id bug
Staging
2025-02-05 15:24:27 -08:00
dal 80d3662c3f
Merge pull request #101 from buster-so/dal/term_search_bug
Dal/term search bug
2025-02-05 15:23:49 -08:00
dal fb75c1f554
fix(search): Add organization_id filter to semantic and terms search queries 2025-02-05 16:23:24 -07:00
dal 7bcd7d81bc
make sure the output of fix sql is delimited 2025-02-05 16:19:23 -07:00