Public
Edited
Mar 16, 2023
Insert cell
Insert cell
viewof host = Inputs.text({label: "Host", submit: true});
Insert cell
viewof company = Inputs.select(["shopia", "healmentor", "chirpster"], {label: "Company"});
Insert cell
md`${helpers.messagesAsMarkdown()}`;
Insert cell
helpers.promptInContext("Write a tweet about how excited you are about your new hire");
Insert cell
md`${await helpers.promptInContext("Write a new employee welcome email for your company", false)}`
Insert cell
// This is fake generated data in first party data CDP chape
profiles = helpers.getProfiles();
Insert cell
helpers.getProfileById(profiles[0].id)
Insert cell
openai_module = import("https://cdn.skypack.dev/openai");
Insert cell
Insert cell
helpers = initialize(host);
Insert cell
helpers.promptInContext("What are some unique snacks Chirpster should buy for a hack day")
Insert cell
helpers.promptInContext("What are some unique snacks a company should buy for a hack day")
Insert cell
helpers.promptInContext("what fun, unique snacks should we have at a LLM hack day meetup")
Insert cell
helpers.promptInContext("what fun, unique snacks should we have at a Large Language Model hack day meetup")
Insert cell

One platform to build and deploy the best data apps

Experiment and prototype by building visualizations in live JavaScript notebooks. Collaborate with your team and decide which concepts to build out.
Use Observable Framework to build data apps locally. Use data loaders to build in any language or library, including Python, SQL, and R.
Seamlessly deploy to Observable. Test before you ship, use automatic deploy-on-commit, and ensure your projects are always up-to-date.
Learn more