How do we make the prompt explicit rather than implicit? #61
Replies: 2 comments 1 reply
-
Thanks for the feedback! Could you share some code example to explain your concern(what's hidden from developers)? |
Beta Was this translation helpful? Give feedback.
-
I think I have the same problem. I really want to be able to iterate on the prompt (with variables) inside of our prompt UI and get it right for a step, and then use it in the agent. Since ADK changes the prompts (by adding the description, etc), that makes it hard to get the right prompt for a single agent. Now that 9e473e0 is submitted, my previous attempted approach to solve for this is even worse. I was creating a system prompt with context variables for the bits of information I wanted from previous agents in a SequentialAgent flow. Now I get the context from the turn leading into calling this agent, the context is now duplicated, and also the LLMs perform worse with it separately than with the template I had specified directly. Would an appropriate solution be to override the Agent class and override |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! How are you doing?
As an early adopter of LangChain at the time, I'd like to share a concern.
Today, I spent some time playing around with the ADK, and I really like some of the abstractions introduced.
My concern, however, is that we're currently prompting behind the scenes, especially with the LLMAgent, as if it were a black box. It's well-known that the prompt and the way it's structured are crucial for achieving good results.
As a user, I would feel much more comfortable if we could reach an approach that allows us to explicitly define the prompt instead of delegating it entirely to the ADK. The ADK should help me develop agents but shouldn't hide such important details as prompting.
This is simply my opinion, and I hope we continue developing these kinds of tools that enable us to build amazing products!
Beta Was this translation helpful? Give feedback.
All reactions