Back to packages list

Vals using zod

Description from the NPM package:
TypeScript-first schema declaration and validation library with static type inference
jamiedubs avatar
jamiedubs
glifInventory
HTTP
messing with making a little inventory RAG system to work with https://glif.app - so glifs can create items for users, persist it into an inventory, and access it later see also its currency/number-oriented cousin, glifbux: https://www.val.town/v/jamiedubs/glifbux
0
stevekrouse avatar
stevekrouse
braintrust_tool_test
HTTP
An interactive, runnable TypeScript val by stevekrouse
0
rayyan avatar
rayyan
generateQuiz
HTTP
An interactive, runnable TypeScript val by rayyan
0
ireneg avatar
ireneg
cheerfulCyanBarnacle
Script
Forked from alp/bookReservationOnResy
0
martinbowling avatar
martinbowling
argsum
HTTP
Forked from yawnxyz/breakdown
0
yawnxyz avatar
yawnxyz
breakdown
HTTP
This project is an argument summarizer that leverages AI to analyze and extract key arguments from a given text. Goals: Provide a user-friendly interface for inputting text Process the input using a large language model (LLama3 via Groq) Extract and structure key arguments, explanations, and relevant quotes Present the summarized arguments in a clear, organized format The main pipeline: User inputs text through a web interface The input is sent to an AI model for processing The AI extracts and structures the arguments The results are validated against a predefined schema The structured arguments are displayed to the user This tool aims to help users quickly understand the main points and supporting evidence in complex texts or discussions, making it valuable for research, debate preparation, or general comprehension of argumentative content.
2
ireneg avatar
ireneg
bookReservationOnResy
Script
Forked from alp/bookReservationOnResy
0
browserbase avatar
browserbase
TopHackerNewsDailyEmail
Cron
Browserbase Browserbase offers a reliable, high performance serverless developer platform to run, manage, and monitor headless browsers at scale. Leverage our infrastructure to power your web automation and AI agents. Get started with Browserbase for free here . If you have any questions, reach out to developer@browserbase.com.
0
stevekrouse avatar
stevekrouse
zod_demo_shared
Script
An interactive, runnable TypeScript val by stevekrouse
1
stevekrouse avatar
stevekrouse
zod_demo_http
HTTP
This val shows how to break up your HTTP val into three vals: @stevekrouse/zod_demo_http (this val) @stevekrouse/zod_demo_frontend (client-side react component) @stevekrouse/zod_demo_shared (code that is imported in both vals, but only run on the backend) I have these vals in a folder. Unfortunately, folders are not publicly shareable, which is why I listed all the vals above. The Val Town full-screen editor makes it a lot easier to work with multiple vals at once. The trickiest and most interesting part of this particular demo is how we import just the zod type in the frontend which avoids the error if we were to import any real value from that shared file. In this sense, it's not a truly safe shared file. Open questions I don't know why zod types aren't working when imported via esm.sh I don't know how we would get zod validation working on the frontend without reimporting zod from esm.sh (which would then lose us types or require us to duplicate the zod code)
0
fshine99 avatar
fshine99
bookReservationOnResy
Script
Forked from alp/bookReservationOnResy
0
emarref avatar
emarref
EnvironmentConfig
Script
Utility to retrieve typesafe environment variable configuration with Zod. const { DB_HOST } = config({ DB_HOST: z.string(), }); // DB_HOST is a string, or an error is thrown.
0
charlypoly avatar
charlypoly
exampleTopHackerNewsDailyEmail
Cron
An interactive, runnable TypeScript val by charlypoly
0
emarref avatar
emarref
IntentToReceive
HTTP
Implements Xero's "Intent to Receive" signature validation webhook.
0
domingo1987 avatar
domingo1987
problemPython
HTTP
// Privacy policy template in Markdown
0
yawnxyz avatar
yawnxyz
aiImageExample
Script
// Function to handle image and text input using OpenAI's GPT-4-turbo
0