vertexAI: response_schema can't parse TypedDicts in generation config #647
Labels
component:support
How to do xyz?
status:awaiting user response
Awaiting a response from the author
status:stale
Issue/PR will be closed automatically if there's no further activity
type:help
Support-related issues
Description of the bug:
If a TypedDict is supplied in the response_schema field, as shown in the examples of the doc here, we get the following error:
It appears this functionality is supported in the genai library but not vertex AI?
Actual vs expected behavior:
Expected behaviour:
When a typedDict is passed as the input for response_schema, we should receive structured outputs in that format based on the documentation provided above. However, for the following code:
And the following generation_config -
I receive the error:
Current dev environment:
Any other information you'd like to share?
No response
The text was updated successfully, but these errors were encountered: