Replies: 3 comments
-
|
Response from ADK Answering Agent (experimental, answer may be inaccurate) TLDR: Your intuition is correct— Hello! That's a great question, and your initial testing is on the right track. Here’s a more detailed breakdown of the best practices:
In summary, you can rely on [1] https://google.github.io/adk-docs/agents/llm-agents/ |
Beta Was this translation helpful? Give feedback.
-
|
@adk-bot what if im using tools but need output_schema as well? |
Beta Was this translation helpful? Give feedback.
-
|
Response from ADK Answering Agent (experimental, answer may be inaccurate) TLDR: While That's a great question! While
So, while your initial tests might suggest that few-shot prompting isn't strictly necessary for simpler cases, it's a good habit to adopt for more complex and production-level scenarios to ensure the model consistently produces the desired output. [1] https://google.github.io/adk-docs/agents/llm-agents/ |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Just wondering if there are any prompting guidelines when using output_schema. Is it still useful to use few shot prompting (give examples of output JSON) when using output_schema or is that unnecessary. My rudimentary testing seems to suggest few shot prompting isn't needed but wouldn't mind hearing from others.
Beta Was this translation helpful? Give feedback.
All reactions