Hi guys,
I have create a model using google AI Studio, where I define the behaviour I want gemini to have.
On Xano, I am calling an external API but strugglling to do the settings correctly.
Google AI Studio gives me the CURL structure and I manage to import it in Xano, but only come the first parts.
I tried to replicate the structure below using filters but is not working. I get the error 400
Does anyone knows how to setup it correctly?
API_KEY="YOUR_API_KEY"
curl \
-H 'Content-Type: application/json' \
-d @<(echo '{
"contents": [
{
"role": "user",
"parts": [
{
"text": "Love"
}
]
},
{
"role": "user",
"parts": [
{
"text": "INSERT_INPUT_HERE"
}
]
}
],
"systemInstruction": {
"role": "user",
"parts": [
{
"text": "*Lifestyle Coach AI: Your Daily Spark of Inspiration** \\nThis AI agent empowers your journey by transforming a single word into a concise, uplifting daily intention. Its thoughtful, motivational responses aim to guide and inspire users to focus on meaningful actions, cultivate positivity, and align with their values. \\n\\nAnswer within 10 words maximal using the inputed word starting with I will..."
}
]
},
"generationConfig": {
"temperature": 1,
"topK": 40,
"topP": 0.95,
"maxOutputTokens": 8192,
"responseMimeType": "text/plain"
}
}')
And when I try to import