spongedsc / pathways

Pathways: multi-modal AI/ML models on discord
GNU Affero General Public License v3.0
3 stars 1 forks source link

Offload ML workloads to an external microservice written in another language #104

Closed daniwasonline closed 3 months ago

daniwasonline commented 4 months ago

ok actually tho rust seems to have a better set of ai stuff (huggingface candle, etc.) which in theory could be helpful if we hadnt already settled on cf ai

@artifishvr in this issue

Being serious about this comment, offloading ML workloads and other heavy-lifters/services to microservices outside of the JavaScript context is plausible. While we have settled on Workers AI, the adapter specification that we use is universal. It can be adopted to nearly any service/API - in fact, it already has, with Integrations using an OpenAI adapter using (relatively) the same layout for command detection.

This should be explored in the future.

Butterroach commented 4 months ago

why did you write it professionally

artifishvr commented 4 months ago

dani you just tagged some random bot account that is not me

daniwasonline commented 4 months ago

shit

Butterroach commented 4 months ago

why can i edit other people's comments why is that a thing

edited by arti: its how github orgs work edited by dani: i hate your kind butterroach

Butterroach commented 4 months ago

https://artifish.github.io/artifish.il/

daniwasonline commented 4 months ago

why did you write it professionally

read #77

daniwasonline commented 3 months ago

An update

Pathways Engine (PWSE) will be the all-in-one replacement system for all history, integration, and inference going forward. While the original plan was to write PWSE in another language other than JavaScript, the lack of a reliable LangChain library in an easily-prototyped language led to an initial version being written in TypeScript (with Bun).

I may explore the possibility of rewriting PWSE in Go when its' LangChain library is mature enough to support most features required to practically do so. I might also consider writing it in Rust, but the slow pace of scaffolding and prototyping new features makes this highly unlikely.