Commit Graph

44 Commits

Author SHA1 Message Date
dal 2858bedac5
posthog telemetry for domain name 2025-05-12 11:11:51 -06:00
dal fe6866dd7e
Merge branch 'evals' into dal/self-hosting-guide 2025-05-06 16:59:04 -06:00
dal c3c8100f3c
moved semantic layer to server libs for now 2025-05-05 18:41:16 -06:00
dal 32501e4a0f
raindrop added 2025-04-28 14:00:36 -06:00
dal 8ad1801d9d
agent retry syste a little more resilient 2025-04-26 10:47:58 -06:00
dal 166f54ee17
stored values sync on background job 2025-04-23 11:46:56 -06:00
dal 180a291bc8
starting to work on file streaming, moved resend logic, permissions 2025-04-18 12:21:25 -06:00
dal df1eda84d3
list logs fix move dataset security 2025-04-17 11:38:21 -06:00
dal 41f60ec874
sentry setup 2025-04-05 11:17:21 -06:00
dal 67932cfe39
removed sentry and set it up better 2025-04-04 16:43:58 -06:00
dal 7e982c3653
delete testkit 2025-04-02 14:28:29 -06:00
dal 568705d1be
remove old src that was moved to /server and some testing helpers and such 2025-04-02 12:29:58 -06:00
dal 17a4afc7ae
moved server into own space of workspace 2025-04-02 11:31:43 -06:00
dal 22322f0711
search functionality 2025-03-25 14:31:02 -06:00
dal 5a8e117019
created sql analyzer lib 2025-03-21 23:44:49 -06:00
dal f1e2911c0a
clean up testing errors 2025-03-21 10:14:20 -06:00
dal cc21f8b2ad
create sharing_access_controls 2025-03-19 09:41:29 -06:00
dal e1f60494a2
metrics endpoints and optimizations for evals 2025-03-18 21:13:47 -06:00
dal a9cd975a0b
moved off gemini and added braintrust client for better tracing. 2025-03-14 08:56:21 -06:00
dal 3c052367b1
some build optimizations 2025-03-11 20:00:10 -06:00
dal 48c3d9f14b
convert over db types to be struct 2025-03-11 19:30:46 -06:00
dal 582fb9869c
need to revert chrono for evals brach 2025-03-07 08:47:56 -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 b839e70aa9
moved around the ids so that the metrics and dashobard align across the board 2025-03-05 15:50:53 -07:00
dal 46cf7d74fe
this is a big one... 2025-03-03 06:29:15 -07:00
dal fdc4f3b2f1
builds and moved things around 2025-02-28 14:22:55 -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 561c31965e
get dashboards still need to tweak the metrics dashboard rel 2025-02-18 10:22:27 -07:00
dal 7ab35b7f22
here is the fix 2025-02-18 09:26:40 -07:00
dal 81b781340c
dep db and others 2025-02-18 08:17:43 -07:00
dal b48b350381
moved litellm made another lib 2025-02-14 14:12:31 -07:00
dal 8fedcecd43
handlers lib 2025-02-14 13:44:21 -07:00
dal 3bd5516486
ok thread is being inserted 2025-02-13 16:15:09 -07:00
dal 5416418955
cargo optimization for faster builds 2025-02-13 08:31:14 -07:00
dal ec04a5e98e
refactor: Enhance Agent and Tool management with new methods and tests
- Added environment variable-based LLM client initialization in `Agent::new()`
- Introduced `add_tool()` and `add_tools()` methods for more flexible tool registration
- Implemented new `get_name()` method for `ToolExecutor` trait
- Added comprehensive test cases for Agent with and without tools
- Updated `AgentThread` with a convenient constructor method
- Temporarily commented out unused tool modules
- Added debug print in LiteLLM client for response logging
2025-01-30 14:12:59 -07:00
dal c560b660bb
refactor: Enhance LiteLLM client types and improve type flexibility
- Updated `types.rs` to support more complex message and response structures
- Added support for multi-content messages with `Content` struct
- Introduced optional fields and improved serialization handling
- Enhanced type flexibility for AI client responses
- Updated test cases to reflect new type structures
- Added `Default` implementation for `LiteLLMClient`
- Improved support for tool calls and streaming responses
2025-01-25 17:24:07 -07:00
dal 087867032d
chore: Update API project configuration and add new modules
- Added dev dependencies for Mockito and Tokio async testing
- Updated .cursorrules with async test requirement
- Expanded utils modules with new serde_helpers and tools
- Added new AI client module for LiteLLM
2025-01-25 15:17:21 -07:00
dal 87466e8d61
Enhance email functionality by adding HTML escaping
- Added `html-escape` crate to `Cargo.toml` for HTML escaping.
- Updated email template processing to escape HTML in message and button text, preventing potential XSS vulnerabilities.
- Modified test cases to include HTML content in email parameters, ensuring proper handling and escaping.

This change improves security by sanitizing user input in email communications.
2025-01-24 08:57:48 -07:00
dal 04a745f0ad
Update dependencies and refactor Snowflake query handling
- Downgraded the `base64` crate version in `Cargo.toml` from `0.22.1` to `0.21`.
- Refactored the `snowflake_query` function in `snowflake_query.rs` to improve data type handling, including support for additional Arrow data types and enhanced null value checks.
- Updated the `route_to_query` function in `query_router.rs` to use mutable `snowflake_client` for better state management during query execution.
- Improved error handling for closing the Snowflake client session, ensuring proper logging of any issues encountered.
2025-01-22 10:31:02 -07:00
dal 79b3df107d
Add support for YAML-based dataset deployment and enhance dataset structures 2025-01-09 11:57:56 -07:00
dal 73822945bf Refactor Docker Compose and API for enhanced functionality and migration support
- Simplified the API service build configuration in `docker-compose.yml` by consolidating the build context and Dockerfile path.
- Added `diesel_migrations` dependency to `Cargo.toml` for database migration management.
- Implemented database migration logic in `main.rs`, including error handling and logging for migration success or failure.
- Introduced a new mail service in `supabase/docker-compose.yml` for handling SMTP, POP3, and web interface.
- Removed version specification from `supabase/dev/docker-compose.dev.yml` for cleaner configuration.

These changes improve the overall structure and functionality of the application, facilitating better database management and service orchestration.
2025-01-07 22:21:28 -07:00
dal bdc3c10712 Brought in the bi-api 2025-01-03 14:32:54 -07:00