Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added langgraph example #152

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

cnemri
Copy link
Member

@cnemri cnemri commented Dec 12, 2024

Title: Add "Agentic Accessibility Checker" Demo

Description:
This pull request introduces a new demo to the AAIE samples repo: the Agentic Accessibility Checker. The demo provides an end-to-end example of building an autonomous agent for real estate accessibility analysis using Google’s cutting-edge AI tools, including Gemini and the Vertex AI Reasoning Engine. It includes:

  • Synthetic Data Generation: Utilizes generative models to create realistic multimodal real estate data (text and images), stored in GCS and Firestore.
  • Cloud Run API: A FastAPI-based service acting as the agent’s environment for retrieving property details.
  • LangGraph Agent with Gemini: A ReAct-style agent that can reason about and interact with data, tools, and APIs, leveraging both text and image understanding capabilities.
  • Streamlit Frontend: A user-friendly interface that allows interactive exploration of properties and direct engagement with the agent.
  • Comprehensive Setup Instructions: Detailed steps for installation, data generation, API deployment, agent deployment, and frontend setup, ensuring a smooth onboarding experience.
  • Integration with Google Cloud Services: integrates with Firestore, GCS, and Vertex AI Reasoning Engine, includes environment-specific parameters.

Copy link

google-cla bot commented Dec 12, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Copy link

@code-review-assist code-review-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi team,

I'm currently reviewing this pull request and will post my full review in a few minutes. In the meantime, here's a quick summary to help you and other reviewers get up to speed:

This PR adds a new demo to the applied-ai-engineering-samples repository: the Agentic Accessibility Checker. This demo showcases a complete system for analyzing real estate accessibility using Gemini and the Vertex AI Reasoning Engine. Key features include synthetic data generation (using Gemini and Imagen3), a FastAPI-based Cloud Run API, a LangGraph agent (ReAct style), and a Streamlit frontend. The PR includes new Dockerfiles for the API and Streamlit app, updated requirements files, a comprehensive README, and deployment scripts. The core change is the addition of the src directory containing the agent, API, and Streamlit app code, along with supporting files for data generation and deployment.

If there's anything unclear or requires further clarification, please let me know.


And now, a little haiku to brighten your day:

Agent learns and grows,
Cloud's vast knowledge at its hand,
Access blooms anew.

@RajeshThallam RajeshThallam self-assigned this Dec 12, 2024
Copy link

Gemini encountered an error creating the review. You can try again by commenting @code-review-assist review.

@RajeshThallam
Copy link
Collaborator

@code-review-assist review

Copy link

@code-review-assist code-review-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pull request introduces a new LangGraph-based demo for analyzing real estate accessibility. The demo uses Gemini, Vertex AI Reasoning Engine, and several other Google Cloud services. The overall design and implementation are well-structured. The documentation is comprehensive and provides clear instructions. Here are some suggestions for improvement:

@RajeshThallam
Copy link
Collaborator

@code-review-assist review

Copy link

@code-review-assist code-review-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pull request introduces a new LangGraph-based demo for analyzing real estate accessibility. The demo uses Gemini, Vertex AI Reasoning Engine, and a Streamlit frontend. The overall design and implementation are well-structured. The documentation is comprehensive and provides clear instructions for setup and deployment. However, there are a few minor improvements that can enhance the code's robustness and maintainability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants