Commit Graph

653 Commits

Author SHA1 Message Date
dal 1f7580290f
merging sharing_remove_permissions 2025-03-19 11:46:25 -06:00
dal fa89c4eef1
raw llm response being handled appropriately 2025-03-19 11:45:00 -06:00
dal dcb124bd1d
Mark completion in sharing_remove_permissions PRD
- Updated implementation plan with completion status
- Marked success criteria as completed

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-03-19 10:52:03 -06:00
dal bfd9599f19
Implement user lookup by email functionality
- Enhanced user_lookup.rs with better error handling and documentation
- Added comprehensive tests for different scenarios
- Updated the PRD with implementation progress

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-03-19 10:51:41 -06:00
dal f503c730d1
Add permission check to remove_share_by_email function
- Implemented permission validation to ensure caller has Owner or FullAccess role
- Added documentation for the permission requirements
- Improved test structure with comments for potential integration tests
- Completed requirements in sharing_remove_permissions PRD

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-03-19 10:51:27 -06:00
dal a9699c627d
merging get_metric_handler_version_query_param 2025-03-19 10:49:56 -06:00
dal 60ebcf79cd
created get_metric_handler_version_query_param 2025-03-19 10:49:56 -06:00
dal 2ef5ad1139
integration test fixes 2025-03-19 10:42:36 -06:00
dal 92caf4b7d4
I think this is working properly now 2025-03-19 10:34:43 -06:00
dal 75f7a8af49
Fix test assertions and disabled database-dependent tests 2025-03-19 10:17:05 -06:00
dal 5377a367dd
Add type annotation to fix compilation error 2025-03-19 10:16:01 -06:00
dal d871818435
Fix tests module naming conflicts and unused variable warnings 2025-03-19 10:15:46 -06:00
dal e264889c72
Fix extra closing brace in types.rs 2025-03-19 10:11:54 -06:00
dal 5ebfe64136
Fix extra closing brace in errors.rs 2025-03-19 10:11:37 -06:00
dal e84e30286f
Merge branch 'sharing_list_permissions' into evals
Resolved merge conflicts in sharing library:
- Combined error types from both branches
- Integrated the improved list permissions implementation
- Updated the AssetPermissionWithUser structure
- Added serializable permission types
- Maintained backward compatibility with existing code
2025-03-19 10:11:13 -06:00
dal 95926e5fd1
Merge branch 'sharing_check_permissions' into evals
Resolved merge conflicts in sharing module:
- Combined the enhanced permission checking logic
- Kept the comprehensive role checks from sharing_check_permissions
- Included both the entry-based bulk permission checking
- Maintained the full API exports from both branches
- Integrated tests directory structure
2025-03-19 10:06:58 -06:00
dal 53de3fe677
sharing_list_permissions 2025-03-19 10:04:36 -06:00
dal f5afea4501
sharing_check_permissions 2025-03-19 10:03:41 -06:00
dal 7b58464fb4
bring back search data catalog back down to low 2025-03-19 09:59:40 -06:00
dal cc5cbc7afa
merging sharing_access_controls 2025-03-19 09:48:56 -06:00
dal cc21f8b2ad
create sharing_access_controls 2025-03-19 09:41:29 -06:00
dal 85b0bd1502
Merge branch 'sharing_create_permissions' into evals 2025-03-19 09:37:31 -06:00
dal 7a63b97e35
Created sharing create permissions 2025-03-19 09:35:56 -06:00
dal ad99ed0aa0
adjust data catalog prompt 2025-03-19 09:25:26 -06:00
dal e9e9fbc6ce
catalog search 2025-03-19 09:23:17 -06:00
dal 2058b0551f
post chat handler improvement 2025-03-19 08:57:20 -06:00
dal 99e1947ae3
get rid of print on message stream 2025-03-19 00:20:45 -06:00
dal 2a33977a4e
added in some tests and such for dashboard_ymls and metric_handlers 2025-03-19 00:09:43 -06:00
dal 42f8226b2e
ok lets try removing the debug logs on litellm 2025-03-19 00:04:52 -06:00
dal 32ca9ad422
Merge branch 'testing-improvements' into evals 2025-03-18 23:55:25 -06:00
dal e8106d9989
Updated documentation and created testing utils 2025-03-18 23:53:38 -06:00
dal c53177d3ee
dashboard and testing stuff 2025-03-18 23:51:52 -06:00
dal cef57963f7
start to implement camelCase on dashboard drop debugs in prod 2025-03-18 23:17:28 -06:00
dal 9dd4355380
sorry wrong 2025-03-18 22:55:51 -06:00
dal 800279b21e
tweak dockerfile 2025-03-18 22:55:38 -06:00
dal 1f6b2e4508
docker optimizations 2025-03-18 22:41:33 -06:00
dal c66aaf42ee
try and see if litellm is the issue 2025-03-18 22:25:27 -06:00
dal e1f60494a2
metrics endpoints and optimizations for evals 2025-03-18 21:13:47 -06:00
dal 7e1ef9bbae
concurrency fixes 2025-03-18 17:41:52 -06:00
dal 98c159fbe7
non blocking agent code now 2025-03-18 16:23:39 -06:00
dal 603c95e3eb
seems good 2025-03-18 16:23:39 -06:00
dal bfeabb1c11
braintrust final logs 2025-03-18 14:37:58 -06:00
dal 1255cc2277
tracking convo history and such is in decent base state 2025-03-18 14:30:33 -06:00
dal 2c9e1e0508
ready logs 2025-03-18 14:20:41 -06:00
dal 0b5ed94770
agent with braintrust logs 2025-03-18 12:26:38 -06:00
dal 3a9c9dbf84
added logging to agent 2025-03-18 12:16:24 -06:00
dal c1ca69966c
prompts 2025-03-18 10:57:04 -06:00
dal a02c05cb58
new descritpions from braintrust 2025-03-18 10:39:13 -06:00
dal 54ef8971af
added dashboard check and started on braintrust prompt injection 2025-03-18 09:46:54 -06:00
dal bd2cbf781c
start of collections endpoints 2025-03-18 08:14:29 -06:00
dal 256691f9c0
rename files 2025-03-17 16:33:47 -06:00
dal d6539e8078
middleware cache env variables 2025-03-17 13:26:09 -06:00
dal 84e13dc58c
integration 2025-03-17 12:21:26 -06:00
dal 02f2ff9bd1
raw llm 2025-03-14 13:50:25 -06:00
dal 9324307302
ok integration tests are working. About to implement with actual agent. 2025-03-14 13:20:48 -06:00
dal 0a9f17fa42
agent with gpt-4o-mini 2025-03-14 12:50:12 -06:00
dal b08ab936cf
added braintrust to agent. need to tweak a few more things 2025-03-14 08:56:21 -06:00
dal a9cd975a0b
moved off gemini and added braintrust client for better tracing. 2025-03-14 08:56:21 -06:00
dal ebc050995b
modify dashboard functionality 2025-03-14 08:56:20 -06:00
dal c91aa46185
raw_llm_message endpoint for evals 2025-03-13 15:29:19 -06:00
dal 8579aafd0a
asset type 2025-03-13 14:30:38 -06:00
dal 3430b8c273
favorite changes 2025-03-13 14:09:13 -06:00
dal 0fd0af1742
exclude category 2025-03-13 13:09:48 -06:00
dal e917dacafe
ok reverting to old commit will have to come back to streaming problems later. 2025-03-13 12:36:21 -06:00
dal 254b5c72c0
category fix 2025-03-12 17:04:42 -06:00
dal 459b396006
everything is function with a renamce 2025-03-12 16:04:27 -06:00
dal 8e6e2675b4
cleaned up imports 2025-03-12 15:43:07 -06:00
dal 07e316acf2
making the post_chat handler way smaller 2025-03-12 15:40:58 -06:00
dal 65c1d81eec
moved initialize chat out of post chat handler to cleanup 2025-03-12 15:30:06 -06:00
dal c7c694516c
eliminated streaming_parser and moved everythign over in the post_chat_handler 2025-03-12 15:23:55 -06:00
dal a48fa954fe
streaming parser shrunk drastically 2025-03-12 14:46:14 -06:00
dal 0ac0b6bf6b
moved streaming into its own lib for the optimistic parsing with each stream having its own handler 2025-03-12 14:15:17 -06:00
dal e7d90bae03
ok hierarchy on files being sent back 2025-03-12 12:36:10 -06:00
dal 4432574086
better use of user throughout agents and tools 2025-03-12 08:27:59 -06:00
dal 9577fe99ba
added in the list metrics 2025-03-11 22:33:42 -06:00
dal 63490d60f0
dashboard handler 2025-03-11 22:21:30 -06:00
dal c40c6ef626
dashboard handler with list endpoitns 2025-03-11 22:21:23 -06:00
dal a8626d08d6
ok switched everything to camelcase for the chart config 2025-03-11 21:25:27 -06:00
dal 3c052367b1
some build optimizations 2025-03-11 20:00:10 -06:00
dal 98685351f6
metric and dashoard context fix 2025-03-11 19:49:00 -06:00
dal 48c3d9f14b
convert over db types to be struct 2025-03-11 19:30:46 -06:00
dal 878e36bbeb
asset check for metric 2025-03-11 16:51:08 -06:00
dal 78ac791f83
version number added to get metric object 2025-03-11 16:06:07 -06:00
dal e9fc5cf9bb
added version history 2025-03-11 15:55:30 -06:00
dal 70121cc629
asset permissions progress 2025-03-11 15:09:19 -06:00
dal d805c314b9
stub out and reset the sharing lib 2025-03-11 12:51:31 -06:00
dal 91a5fdb334
cargo fix 2025-03-11 12:33:37 -06:00
dal f6b42ec9b7
list endpoints for chats and logs 2025-03-11 12:30:36 -06:00
dal fbfea49253
added in collections routes, need to clean up 2025-03-11 12:16:28 -06:00
dal 7656e9039a
moved docs 2025-03-11 11:34:18 -06:00
dal 6227d6c316
tweak common again 2025-03-11 11:03:22 -06:00
dal 3d7673b23e
small tweaks on asset types 2025-03-11 11:00:23 -06:00
dal 182057426a
added in the user favorites endpoints 2025-03-11 10:58:17 -06:00
dal 4e97540ad3
windsurf rules 2025-03-11 10:24:19 -06:00
dal dbf77e4b68
save state bettr 2025-03-11 09:35:44 -06:00
dal 6528741645
data handler has necessary fields 2025-03-10 13:29:22 -06:00
dal 76648cae83
added in the description on the metric yml 2025-03-10 12:30:36 -06:00
dal 165e9e91ce
no longer shaking up the order on completed event 2025-03-10 12:27:44 -06:00
dal e7938c1a3c
files are coming back and response suddenly appeared again. 2025-03-10 12:15:03 -06:00
dal dbb05eab4f
plan being returned better. 2025-03-10 12:02:11 -06:00
dal 090f010542
ok plan is completing 2025-03-10 11:36:30 -06:00
dal d258b1a50d
almost working, need to work on exception for create plan 2025-03-10 11:33:31 -06:00
dal 915d71c99f
file modification logic 2025-03-10 10:20:06 -06:00
dal d1462fed2d
update for metric routes 2025-03-10 09:41:32 -06:00
dal 1171684c14
ok create dashboard file 2025-03-10 09:07:50 -06:00
dal 87b5489e10
move to traces 2025-03-10 08:55:06 -06:00
dal 381ab5e49f
modification changes 2025-03-07 13:33:02 -07:00
dal 456f117cd7
fix the raw llm message save. 2025-03-07 11:01:48 -07:00
dal 47e1558e2e
ok all is good on the western front 2025-03-07 09:19:47 -07:00
dal 582fb9869c
need to revert chrono for evals brach 2025-03-07 08:47:56 -07:00
dal 415466aa1f
dedup reasoning message 2025-03-07 07:58:35 -07:00
dal dc07acf9b7
quick commit 2025-03-07 07:24:27 -07:00
dal a1f5fe6e2a
last few changes 2025-03-06 16:52:14 -07:00
dal 95e3dcfe80
added in the asset sharing permissions and adjusted the existing logic 2025-03-06 16:46:18 -07:00
dal bcffc01061
successfully migrated to authenticated user obj 2025-03-06 16:21:26 -07:00
dal 65994d7d28
completed event making it now. 2025-03-06 11:18:55 -07:00
dal 2e61c39d0a
add in sharing lib 2025-03-05 17:52:08 -07:00
dal 7b44f395f3
completed 2025-03-05 17:18:00 -07:00
dal c8d044f1be
id's match 2025-03-05 17:15:21 -07:00
dal 518c802fb6
completed on files 2025-03-05 16:02:01 -07:00
dal b839e70aa9
moved around the ids so that the metrics and dashobard align across the board 2025-03-05 15:50:53 -07:00
dal 97656868d3
file unique id 2025-03-05 14:51:13 -07:00
dal 070a5c7455
Refactor message streaming and file processing logic 2025-03-05 14:03:28 -07:00
dal c60522b383
save files without sending 2025-03-05 13:58:14 -07:00
dal d773f85029
stream fix on the double file response 2025-03-05 13:36:02 -07:00
dal bba0e30b67
added in the user avatar url 2025-03-05 13:22:01 -07:00
dal b466a061c4
list is good for now, will adjust later. 2025-03-05 12:47:08 -07:00
dal 5af9a8e4eb
buffering content on stream 2025-03-05 11:21:11 -07:00
dal 6ec195be52
plan being saved effectively now 2025-03-05 10:39:18 -07:00
dal 4fab757f2d
message ids 2025-03-05 10:31:35 -07:00
dal ce4a188e1f
Merge branch 'big-nate/bus-939-create-new-structure-for-chats' into evals 2025-03-05 10:16:55 -07:00
dal 8c4acf45e0
ok temp ids are working 2025-03-05 10:15:36 -07:00
dal fe212cb167
ok I thinkn we got things running 2025-03-05 10:06:37 -07:00
dal 1440b6f65e
reasoning text is streaming back correctly right now. 2025-03-05 09:41:41 -07:00
dal ef83036728
ok pills are correct now 2025-03-05 08:54:39 -07:00
dal 6a974f0114
file responses streaming perfect 2025-03-05 08:47:22 -07:00
dal 37ae21fa31
last few changes 2025-03-05 08:03:48 -07:00
dal f2520c1b56
changes so far need two more tweaks 2025-03-05 08:03:28 -07:00
dal 8ec935bc0f
text id 2025-03-04 15:40:18 -07:00
Nate Kelley 0d90ad14fa
Merge branch 'evals' into big-nate/bus-939-create-new-structure-for-chats 2025-03-04 15:36:25 -07:00
dal 418f7ad86e
get chat 2025-03-04 15:24:57 -07:00
Nate Kelley e27928f79b
Merge branch 'evals' into big-nate/bus-939-create-new-structure-for-chats 2025-03-04 15:23:54 -07:00
dal ca93f9b9db
complete event 2025-03-04 15:11:48 -07:00
dal 0e95dfd4cb
updated some names and removed some bad fields 2025-03-04 15:08:07 -07:00
dal e6aafa1d30
new chat context 2025-03-04 14:33:12 -07:00
dal eae50d26f7
finished reasoning correctly done 2025-03-04 14:11:16 -07:00
Nate Kelley 2eb938f597
Merge branch 'evals' into big-nate/bus-939-create-new-structure-for-chats 2025-03-04 13:12:03 -07:00
dal db5f674745
raw llm empty array for now 2025-03-04 13:11:42 -07:00
dal 4730b78284
commit up update user 2025-03-04 13:09:54 -07:00
dal 63eebb0039
made change for file array stream 2025-03-04 12:53:28 -07:00
Nate Kelley 11bd8eb6f3
Merge branch 'evals' into big-nate/bus-939-create-new-structure-for-chats 2025-03-04 12:29:04 -07:00
dal 4207d8f714
kill channel when agent finishes. 2025-03-04 12:25:26 -07:00
Nate Kelley 2b53c534d5
Merge branch 'evals' into big-nate/bus-939-create-new-structure-for-chats 2025-03-04 12:08:46 -07:00
dal a1b4e083a0
new seed script 2025-03-04 12:03:42 -07:00
dal dc0c316051
update to db and new seed. 2025-03-04 11:51:05 -07:00
Nate Kelley 813b05c18a
Merge branch 'staging' into big-nate/bus-939-create-new-structure-for-chats 2025-03-04 10:53:16 -07:00
dal e5f25a6356
some updates to better align with types 2025-03-04 10:47:16 -07:00
dal 7e929d35ce
finished reasoning message 2025-03-04 10:19:05 -07:00
dal c458e6070f
fix seed script 2025-03-04 09:46:26 -07:00
dal 99d9399f51
context loaders. 2025-03-04 09:40:27 -07:00
dal 8d50adce47
send up some changes to handlers 2025-03-04 07:47:53 -07:00
dal 8232f628ea
add in initialize 2025-03-03 16:43:44 -07:00
dal d44e2f2946
some rule changes 2025-03-03 15:57:05 -07:00
dal 08bc8b2efb
lol update my cursor rules 2025-03-03 15:47:14 -07:00
dal ebdd955533
ok we added in the delete endpoint for messages 2025-03-03 15:38:38 -07:00
dal 9671b33829
generating title. 2025-03-03 14:39:15 -07:00
dal 1f51b126dd
get metric_data_handler 2025-03-03 13:45:53 -07:00
dal 2575b61fd6
added in the data endpoint for a given metric. 2025-03-03 13:33:32 -07:00
dal 4bd6243ae6
ok response streaming well 2025-03-03 12:47:58 -07:00
dal 46ad056524
files streaming in well now. 2025-03-03 12:33:22 -07:00
dal db619977de
separate out the processing chunks 2025-03-03 11:44:47 -07:00
dal b2c988527f
working for the most part. final details for the stream. 2025-03-03 11:30:17 -07:00
dal 9aa1cbbab7
ok types are matched with streaam 2025-03-03 10:42:29 -07:00
dal 71ab5891a9
ok last but not least, the stream 👍🏼 2025-03-03 10:32:26 -07:00
dal 03de39ac82
ok things are working, but more tweaks needed. 2025-03-03 10:21:11 -07:00
dal 5de4a3961a
ok I think the foundation is pretty well set and close... 2025-03-03 08:57:30 -07:00
dal 5ca8e90e31
another big one. 2025-03-03 07:05:14 -07:00
dal b31019d8cf
move post thread successfully 2025-03-03 06:47:18 -07:00
dal 46cf7d74fe
this is a big one... 2025-03-03 06:29:15 -07:00
dal 4b084cd725
moved user extension to the database lib 2025-02-28 14:28:00 -07:00
dal fdc4f3b2f1
builds and moved things around 2025-02-28 14:22:55 -07:00
dal 794741550d
adjust the validation 2025-02-28 13:08:27 -07:00
dal 7d75a2e7fd
moved agent logic over 2025-02-28 13:06:43 -07:00
dal 8322fdb768
separated query engine out into its own lib will make life 10x easier later 2025-02-28 12:55:28 -07:00
dal 3fec82953c
switched the way we get secrets to be simpler 2025-02-28 12:45:53 -07:00
dal 0c5768f7c0
moved a lot into their own lib to make easier to use. 2025-02-28 12:32:41 -07:00
dal ce1fb87b19
moved agent into own lib 2025-02-28 10:35:55 -07:00
dal 6604b9789e
updates for chats instead of threads 2025-02-28 09:41:44 -07:00
dal e459861c45
data catalog o3 mini 2025-02-27 14:06:07 -07:00
dal edbedd84ca
modifications for including subsets of data in requests. 2025-02-27 12:43:04 -07:00
dal f013295714
adjustments to prompt 2025-02-27 10:55:19 -07:00
dal 46b8640f8e
super agent changes 2025-02-27 08:03:33 -07:00
dal 4271de634b
oh haha needed to set the arrow version as well 2025-02-26 16:14:58 -07:00
dal add8468198
chrono set to 0.4.38 2025-02-26 16:10:49 -07:00
dal 191d86e5f4
lets try adjusting the arrow packages. 2025-02-26 15:33:33 -07:00
dal b47a03423d
changes to the search data catalog 2025-02-26 15:13:11 -07:00
dal 65ce4769b4
changed the prompts 2025-02-26 13:44:23 -07:00
dal a70389b4e8
bigquery support 2025-02-26 07:45:22 -07:00
dal ca0d8704c2
Enhance database type mapping and YAML generation
- Expand type mapping to support multiple database systems (Snowflake, PostgreSQL, BigQuery, Redshift, MySQL)
- Add function to clean quotes from generated YAML
- Improve type categorization for dimensions, measures, and unsupported types
- Modify YAML description enhancement to remove quotes
2025-02-25 21:30:18 -07:00
dal 3bfe77339a
Enhance dataset and API error handling
- Improve column deployment logic in dataset routes
- Add more detailed error reporting in CLI generate command
- Support additional Postgres credential parsing
- Add debug logging for Buster API interactions
2025-02-25 21:11:06 -07:00