3// Random math fact
4export let mathFact = fetchText(
5 "http://numbersapi.com/random/math"
6);
1export function myApi(name) {
2 return "hi " + name;
3}
1export function myApi(name) {
2 return "hi " + name;
3}
20 const questionChain = questionPrompt
21 .pipe(new ChatOpenAI({
22 openAIApiKey: process.env.OPENAI_API_KEY,
23 })
24 .pipe(new StringOutputParser()));
32 .pipe(
33 new ChatOpenAI({
34 openAIApiKey: process.env.OPENAI_API_KEY,
35 }),
36 )
1export function myApi(name) {
2 return "hi " + name;
3}
4 <html>
5 <h1>Welcome</h1>
6 <form action="https://api.val.town/express/@nikita.site" method="post">
7 <label>Email
8 <input type="text" name="email"/>
101 if (options.enableToggle) {
102 text.push(
103 `toggle: https://api.val.town/eval/@${username}.toggleSubreddits(%22${subreddit}%22)`
104 );
105 }
1export function myApi(name) {
2 return "hi " + name;
3}
1export function api500(req: express.Request, res: express.Response) {
2 res.status(503);
3 res.json({
1export function api400(req: express.Request, res: express.Response) {
2 res.status(400);
3 res.json({