leebaro
leebaro
I have solved this problem. https://python.langchain.com/docs/how_to/structured_output/#using-pydanticoutputparser Prompting and parsing model outputs directly this codes works for me. ```python # from typing import Union, Annotated from typing import Annotated, Any from...
It gives me the correct answer.
Thank you. I'll give it a try.
@ankursharmas Thank you. I will upgrade to 1.13.
I have a same problem. python : 3.13 adk : 1.16.0 and 1.17.0 I downgraded FAST API version to 0.118.3, but the problem persists. ``` File "/Users/frodo/Documents/project/app/agents/data_science/.venv/lib/python3.13/site-packages/pydantic/json_schema.py", line 1109, in...
I am having the same issue. `Fail to load 'data_science' module. unterminated string literal (detected at line 48) (tools.py, line 48)`
When I used python 3.12, the problem was solved.
> Its in the env variables > > https://github.com/google/adk-samples/blob/main/python/agents/data-science/.env.example#L19 Thank you very much.