Can I run multiple prompts at once?
Yes. You can modify this script to run through all records of a table, or run it on specific records. You can use the “find and replace” Artiable script example of a starting point of how to run a script through multiple records.
The key component of the API connection is the fetch function. As long as you keep the connection, you can use it in different calls to generate answers.
Can I use this script with different APIs?
Yes, you can modify the URL endpoint and the API variables to connect with different APIs, including completely different models. For example, you can connect with the image generation model using a very similar method than this one.
Can I use this script on an existing base?
You don’t need to create a new base to run this script. It’s recommended to create a new table though, to make sure that the names work.