Ke

Keep Your Next Viral AI App Free for Longer with Local Embeddings

Hacker News

Keep Your Next Viral AI App Free for Longer with Local Embeddings

Hey HN! I'm the founder of Function, a platform that enables developers to run Python functions on-device. We've been quietly building for the past several months, but we figured we could launch some low-hanging fruit: Function LLM patches your OpenAI client to generate embeddings on-device, both in the browser and in Node.js. The library itself is so tiny that it doesn't even need to be a standalone library. The more interesting piece is how it uses Function to generate embeddings on-device, fully cross-platform. For the embedding model, we've partnered with Nomic AI to use their `nomic-embed-text-v1.5` model. We plan to add more embedding models before adding support for text generation with small LLMs. At this point, you're probably wondering how we differ from the likes of Ollama. Unlike the other players in the space, we believe that the whole point of on-device AI is to push as much of your app's heavy computation to your users' devices--not to spin up a 'local' AI service still running on AWS or other cloud. This way, you save tons of cash by simply not having a hosted inference service; build users' trust with privacy by default; and have way less complicated serving infrastructure at scale. Function handles much of the heavy lifting for you. We compile Python functions to run on Android, browser, iOS, macOS, Linux, and Windows. And we're exhaustive in using whatever hardware (GPU, NPU, etc) or ISA (CoreML, CUDA, etc) a particular device offers. --- Relevant Links: - Function LLM on GitHub (please ): https://github.com/fxnai/fxn-llm-js - Document Retrieval Demo (fully on-device): https://fxn-llm-js.vercel.app/ - Function Docs: https://docs.fxn.ai/introduction - Function Waitlist (to write your own fxns): https://fxn.ai/waitlist

Share card

Actual performance

7points
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: mac, macos, model · Missing: agents, agent, cursor
91%91% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Strong signals: ios · Missing: supports, reddit linkedin, podcasting
83%83% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: llama, io · Missing: https docs, excited, just released
75%75% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRFits verified-revenue profile · Strong signals: ios, month, users · Missing: mobile apps, personal, entrepreneurs
55%55% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Strong signals: platform, host, users · Missing: plus, intuitive, reviews
31%31% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
20%20% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Ma
Made a free Sprint Retrospective app38%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Made a free Sprint Retrospective app

Hacker News1
Te
TeamVideo.app – Free Video Conferencing28%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

TeamVideo.app – Free Video Conferencing

Hacker News2
I
I made a scientific dissemination AI app46%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

I made a scientific dissemination AI app

Hacker News1
Sc
Scientific Dissemination AI App40%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Scientific Dissemination AI App

Hacker News1
I
I proposed to my girlfriend with an AI app33%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

I proposed to my girlfriend with an AI app

Hacker News10
threadstool-kit.netlify.app
threadstool-kit.netlify.app45%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

free viral thread website for creators

Indie Hackerscommitment-side-project
An
An AI To-Do App33%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

An AI To-Do App

Hacker News2
I
I just made my weather app free31%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

I just made my weather app free

Hacker News2
WeCovr | CalorieHero
WeCovr | CalorieHero23%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

CalorieHero - our AI nutrition app as free perk for clients

Product Hunt+10
Fr
Free all-in-one event app22%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Free all-in-one event app

Hacker News1