Public
HTTP (deprecated)
  • yawnxyz avatar
    aiImageExample
    @yawnxyz
    // Function to handle image and text input using OpenAI's GPT-4-turbo
    Script
  • yawnxyz avatar
    audioManagerRunner
    @yawnxyz
    An interactive, runnable TypeScript val by yawnxyz
    Script
  • willthereader avatar
    getContentFromUrl
    @willthereader
    Forked from yawnxyz/getContentFromUrl
    HTTP (deprecated)
  • yawnxyz avatar
    blurbs
    @yawnxyz
    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
    HTTP
  • yawnxyz avatar
    nighthawksChat
    @yawnxyz
    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.
    HTTP (deprecated)
  • yawnxyz avatar
    SidebarToArchive
    @yawnxyz
    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.
    HTTP (deprecated)
  • kora avatar
    aiBasicExample
    @kora
    Forked from yawnxyz/aiBasicExample
    Script
  • yawnxyz avatar
    aiBasicExample
    @yawnxyz
    // basic text generation
    Script
  • yawnxyz avatar
    aiSimpleGroq
    @yawnxyz
    // set Deno.env.get("GROQ_API_KEY")
    Script
  • yawnxyz avatar
    stringInferExample
    @yawnxyz
    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
    Script
  • yawnxyz avatar
    getContentFromUrl
    @yawnxyz
    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
    HTTP
  • yawnxyz avatar
    htmxGenFormsExample
    @yawnxyz
    An interactive, runnable TypeScript val by yawnxyz
    HTTP (deprecated)
  • yawnxyz avatar
    nighthawks
    @yawnxyz
    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!
    Script
  • yawnxyz avatar
    aiHonoHtmxAlpineStreamingExample
    @yawnxyz
    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
    HTTP (deprecated)
  • yawnxyz avatar
    dynamicFormInput
    @yawnxyz
    An interactive, runnable TypeScript val by yawnxyz
    HTTP (deprecated)
  • yawnxyz avatar
    orangeVole
    @yawnxyz
    An interactive, runnable TypeScript val by yawnxyz
    HTTP (deprecated)
yawnxyz-ai.web.val.run
September 14, 2024