Show HN: Zero-dependency, TypeScript SDK for building robust NLP applications

📰 Hacker News · nichochar

Hey HN! We just released a new library for building LLM-powered applications: @axflow/models. It is part of a larger suite of libraries we're developing for TypeScript developers working with generative AI. This library provides the simplest APIs for 1) invoking the most popular LLM and embedding models (openai, anthropic, cohere, huggingface, etc.) 2) streaming LLM responses to clients, including augmenting the streams with additional arbitrary data and 3) building client-side applications with React hooks. @axflow/models has zero dependencies and is built using only the JavaScript standard library. As such, it works in all environments including edge environments like the Next.js edge runtime. We'd love any feedback you may have. You can check out the code and more on our GitHub ( https://github.com/axflow/axflow )

Published 19 Sept 2023
Read full article → ← Back to Reads