valibot
modelfusion
valibot | modelfusion | |
---|---|---|
7 | 18 | |
5,245 | 952 | |
- | 12.3% | |
9.9 | 9.9 | |
about 23 hours ago | 5 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
valibot
-
Next.js and Bunny CDN: Complete Guide to Image Uploading with Server Actions
I'll use Valibot library, which is a pretty new and cool library for schema validation, similar to Zod.
-
Effortlessly Generate Structured Information with Ollama, Zod, and ModelFusion
The ModelFusion zodSchema function wraps the Zod object definition. This is necessary because ModelFusion supports Zod and unchecked JSON schemas and is adaptable to other schema validation libraries such as Valibot.
-
Hacktoberfest Week 2 PR
There was already existing validation in place for the question form page using Valibot, so I only needed to change two lines of code. I imported includes in addition to the other Valibot functions, and I also added an a new line of validation using the includes function to ensure the string has at least one space (If it does not the corresponding error message will be displayed). I had never used Valibot before, but it was easy to learn by looking at the web documentation as well as the existing code. See screenshots of my fix in my PR.
-
Database Review: Top Five Missing Features from Database APIs
Valibot (good for types and constraints)
-
Angular vs. React vs. Vue.js: Comparing performance
Valibot: A lightweight schema declaration and validation library. Its bundle size is less than 1kb
- Valibot, a <1kb Alternative to Zod
modelfusion
-
Next.js and GPT-4: A Guide to Streaming Generated Content as UI Components
ModelFusion is an AI integration library that I am developing. It enables you to integrate AI models into your JavaScript and TypeScript applications. You can install it with the following command:
-
Effortlessly Generate Structured Information with Ollama, Zod, and ModelFusion
ModelFusion is an open-source library I'm developing to integrate AI models seamlessly into TypeScript projects. It provides an Ollama client and a generateStructure function.
-
Create Your Own Local Chatbot with Next.js, Ollama, and ModelFusion
ModelFusion: ModelFusion is a library for building multi-modal AI applications that I've been working on. It provides a streamText function that calls AI models and returns a streaming response. ModelFusion also contains an Ollama integration that we will use to access the OpenHermes 2.5 Mistral model.
-
PDF Chat with Node.js, OpenAI and ModelFusion
You can find the complete code for the chatbot here: github/com/lgrammel/modelfusion/examples/pdf-chat-terminal
-
Ask HN: Tell us about your project that's not done yet but you want feedback on
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.
-
LangChain Agent Simulation ā Multi-Player Dungeons and Dragons
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.
-
Introducing ModelFusion: Build AI apps with JavaScript and TypeScript.
The response also contains additional information such as the metadata and the full response. The ModelFusion documentation contains many examples and demo apps.
- Show HN: AI-utils.js ā TypeScript-first lib for AI apps, chatbots, and agents
-
ai-utils.js VS langchainjs - a user suggested alternative
2 projects | 26 Jul 2023
- ai-utils.js: TypeScript-first library for building AI apps, chatbots, and agents.
What are some alternatives?
react-hook-form - š React Hooks for form state management and validation (Web + React Native)
langchainjs - š¦š Build context-aware reasoning applications š¦š
vuelidate - Simple, lightweight model-based validation for Vue.js
langroid - Harness LLMs with Multi-Agent Programming
zoxy - A small type-safe object proxy around Zod to help you stay safe after your data is loaded while continuing to edit them.
aipl - Array-Inspired Pipeline Language
Hasura - Blazing fast, instant realtime GraphQL APIs on your DB with fine grained access control, also trigger webhooks on database events.
hamilton - Hamilton helps data scientists and engineers define testable, modular, self-documenting dataflows, that encode lineage and metadata. Runs and scales everywhere python does.
Vue.js - This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
async-interval-job - āØ setInterval for promises and async/sync functions. Support graceful shutdown and prevent multiple executions from overlapping in time.
zustand - š» Bear necessities for state management in React
chatflow - Leveraging LLM to build Conversational UIs