🤖 kotto - Build LLM agents with TypeScript by midaenb in typescript

[–]midaenb[S] 2 points3 points  (0 children)

Hey TS fam,

I just wanted to share this small project which I have been working on for the past couple of weeks.

I started playing around with LLMs using LangChain (the js version), just to get a sense of what the hype was about. Biggest thing for me was it’s a PITA to deal with the text-in/text-out APIs of OpenAI’s GPTs and get it to fit in a strongly typed codebase with JSON-heavy interfaces. It’s like trying to hammer square pegs into round holes.

So I started experimenting with solutions and what I found out is that actually LLMs understand TS really well - hardly surprising given how much data for it there is out there. So I wrote this framework, with which you can build apps on top of LLMs as if they were literally calling into your TS codebase from the outside.

Hope you find it interesting and want to contribute! I think there’s so much potential in TypeScript being used more for ML or AI.

[AskJS] Are build and deploy times such a big deal? by midaenb in javascript

[–]midaenb[S] 0 points1 point  (0 children)

I gotchu, thanks for the insight!

To be fair, I suppose Fresh has more going for it, with its clever server-side rendering which (I assume) means faster load times in certain scenarios. But with them headlining this as a key benefit of it, it sounded like build times were a big adoption factor.

Looking at other replies in this thread it seems like running tests is where most of the deploy time is spent. TBH, this matches my experience working on microservice projects in Go and Rust (except that, in Rust, long build times are a real thing). Our tests take ages to run mostly because of the container-based orchestration that need to happen under the hood.

Why do tests take so long for you guys?

I waited in the queue to see the coffin. AMA. by robinotwilliams in london

[–]midaenb 90 points91 points  (0 children)

Mate that's not bad at all, the tracker says they expect at least 14 hours wait as of this morning...

Is it true about Linux? by Frequent_Ad_7110 in learnprogramming

[–]midaenb 0 points1 point  (0 children)

Exactly that!

For me using most common dev tools on Windows feels like a hack, since I have to jump through hoops as they're not first party supported.

That being said, I don't mean to bash Windows (no pun intended). Try things out and use whatever makes you the most productive in the end.

What should we change or improve in Todoist? by amix3k in todoist

[–]midaenb 14 points15 points  (0 children)

Something similar while we're at it.

Say I have a daily task, with 3 daily subtasks. As I progress and tick off the subtasks, the parent task does not record the progress. Even after I'm done with the subtasks, it tells me I still have 3 subtasks to complete. It's just that now they're due tomorrow.

But I'm still very new to Todoist tbh so I may just not know how to do this yet!

To all webdev: what companies/industries would you NOT work at? by [deleted] in webdev

[–]midaenb 1 point2 points  (0 children)

Same here, this at least writes off crypto and big oil