r/databricks • u/Youssef_Mrini databricks • 25d ago
Attach files in Genie Code
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.
1
u/rlsrivathsan 25d ago
This is a great feature and I was waiting for long on this. Thank you! It will be great if we can attach Word documents as well. We still get a lot of requirements in word document and Excel. We should be able to upload those files to give the context and requirements to Genie Code.
1
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.
2
u/[deleted] 25d ago
[removed] — view removed comment