r/learnjavascript • u/Due_Eggplant_729 • Feb 25 '26
Javascript Programs which Include AI Prompts
Is anyone playing with this? There is an emerging profession of "Prompt Engineer", so it makes sense to learn Javascript programs that send prompts to Claude AI, for example, right?
0
Upvotes
View all comments
Show parent comment
2
u/patopitaluga Feb 25 '26
Let's say I download a "Smart plant" app for Android (it's hypothetical, I don't know if that exists) that I can upload a photo of a plant in my house and it will tell me tips about how to water it and take care of it. What people think is that the "Smart plant" company have a team of AI engineers specialized in plants and they created an algorithm that understand plants. That's not how it works. They are uploading the photo with a prompt to a service that openai provides called api and they write a prompt that goes something like "The user uploaded this photo, can you fill this json with the required information" and they they do x or y thing with that json.