Replies: 5 comments
-
|
@rajib76 have you seen https://docs.cloud.google.com/vertex-ai/generative-ai/docs/model-reference/prompt-classes? |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for sharing this. I see this is under vertex AI package. Do we then need to use both vertex AI and google-genai package. I was also looking for creating the prompts, compare them through google console instead of programmatic way. This package(vertexai) also looks like is not working |
Beta Was this translation helpful? Give feedback.
-
|
My guess is that Agent Engine will have a prompt management feature one day, the Vertex AI solutions doesn't work well. |
Beta Was this translation helpful? Give feedback.
-
|
Move to discussion. Here are some features: https://google.github.io/adk-docs/context/ and more are coming! |
Beta Was this translation helpful? Give feedback.
-
|
Response from ADK Answering Agent (experimental, answer may be inaccurate) TLDR: ADK follows a "code-first" philosophy, so there isn't a direct, GUI-based equivalent to AWS Bedrock's prompt management. Instead, prompts are managed directly within your Python code, offering flexibility and version control. Hello! That's a great question. The Agent Development Kit (ADK) for Python is designed with a "code-first" approach. This means that configurations, including agent instructions and prompts, are defined directly in Python code. This allows you to version, test, and manage your prompts just like any other part of your application's source code. [4] In a typical ADK agent, the prompts are part of the For more dynamic scenarios where you might need to modify prompts before they are sent to the model, ADK provides a powerful callback system. Specifically, the
Additionally, you can use ADK Plugins to implement cross-cutting concerns like request/response modification. [14, 11] While ADK integrates with Google Cloud services like Vertex AI for model backends [13], grounding [6], and long-term memory [22], the core prompt definition and management remain within the code-centric framework of ADK itself. The primary way to manage prompts is by treating them as code, which has the benefits of fitting into standard DevOps workflows. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When we use AWS Strands agents, we can use AWS Bedrock Prompt management to manage the prompts outside the agent code. What is the equivalent service/feature in ADK or GCP?
Beta Was this translation helpful? Give feedback.
All reactions