---
title: "Lars Grammel (@lgrammel) | Hashnode"
description: "Developing refactoring tools for TypeScript and JavaScript. Founder of p42.ai. Read the latest articles by Lars Grammel on Hashnode."
url: "https://hashnode.com/@lgrammel"
---

@lgrammel

# Lars Grammel

@lgrammel · Joined December 2020

Developing refactoring tools for TypeScript and JavaScript. Founder of p42.ai

[Website](http://larsgrammel.de/)

### [Next.js and GPT-4: A Guide to Streaming Generated Content as UI Components](https://p42.hashnode.dev/nextjs-and-gpt-4-a-guide-to-streaming-generated-content-as-ui-components?utm_source=hashnode&utm_medium=feed)

Streaming UIs with AI-generated on-demand content can unlock new user experiences.

13 min read · [p42.hashnode.dev](https://p42.hashnode.dev/nextjs-and-gpt-4-a-guide-to-streaming-generated-content-as-ui-components?utm_source=hashnode&utm_medium=feed)

[Jan 31, 2024](https://hashnode.com/posts/nextjs-and-gpt-4-a-guide-to-streaming-generated-content-as-ui-components/65ba119f44d4b015166cb140)

### [Effortlessly Generate Structured Information with Ollama, Zod, and ModelFusion](https://p42.hashnode.dev/effortlessly-generate-structured-information-with-ollama-zod-and-modelfusion?utm_source=hashnode&utm_medium=feed)

Have you ever wondered how to turn a simple text prompt into structured, typed information immediately usable in your JavaScript applications?

7 min read · [p42.hashnode.dev](https://p42.hashnode.dev/effortlessly-generate-structured-information-with-ollama-zod-and-modelfusion?utm_source=hashnode&utm_medium=feed)

[Jan 19, 2024](https://hashnode.com/posts/effortlessly-generate-structured-information-with-ollama-zod-and-modelfusion/65aa5245fe2659d73c818b24)

### [Create Your Own Local Chatbot with Next.js, Llama.cpp, and ModelFusion](https://p42.hashnode.dev/create-your-own-local-chatbot-with-nextjs-llamacpp-and-modelfusion?utm_source=hashnode&utm_medium=feed)

In this blog post, we'll build a Next.js chatbot that runs on your computer. We'll use Llama.cpp to serve the OpenHermes 2.5 Mistral LLM (large language model) locally, the Vercel AI SDK to handle stream forwarding and rendering, and ModelFusion to i...

7 min read · [p42.hashnode.dev](https://p42.hashnode.dev/create-your-own-local-chatbot-with-nextjs-llamacpp-and-modelfusion?utm_source=hashnode&utm_medium=feed)

[Jan 13, 2024](https://hashnode.com/posts/create-your-own-local-chatbot-with-nextjs-llamacpp-and-modelfusion/65a296edf1b911538467ab35)

### [Create Your Own Local Chatbot with Next.js, Ollama, and ModelFusion](https://p42.hashnode.dev/create-your-own-local-chatbot-with-nextjs-ollama-and-modelfusion?utm_source=hashnode&utm_medium=feed)

In this blog post, we'll build a Next.js chatbot that runs on your computer. We'll use Ollama to serve the OpenHermes 2.5 Mistral LLM (large language model) locally, the Vercel AI SDK to handle stream forwarding and rendering, and ModelFusion to inte...

7 min read · [p42.hashnode.dev](https://p42.hashnode.dev/create-your-own-local-chatbot-with-nextjs-ollama-and-modelfusion?utm_source=hashnode&utm_medium=feed)

[2](https://hashnode.com/posts/create-your-own-local-chatbot-with-nextjs-ollama-and-modelfusion/6575731991393ae5650903dd) [Dec 10, 2023](https://hashnode.com/posts/create-your-own-local-chatbot-with-nextjs-ollama-and-modelfusion/6575731991393ae5650903dd)

### [PDF Chat with Node.js, OpenAI and ModelFusion](https://p42.hashnode.dev/pdf-chat-with-nodejs-openai-and-modelfusion?utm_source=hashnode&utm_medium=feed)

Have you ever wondered how a chatbot that can answer questions about a PDF works?

9 min read · [p42.hashnode.dev](https://p42.hashnode.dev/pdf-chat-with-nodejs-openai-and-modelfusion?utm_source=hashnode&utm_medium=feed)

[Sep 4, 2023](https://hashnode.com/posts/pdf-chat-with-nodejs-openai-and-modelfusion/64f58bfe9adb234614177af1)
