←back to thread

168 points selvan | 2 comments | | HN request time: 0s | source
Show context
TekMol ◴[] No.44461758[source]
It seems the only code that runs in the browser here is the code that talks to LLMs on servers.

Why would you need WASM for this?

replies(3): >>44461907 #>>44462433 #>>44465568 #
1. politelemon ◴[] No.44461907[source]
They're using some python libraries like openai-agents so presumably it's to save on development efforts of calling/prompting/managing the HTTP endpoints. But yes this could just be done in regular JS in the browser, they'd have to write a lot of boilerplate for an ecosystem which is mainly Python.
replies(1): >>44462115 #
2. yjftsjthsd-h ◴[] No.44462115[source]
> But yes this could just be done in regular JS in the browser, they'd have to write a lot of boilerplate for an ecosystem which is mainly Python.

Surely that's a prime use for AI?