zod-to-json-schema
modelfusion
zod-to-json-schema | modelfusion | |
---|---|---|
3 | 18 | |
732 | 896 | |
- | 6.8% | |
8.1 | 9.9 | |
2 days ago | 7 days ago | |
TypeScript | TypeScript | |
ISC 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.
zod-to-json-schema
-
Next.js and GPT-4: A Guide to Streaming Generated Content as UI Components
Zod and GPT-4 Zod is great for generating typed JSON from GPT-4, because you can easily convert Zod schemas to JSON schemas using zod-to-json-schema and include descriptions for each property. The JSON schemas are passed to GPT-4 as function definitions or in the prompt (when you are using JSON mode).
- JSON Schema Store
-
Types to JSON Schemas
https://github.com/StefanTerdell/zod-to-json-schema#readme
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?
typebox - Json Schema Type Builder with Static Type Resolution for TypeScript
langroid - Harness LLMs with Multi-Agent Programming
zod - TypeScript-first schema validation with static type inference
langchainjs - 🦜🔗 Build context-aware reasoning applications 🦜🔗
ts-json-schema-generator - Generate JSON schema from your Typescript sources
aipl - Array-Inspired Pipeline Language
quicktype - Generate types and converters from JSON, Schema, and GraphQL
hamilton - Hamilton helps data scientists and engineers define testable, modular, self-documenting dataflows, that encode lineage and metadata. Runs and scales everywhere python does.
RxDB - A fast, local first, reactive Database for JavaScript Applications https://rxdb.info/
async-interval-job - ✨ setInterval for promises and async/sync functions. Support graceful shutdown and prevent multiple executions from overlapping in time.
resolvers - 📋 Validation resolvers: Yup, Zod, AJV, Joi, Superstruct, Vest, class-validator, io-ts, typanion, Ajv, TypeBox, Valibot and nope.
chatflow - Leveraging LLM to build Conversational UIs