Feature/knowledge agent #18
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new, well-structured agent evaluation and knowledge-grounded QA agent framework, with a focus on modularity, configuration, and rich display utilities. It adds core components for knowledge-grounded QA using Google ADK and Google Search, provides rich output formatting for Jupyter notebooks, and centralizes configuration management. Additionally, it cleans up placeholder/example code and updates development environment and pre-commit configurations.
Agent Evaluation and Knowledge-Grounded QA Framework
aieng.agent_evals.knowledge_agentpackage implementing a knowledge-grounded QA agent using Google ADK and Google Search, including agent, configuration, evaluation, grounding tool, and session management modules. [1] [2] [3]GroundedResponseandGroundingChunkmodels for structured agent outputs, and a utility to format responses with inline citations..envfile loading.Rich Display Utilities
aieng.agent_evals.displaymodule with reusable functions for displaying agent responses, evaluation results, metrics, and messages using therichlibrary, with special support for Jupyter notebooks.aieng.agent_evalspackage for easy import and use.Cleanup and Environment Improvements
.env.exampleto reflect new agent configuration variables, including Gemini/OpenAI API settings and Langfuse tracing options.ruff-checkand expanded ignored error codes fornbqa-ruff. [1] [2]