Commit History

Expand safe_builtins and add them in the prompt
b109b68

Sw1ft0 commited on

fix exec()
8a23027

Pavlo Kostianov commited on

Improve Budget sheet handling, schema and prompt.
c74321c

Pavlo Kostianov commited on

Silly assumption
bfac968

Pavlo Kostianov commited on

Try to reduce prompt size
75e1424

Pavlo Kostianov commited on

Add debug lines
29cc02b

Pavlo Kostianov commited on

Fix OpenAI parameter
fa85daa

Pavlo Kostianov commited on

Fix OpenAI parameter
8ae22c3

Pavlo Kostianov commited on

Update OpenAI instructions
c525991

Pavlo Kostianov commited on

Add usage limit
372d86b

Pavlo Kostianov commited on

Replace Gemini with OpenAI
c944dd0

Pavlo Kostianov commited on

Switch model to Flash
c002d00

Pavlo Kostianov commited on

Set shate true
a284c18

Pavlo Kostianov commited on

Remove unused code
a226590

Pavlo Kostianov commited on

Remove headers from Budget Summary
3e102a6

Pavlo Kostianov commited on

Improve Budget Sheet handling
82bc971

Pavlo Kostianov commited on

Update loader function to load whole Budget sheet and improve prompt
a6bbf7e

Pavlo Kostianov commited on

Update Gradio UI: add title, Send and Copy buttons and change chat window's size
8d3574a

Sw1ft0 commited on

Change Gemini Model back to 2.5-pro. Add better Budget sheet pre-processing breakdown and files context to the prompt
62f3a56

Sw1ft0 commited on

Fix different header cases handling to data loading section
fe06f0e

Sw1ft0 commited on

Change Gemini Model to 2.5 Flash
44a1b9f

Sw1ft0 commited on

Add one more special header case handling to data loading section
2c65316

Sw1ft0 commited on

Add a restricted set of built-ins
1f650a0

Sw1ft0 commited on

Add special header case handling to data loading section. Append schema with example rows to be passed to Gemini for context. Improve the prompt and format_result function.
7f64dba

Sw1ft0 commited on

Update prompt to let Gemini know how to access data, add tie rule. Add helper method to format result for output using numpy
288f777

Sw1ft0 commited on

Update get_schema_info function to read each Sheet and its columns
13a0a1c

Sw1ft0 commited on

Ensure all sheets are extracted from the source files
2732dc8

Sw1ft0 commited on

Add lines filter to remove unwanted code from Gemini's output
8f502b4

Sw1ft0 commited on

Update prompt
e5581b1

Sw1ft0 commited on

Try another AI model
c161698

Sw1ft0 commited on

Use os.path.join to be OS-safe
8858e33

Sw1ft0 commited on

Remove .gitignore, update file paths in app.py, add data source files using git lfs
0c5d81b

Sw1ft0 commited on

Major approach change. Rewrite app.py, ajust requirements and update .gitignore.
5ad7d73

Sw1ft0 commited on

Update upload_excel() to read all pages in a file instead of just 1
0b8b15e

Sw1ft0 commited on

Fix Gemini model name
23901ad

Sw1ft0 commited on

Add Gemini API. Set latest Gradio version.
414da23

Sw1ft0 commited on

Add initial files
7273bff

Sw1ft0 commited on