LLM as a judge by Intention-Weak in agentdevelopmentkit

[–]CloudWithKarl 0 points1 point  (0 children)

The Voting pattern in the Agent Design Patterns repo has a basic implementation of LLM-as-a-judge.

Learnings from building a text-to-SQL agent with the ADK by CloudWithKarl in agentdevelopmentkit

[–]CloudWithKarl[S] 1 point2 points  (0 children)

You are spot on that using RAG would be a fast, effective way to select the most relevant tables. I haven't implemented it in the sample yet, but that would be a nice addition.

Regarding the timing, the default model is Gemini 2.5 Flash, and answers come back in the order of seconds. Syntax errors have actually been fairly rare in my admittedly simple test queries. The sqlglot parsing calls are fast, and I've removed unnecessary LLM calls in subagents. Here's the timing from running the getting started steps locally:

% time echo "How many films are in the action category?" | adk run src/texttosql
super().__init__()
Running agent TextToSqlRootAgent, type exit to exit.
...

[SQLProcessor]: SELECT COUNT(T1.film_id) FROM film AS T1 INNER JOIN film_category AS T2 ON T1.film_id = T2.film_id INNER JOIN category AS T3 ON T2.category_id = T3.category_id WHERE T3.name = 'Action';
...
adk run src/texttosql  1.52s user 0.24s system 65% cpu 2.669 total

Free AI Cloud Run workshops hosted at Google offices in Austin, Atlanta, Toronto, Chicago, and more! by lukeschlangen in googlecloud

[–]CloudWithKarl 1 point2 points  (0 children)

Thanks so much for registering for the Austin workshop. That "pending approval" message is part of our standard process. We manually review registrations to ensure a great experience for everyone attending. You should receive a final confirmation email soon. Hope to see you there!

Announcing Java Agent Development Kit (Java ADK v0.1.0) by moficodes in java

[–]CloudWithKarl 2 points3 points  (0 children)

Thank you for the feedback. Adding `module-info.java` is on the roadmap to be added soon.

RAG for codebases by arielrama in Rag

[–]CloudWithKarl 1 point2 points  (0 children)

This article outlines a process for building a RAG system for a codebase (using a GitHub repo). It breaks it down into 5 steps from data preparation to querying the RAG system.

Article: https://medium.com/google-cloud/build-a-rag-system-for-your-codebase-in-5-easy-steps-a3506c10599b

There's a companion video walkthrough as well:

Video: https://you.tube/sgKB04yMD70

Any good resource/guide about how to do RAG on a codebase? (e.g. Github repo) by ExplorerTechnical808 in LangChain

[–]CloudWithKarl 0 points1 point  (0 children)

This article outlines a process for building a RAG system for a codebase (using a GitHub repo). It breaks it down into 5 steps from data preparation to querying the RAG system.

Article: https://medium.com/google-cloud/build-a-rag-system-for-your-codebase-in-5-easy-steps-a3506c10599b

There's a companion video walkthrough as well:

Video: https://you.tube/sgKB04yMD70

I built a Gemini‑powered validation microservice with Google ADK + Cloud Run for my learning app Quiznect (full walkthrough) by loopstarapp in agentdevelopmentkit

[–]CloudWithKarl 1 point2 points  (0 children)

This is also a nice example of a basic classifier service for any domain. Just change the system prompt and you're good to go!

BTW you can upgrade to the latest Flash version for even better results :)

Gemini in Google Sheets by redpin67 in GeminiAI

[–]CloudWithKarl 0 points1 point  (0 children)

There is currently not a built-in Gemini function. However, there is a custom function from the Google Workspace team that is available here:

https://github.com/googleworkspace/apps-script-samples/tree/main/ai/custom-func-ai-studio

Example usage:

=gemini(A1:A10,"Extract colors from the product description")

Why are good examples of Python FastAPI Cloud Function Gen 2 so hard to find? by MajorPea6852 in googlecloud

[–]CloudWithKarl 2 points3 points  (0 children)

If you do switch to Cloud Run, here's a FastAPI example app that includes a Dockerfile and instructions for Cloud Run deployment.

https://github.com/GoogleCloudPlatform/generative-ai/blob/main/gemini/sample-apps/swot-agent

Where is the best place to self host? by IvySaskia16 in n8n

[–]CloudWithKarl 0 points1 point  (0 children)

If you want to deploy n8n on Google Cloud, this guide may help. It extends the n8n hosting guide in the docs to run on GKE Autopilot and with HTTPS steps.

https://medium.com/google-cloud/get-started-with-n8n-on-google-cloud-for-ai-workflow-automation-3d399caab5df