TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Tell HN: An experiment with natural language spreadsheet formulas

5 pointsby paulfitzover 2 years ago
We&#x27;ve been experimenting with AI-assisted writing of spreadsheet formulas. Why? Spreadsheets are the original low-code platform – sprinkle in a little bit of code and you get a big benefit - but that little bit of code is still daunting for many. We thought our spreadsheet app, Grist, might be particularly well suited to AI assistance for two reasons.<p>First, Grist uses Python as its formula language. Current AI models are particularly good at writing Python code, and getting better (every day it seems like).<p>Secondly, Grist spreadsheets are relational databases with a schema that can be neatly described as part of a prompt for an AI model, helping it make inferences.<p>We tested OpenAI models using formulas from our template gallery to approximate real use cases and the results were encouraging - you can browse prompts and outputs here: https:&#x2F;&#x2F;public.getgrist.com&#x2F;n3jAtRYDSVWe&#x2F;AI-Formula-dataset<p>Source code of the experiment is at https:&#x2F;&#x2F;github.com&#x2F;gristlabs&#x2F;grist-core&#x2F;pull&#x2F;345 with a docker image for anyone who wants to play. There are some example videos in a write-up at https:&#x2F;&#x2F;www.getgrist.com&#x2F;blog&#x2F;ai-formula-generation-experiment&#x2F;<p>This is the brain-child of Alex Hall of https:&#x2F;&#x2F;futurecoder.io&#x2F;

no comments

no comments