TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: ModelFusion – Alternative to Langchain.js

5 点作者 lgrammel将近 2 年前

2 条评论

lgrammel将近 2 年前
ModelFusion is a library for building AI apps, chatbots, and agents. It provides abstractions for AI models, vector indices, and tools.<p>- Type inference and validation: ModelFusion uses TypeScript and Zod to infer types wherever possible and to validate model responses.<p>- 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.<p>- 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.<p>- 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.<p>- Integrated support features: Essential features like logging, retries, throttling, tracing, and error handling are built-in, helping you focus more on building your application.
tstone86将近 2 年前
This would be great, and feels like the direction things will quickly head next. How can I break down larger jobs to tasks, with specific portions going to the public LLMs, and the more sensitive private data tasks going to perhaps a self hosted model, all while being able to monitor accuracy. Love it!