tomatoMinnow
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in miliseconds.
main.tsx
https://nicoalbanese--9ddb8e02279611f09d52569c3dd06744.web.val.run
Use the Vercel AI SDK in your Vals.
Note: you must add your OpenAI key to your Val Town Env variables under OPENAI_API_KEY
. If you would like to specify a different name for your API Key, you can create a custom OpenAI provider with the createOpenAI
function.
Prefer another AI provider? Use any supported provider by changing just two lines of code!