You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The idea is to include a variable number of properties with numeric value.
This schema works well with langchain and anthropic models but when I try to use ChatGoogleGenerativeAI I get the following error:
celery-worker-1 | langchain_google_genai.chat_models.ChatGoogleGenerativeAIError: Invalid argument provided to Gemini: 400 * GenerateContentRequest.model: unexpected model name format
celery-worker-1 | * GenerateContentRequest.tools[0].function_declarations[0].parameters.properties[target_locations].properties: should be non-empty for OBJECT type
celery-worker-1 |
Is there any workaround or a plan to support patternProperties?
Hey! I'm trying to use Gemini Flash 1.5 8b to run a prompt that includes a json schema for a structured output. This is my schema:
The idea is to include a variable number of properties with numeric value.
This schema works well with langchain and anthropic models but when I try to use ChatGoogleGenerativeAI I get the following error:
Is there any workaround or a plan to support
patternProperties
?I'm using python3.11 and
The text was updated successfully, but these errors were encountered: