Hello! I am trying to connect Claude API to Bubble and generate short form YouTube ideas. Users fill out a questionnaire and I want to update the Claude API call with the dynamic user information. This is my code
{
“model”: “claude-3-5-haiku-20241022”,
“system”: “You are an expert at thinking of short form content ideas for YouTube.”,
“messages”: [
{
“role”: “user”,
“content”: “Generate a short-form YouTube video idea for a business named {{Current User’s Business_Name}} that’s located in {{Current User’s Business_Location}}. The business works like this: {{Current User’s Business_Description}}. Their products are {{Current User’s Business_Products}}. The ideas should be engaging and suited for YouTube. Please display the information like this:\n\nVideo Idea Here\nOne Sentence Description Here”
}
],
“temperature”: 1,
“max_tokens”: 300
}
What am I doing wrong? My response keeps saying I didn’t input any values but I know they’re there in my database!