andreterron avatar
genval
@andreterron
HTTP
Forked from tmcw/poll
andreterron avatar
generateValCodeAPI
@andreterron
Script
An interactive, runnable TypeScript val by andreterron
andreterron avatar
createGeneratedVal
@andreterron
Script
Use GPT to generate vals on your account! Describe the val that you need, call this function, and you'll get a new val on your workspace generated by OpenAI's API! First, ensure you have a Val Town API Token , then call @andreterron.createGeneratedVal({...}) like this example : @andreterron.createGeneratedVal({ valTownKey: @me.secrets.vt_token, description: "A val that given a text file position in `{line, col}` and the text contents, returns the index position", }); This will create a val in your workspace, and here's the one created by the example above: https://www.val.town/v/andreterron.getFileIndexPosition
yawnxyz avatar
generateValCodeAPI
@yawnxyz
Script
Forked from andreterron/generateValCodeAPI
1
Next
October 23, 2023