Start building AI features in under five minutes
Create Modus app
Import Modus app
Explore API endpoint
generateText
function to generate text from the shared Meta Llama
3.1 model based on the prompt “How are black holes created?”Observe function execution
Customize your function
generateText
function to respond using exclusively surfing analogies.Go to the index.ts
file and locate the generateText
function. Modify the function
to only respond like a surfer, like this: