Better HN
topnewbestaskshowjobs
Log inSign up

lgrammel

52 karma · joined Mar 2, 2021 (5y ago) · 53 submissions

Submissions

1.

Building a software factory for AI SDK(vercel.com ↗)

1 points · by lgrammel · 3mo ago · discuss

2.

Python AI SDK(github.com ↗)

1 points · by lgrammel · 1y ago · discuss

comment 2y ago · link · parent

In case you're using JS/TS, I've been working on an abstraction layer for integrating AI models applications, unifying the API for common operations such as text streaming, object generation, and tool usage: https://github.com/lgrammel/modelfusion

comment 2y ago · link · parent

Thanks, I appreciate it! Good luck with the project!

comment 2y ago · link · parent

My expectation would have been a fork, or a repo thats started with the full commit history.

comment 2y ago · link · parent

Thanks!

comment 2y ago · link · parent

So, you essentially took my project ( https://github.com/rubberduck-ai/rubberduck-vscode ), and instead of contributing to it or forking it, you recommitted all the code under your own name, with a few small tweaks.

To be fair, I saw that you give credit, but it's kind of disappointing still given that prob 98% of the project is the work of the Rubberduck contributors. I know Rubberduck is not that active any more, but it's still disappointing.

8.

How to talk to an LLM (with your voice)(daily.co ↗)

2 points · by lgrammel · 3y ago · discuss

9.

Deepfakes of Chinese influencers are livestreaming 24/7(technologyreview.com ↗)

2 points · by lgrammel · 3y ago · discuss

10.

Why the right tools fail for the wrong reasons(blog.testdouble.com ↗)

1 points · by lgrammel · 3y ago · discuss

11.

Indigenous Earthworks Hidden in the Amazon Reveal Human Connections to Forest(thisiscolossal.com ↗)

1 points · by lgrammel · 3y ago · discuss

12.

Reflections on AI Engineer Summit 2023(eugeneyan.com ↗)

2 points · by lgrammel · 3y ago · discuss

comment 3y ago · link · parent

Hey!

I've created "StoryTeller", a multi-modal app that quickly generates audio stories for pre-school kids.

StoryTeller is built with the following libraries:

- Fastify - Next.js - shadcn/ui - ModelFusion - Zod

The following AI APIs are used:

- OpenAI (story generation, embeddings) - Eleven Labs (tts) - Lmnt (tts) - thanks for sponsoring the project with credits! - Stability (images)

14.

The State of AI Engineering(ignorance.ai ↗)

1 points · by lgrammel · 3y ago · discuss

comment 3y ago · link · parent

https://github.com/lgrammel/storyteller

StoryTeller is an exploratory web application that creates short audio stories for pre-school kids.

It used speech-to-text, llms, text-to-speech, embeddings and image generation.

StoryTeller is built with the following libraries:

ModelFusion Fastify Next.js shadcn/ui Zod

The following AI APIs are used:

OpenAI Eleven Labs Lmnt Stability

16.

OpenAI GPT base models now have 16k context window(platform.openai.com ↗)

2 points · by lgrammel · 3y ago · discuss

comment 3y ago · link · parent

I think it is more nuanced. This article for example contains examples that suggest otherwise if you want to increase quality (which is a major concern when putting things in production):

https://www.anyscale.com/blog/fine-tuning-llama-2-a-comprehe...

comment 3y ago · link · parent

Thanks :) I’ll post here when I have larger updates.

comment 3y ago · link · parent

Yes, good point, JS/TS is definitely behind Python. That might explain some of it.

I expect most models to become multi modal in the future and am building towards. A lot of the core logic of agents will nevertheless be text based imo, so that’s a central piece, but I already added text to image and speech to text, and plan to add text to speech next.

comment 3y ago · link · parent

I’m working on ModelFusion, a TypeScript library for working with AI models (llm, image, etc.)

https://github.com/lgrammel/modelfusion

It is only getting limited traction so I’m wondering if I’m missing something fundamental with the approach that I’m taking.

comment 3y ago · link · parent

If you work with JS or TS, check out this alternative that I've been working on:

https://github.com/lgrammel/modelfusion

It lets you stay in full control over the prompts and control flow while make a lot of things easier and more convenient.

comment 3y ago · link · parent

You can also spin up the llama.cpp server ( https://github.com/ggerganov/llama.cpp/tree/master/examples/... ) and e.g. use ModelFusion to generate text, stream text, tokenize, etc. : https://modelfusion.dev/integration/model-provider/llamacpp

comment 3y ago · link · parent

llama.cpp has a server with a REST API that you can use: https://github.com/ggerganov/llama.cpp/tree/master/examples/...

comment 3y ago · link · parent

ModelFusion is a library for building AI apps, chatbots, and agents. It provides abstractions for AI models, vector indices, and tools.

- Type inference and validation: ModelFusion uses TypeScript and Zod to infer types wherever possible and to validate model responses.

- Flexibility and control: AI application development can be complex and unique to each project. With ModelFusion, you have complete control over the prompts and model settings, and you can access the raw responses from the models quickly to build what you need.

- No chains and predefined prompts: Use the concepts provided by JavaScript (variables, functions, etc.) and explicit prompts to build applications you can easily understand and control. Not black magic.

- More than LLMs: ModelFusion supports other models, e.g., text-to-image and voice-to-text, to help you build rich AI applications that go beyond just text.

- Integrated support features: Essential features like logging, retries, throttling, tracing, and error handling are built-in, helping you focus more on building your application.

25.

Show HN: ModelFusion – Alternative to Langchain.js(modelfusion.dev ↗)

5 points · by lgrammel · 3y ago · 2 comments

12