Commit Graph

67 Commits

Author SHA1 Message Date
tobiadefami
f39639855a more context window optimizations and removing the mock analysis from the pyodide backend 2025-03-09 00:45:51 +01:00
tobiadefami
03a0f7775e further preprocessing to remove:
- empty rows
- empty cols
2025-03-07 02:53:48 +01:00
tobiadefami
0ad8de5e64 Implement smart spreadsheet context handling for large datasets
- Add contextWindowUtils.ts with intelligent data sampling and summarization
- Update formatSpreadsheetData to use context-aware representation
- Modify LLM API to handle large spreadsheets efficiently
- Improve context window utilization with metadata and representative samples
- Add detection for headers and data types
2025-03-07 02:37:47 +01:00
tobiadefami
7af521ecd4 precompute columnrefs before using them to obtain cell refrences 2025-03-06 10:11:41 +01:00
Oluwatobi Adefami
e63133771b Merge pull request #20 from PragmaticMachineLearning/prompt-library
make saved prompts editable
2025-03-01 20:32:38 +01:00
tobiadefami
04e67a5b8a make save prompts editable 2025-03-01 20:30:12 +01:00
Oluwatobi Adefami
ee5b54ed49 Merge pull request #19 from PragmaticMachineLearning/prompt-library
Prompt library
2025-03-01 20:16:38 +01:00
tobiadefami
42f8c9e918 update readme to reflect the addition of prompt library 2025-03-01 20:15:54 +01:00
tobiadefami
00c3c4e85c Added a handy prompt library so users can quickly access common prompts or save their own favorites. Open it with Ctrl+Shift+L or click the new book icon next to the chat button 2025-03-01 20:12:35 +01:00
Oluwatobi Adefami
692db61d5e Merge pull request #18 from PragmaticMachineLearning/docker-deployment
Add package-lock.json for consistent builds
2025-03-01 09:17:36 +01:00
tobiadefami
d6b12ce7d1 Add package-lock.json for consistent builds 2025-03-01 09:17:01 +01:00
Oluwatobi Adefami
6f7d8dfbd2 Merge pull request #16 from PragmaticMachineLearning/docker-deployment
feat: Add Docker support and improve browser compatibility
2025-02-28 12:32:10 +01:00
tobiadefami
f0735525c1 feat: Add Docker support and improve browser compatibility
This commit adds Docker support for easy deployment and improves browser compatibility:

- Add Dockerfile and docker-compose.yml for containerized deployment
- Fix Pyodide integration to work properly in browser-only mode
- Add mock implementation for server-side rendering
- Clean up markdown formatting in analysis output
- Update README with Docker deployment instructions
- Add platform-specific keyboard shortcuts (Mac/Windows)
- Ensure public directory exists in Docker build
- Fix TypeScript type definitions for Pyodide

The application now properly handles the browser/server environment difference,
with Python analysis running exclusively in the browser while the server
provides API proxying and static file serving.
2025-02-28 12:30:29 +01:00
Oluwatobi Adefami
59016302fe Merge pull request #15 from PragmaticMachineLearning/docs
update docs
2025-02-27 15:29:01 +01:00
tobiadefami
4eedd3f537 update docs 2025-02-27 15:25:43 +01:00
Oluwatobi Adefami
646e94a086 Merge pull request #14 from PragmaticMachineLearning/docs
Docs
2025-02-27 15:02:39 +01:00
tobiadefami
9aa1ac06cf update readme 2025-02-27 15:01:26 +01:00
tobiadefami
9329cdeb73 update docs 2025-02-27 14:24:46 +01:00
Oluwatobi Adefami
49583a0f9c Merge pull request #13 from PragmaticMachineLearning/docs
readthedocs requirements
2025-02-27 14:18:02 +01:00
tobiadefami
77b05c2540 readthedocs requirements 2025-02-27 14:17:20 +01:00
Oluwatobi Adefami
889e00f565 Merge pull request #12 from PragmaticMachineLearning/docs
Docs
2025-02-27 14:05:22 +01:00
tobiadefami
40523a59e5 UPDATE: documnentation 2025-02-27 14:04:38 +01:00
tobiadefami
9974a629d3 Add documentation 2025-02-27 09:13:19 +01:00
Oluwatobi Adefami
5b69e59a54 Merge pull request #11 from PragmaticMachineLearning/inline-charts
Inline charts
2025-02-26 21:31:23 +01:00
Oluwatobi Adefami
a39767cc93 Merge pull request #10 from PragmaticMachineLearning/feature/wasm-sbx
Feature/wasm sbx
2025-02-26 21:30:55 +01:00
tobiadefami
97e41c967e change name from excel-ai to probly 2025-02-26 17:27:20 +01:00
tobiadefami
cce310385e make charts appear in-line 2025-02-26 12:01:19 +01:00
tobiadefami
02e76e2658 fix ai message render 2025-02-25 23:07:23 +01:00
tobiadefami
b82ce3a68f making chat ux better 2025-02-25 15:28:17 +01:00
tobiadefami
7d7d1ecaa1 llm api refactor 2025-02-25 08:51:41 +01:00
tobiadefami
0ad4d894d7 use structured outputs to format wasm execution results 2025-02-24 23:59:36 +01:00
tobiadefami
1b54d0164e revert stdout to string 2025-02-21 22:47:34 +01:00
tobiadefami
d4a84c7f12 structure results from sbx execution to be better displayed on the spreadsheets 2025-02-21 21:46:05 +01:00
tobiadefami
7bd70194ce ADD: wasm sandbox 2025-02-20 02:38:20 +01:00
Oluwatobi Adefami
ac6f49c211 Merge pull request #9 from PragmaticMachineLearning/fix/abort-streaming-request
Fix/abort streaming request
2025-02-19 03:08:36 +01:00
tobiadefami
1ef5c69c3b fix/update loading state when streaming is complete 2025-02-19 03:06:29 +01:00
tobiadefami
14c3ee3bea fix: implement end-to-end abort handling for streaming requests 2025-02-17 20:16:01 +01:00
Oluwatobi Adefami
fe6c7ef6cd Merge pull request #8 from PragmaticMachineLearning/tool_calling
config files
2025-02-14 23:00:45 +01:00
tobiadefami
b572ff46c3 config files 2025-02-14 22:59:07 +01:00
Oluwatobi Adefami
a861deda2e Merge pull request #7 from PragmaticMachineLearning/tool_calling
implement multiline feature in chatbox
2025-02-14 22:33:41 +01:00
Oluwatobi Adefami
e38b7b44e4 Update README.md 2025-02-14 16:36:35 +01:00
tobiadefami
ae2ced4a87 implement multiline feature in chatbox 2025-02-11 16:32:58 +01:00
Oluwatobi Adefami
fb4dcfacae Merge pull request #6 from PragmaticMachineLearning/tool_calling
improve spatial knowledge logic for sandbox execution
2025-02-02 11:08:34 +01:00
tobiadefami
3ea7fdfc4e improve spatial knowledge logic for sandbox execution 2025-02-01 21:27:09 +01:00
Oluwatobi Adefami
ba9f38746c Merge pull request #5 from PragmaticMachineLearning/tool_calling
make llm have spatial understanding of the spreadsheet, let it create…
2025-01-31 01:14:56 +01:00
tobiadefami
3d3900552d make llm have spatial understanding of the spreadsheet, let it create tables, update rows/columns, etc 2025-01-30 23:37:17 +01:00
Oluwatobi Adefami
2b53424189 Merge pull request #4 from PragmaticMachineLearning/tool_calling
Tool calling
2025-01-29 02:26:09 +01:00
tobiadefami
991fc8d095 sbx working with tool calling 2025-01-29 02:21:42 +01:00
tobiadefami
e3e4d17a20 WIP: give the ai full autonomy 2025-01-28 01:00:39 +01:00
tobiadefami
6d99b9cee2 update readme 2025-01-18 11:07:06 +01:00