I’ve noticed that support for options in the public documentation, such as structured outputs, is not supported as options for the model found in the model catalog. For example https://ai.google.dev/gemini-api/docs/structured-output#javascript. But the params defined for the Gemini family of models in AIP are:
type Parameters = {
"stopSequences"?: Array<string> | undefined;
"temperature"?: FunctionsApi.Double | undefined;
"maxTokens"?: FunctionsApi.Integer | undefined;
"topP"?: FunctionsApi.Double | undefined;
};
Ideally, we could use the SDK from Google, OpenAI, or a similar package like Vercel’s AI offering. Is there a reason we are forced to use the proxy API in AIP? Is there a workaround?