yawnxyz-ai.web.val.run
yawnxyz avatar
aiImageExample
@yawnxyz
Script
// Function to handle image and text input using OpenAI's GPT-4-turbo
yawnxyz avatar
audioManagerRunner
@yawnxyz
Script
An interactive, runnable TypeScript val by yawnxyz
willthereader avatar
getContentFromUrl
@willthereader
HTTP
Forked from yawnxyz/getContentFromUrl
yawnxyz avatar
blurbs
@yawnxyz
HTTP (preview)
Blurbs Generator Give it a link (article, Science paper, or a PDF link), get a blurb and a bunch of tags. Built for Capsid & Tail but you can obviously use it for whatever
yawnxyz avatar
nighthawksChat
@yawnxyz
HTTP
It's Late. Get a drink. Have a chat. Welcome to Nighthawks. Nighthawks is an experiment in building interesting NPC characters with AI. The system combines large language models, simulates conversations using character sheets, and attempts to build memories based on the conversation. Improvise, have fun. Approach them like you would at a late night diner. Inspired by the Nighthawks painting. Built on a stripped down agent-based memory system.
yawnxyz avatar
SidebarToArchive
@yawnxyz
HTTP
Sidebar.io Archiver Sidebar's been one of my biggest design resources for the last decade. Since sidebar.io's break announcement this morning (https://sidebar.io/break/) I've set out to mess around with using Val.town to archive sidebar. The Google Sheet can be found here: https://docs.google.com/spreadsheets/d/1RghvMfPTR5xvHMAk1pKYuH2pFYYKOJ6bH0LLkHNZiuc/edit?usp=sharing Initially I was just piping data to Google Sheets but that's slow, wasteful and kind of dumb... instead I just wrapped Hono around the code to provide a download the CSV to browser.
kora avatar
aiBasicExample
@kora
Script
Forked from yawnxyz/aiBasicExample
yawnxyz avatar
aiBasicExample
@yawnxyz
Script
// basic text generation
yawnxyz avatar
aiSimpleGroq
@yawnxyz
Script
// set Deno.env.get("GROQ_API_KEY")
yawnxyz avatar
stringInferExample
@yawnxyz
Script
example of inferring params from a prompt: https://x.com/yawnxyz/status/1812922642510586039 putting results in does wonders use an "extraction guide" to direct results
yawnxyz avatar
getContentFromUrl
@yawnxyz
HTTP
getContentFromUrl Use this for summarizers. Combines https://r.jina.ai/URL and markdown.download's Youtube transcription getter to do its best to retrieve content from URLs. https://arstechnica.com/space/2024/06/nasa-indefinitely-delays-return-of-starliner-to-review-propulsion-data https://journals.asm.org/doi/10.1128/iai.00065-23 Usage: https://yawnxyz-getcontentfromurl.web.val.run/https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10187409/ https://yawnxyz-getcontentfromurl.web.val.run/https://www.youtube.com/watch?v=gzsczZnS84Y&ab_channel=PhageDirectory
yawnxyz avatar
htmxGenFormsExample
@yawnxyz
HTTP
An interactive, runnable TypeScript val by yawnxyz
yawnxyz avatar
nighthawks
@yawnxyz
Script
This is nighthawks an experimental NPC character generator that remembers details about conversations. Import this into other workflows for now; a UI is coming soon!
yawnxyz avatar
aiHonoHtmxAlpineStreamingExample
@yawnxyz
HTTP
This Frankenstein of an example shows how well Hono, htmx, and Alpine play together. Hono serves the frameworks, API calls, and functions htmx handles ajax requests, and can very powerfully request html and other content to swap out the front-end alpine handles app-like reactivity without having to always resort to server round trips
yawnxyz avatar
dynamicFormInput
@yawnxyz
HTTP
An interactive, runnable TypeScript val by yawnxyz
yawnxyz avatar
orangeVole
@yawnxyz
HTTP
An interactive, runnable TypeScript val by yawnxyz
August 29, 2024