janpaul123-valle.web.val.run
Readme

VALL-E

LLM code generation for vals! Make apps with a frontend, backend, and database.

It's a bit of work to get this running, but it's worth it.

  • Fork this val to your own profile.
  • Make a folder for the temporary vals that get generated, take the ID from the URL, and put it in tempValsParentFolderId.
  • If you want to use OpenAI models you need to set the OPENAI_API_KEY env var.
  • If you want to use Anthropic models you need to set the ANTHROPIC_API_KEY env var.
  • Create a Val Town API token, open the browser preview of this val, and use the API token as the password to log in.
1
2
3
4
5
6
7
8
9
import VALLErun from "https://esm.town/v/janpaul123/VALLErun?v=9";
import { extractValInfo } from "https://esm.town/v/pomdtr/extractValInfo?v=29";
// Set these to your own
export default VALLErun({
username: extractValInfo(import.meta.url).author,
// Make a folder, navigate to it, and get this from the URL.
tempValsParentFolderId: "4bb7b010-4443-11ef-8642-de64eea55b61",
});
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
1
makoConstruct avatar
makoConstruct(Edited )

How do I make a folder? I'm viewing my folders and there doesn't seem to be any way of creating one x) (there's also no mention of folders in the val town docs)

August 6, 2024