3 ms·
Am I misunderstanding something? How is this "Everything runs locally" if it's talking to OpenAI's APIs?
by GarrickDrgn 1y ago
Am I misunderstanding something? How is this "Everything runs locally" if it's talking to OpenAI's APIs?
- whilenot-dev 1y agoThis app is using OpenAI via the ai package[0][1], so "Everything runs locally" is definitely misleading. [0]: https://github.com/NickTikhonov/snap-ql/blob/409e937fa330deb2e45e9120e551acf2b2615f64/src/main/lib/db.ts#L41 https://github.com/NickTikhonov/snap-ql/blob/409e937fa330deb... [1]: https://github.com/vercel/ai https://github.com/vercel/ai
- deleted 1y ago[deleted]
- piskov 1y agoI guess he means there is no proxy between you and openai. API key won’t leak, etc.
- nicktikhonov 1y agoWhat I meant was that it isn't a web app and I don't store your connection strings or query results. I'll make this more clear
- omega3 1y agoYou might not but openai does.
- doctorpangloss 1y agoAPI gateways could accept public keys instead of generating bearer tokens. Then the private key could reside in an HSM, and apps like this could give HSMs requests to sign. IMO even though this could be done in an afternoon, everyone - Apple and Google, the CDN / WAF provider, the service provider - is too addicted to the telemetry.
- nicktikhonov 1y agoThat makes no sense. OpenAI doesn't know the secret database connection string or any query results. Perhaps you should have read the code before making baseless claims.
- nessbot 1y agoBut it knows what you're querying, which depending on what you're doing may also give away a good bit about whats in the DB.
- kokanee 1y agoIt is a web app, though. You just aren't running the server, OpenAI is. And you're packaging the front end in electron instead of chrome to make it feel as if it all runs locally, even though it doesn't. Side note: I don't see a license anywhere, so technically it isn't open source.