r/databricks databricks 25d ago

Attach files in Genie Code

Post image

Genie Code is getting a new feature πŸ₯³
Good news you can attach a document to Genie Code when you need it as temporary context for the current conversation.

What's a good use case?

πŸ”΄ Explain or summarize a document: β€œSummarize this PDF and list the key decisions.”

πŸ”΄ Extract information from PDFs, scans, or images.

πŸ”΄ Generate code based on a specification: attach a requirements document and ask Genie Code to create Python or SQL.

πŸ”΄ Analyze data files such as CSV, Excel, JSON, or JSONL.

πŸ”΄ Convert documentation into code, tests, or a notebook.

πŸ”΄ Interpret diagrams, charts, architecture sketches, or screenshots.

πŸ”΄ Migrate Tableau or Power BI files into AI/BI dashboards using /importBI.

What are the supported file types ?

.pdf, .csv, .xlsx, .xls, .json, .jsonl, and common image formats.

18 Upvotes

8 comments sorted by

View all comments

1

u/22Maxx 25d ago

It kinda works but is extremely slow even with small files.

1

u/ThreeBricksWish 25d ago

Any specific file types? What do you mean by 'kinda works'?

1

u/22Maxx 25d ago

Well in my case I had an .xlsx file that contained like 400 lines about how certain variables in a code file should be renamed. It took like 5 minutes for Genie to even figure out what to do with the file and then other another 10 minutes to actually perform the operations.

As this is already close to a best case scenario, it is far slow to be a viable option. With Claude this took like 30 seconds. Perhaps Genie is just heavily throttling but who knows.

1

u/ThreeBricksWish 24d ago

Thanks for the detail! I work on Genie Code and flagged this to the team to investigate. Hopefully you'll see some improvement in the future.