-
Notifications
You must be signed in to change notification settings - Fork 1k
Immo agents #116
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
Open
Kaherdin
wants to merge
12
commits into
openai:main
Choose a base branch
from
Kaherdin:immo-agents
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Immo agents #116
+6,078
−116
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…tor info capabilities
- Added new complexTaskAgent to handle advanced/out-of-scope requests in real estate scenario - Created comprehensive AGENT_GUIDE.md with detailed instructions for adding new agents - Updated greeterAgent to include handoff to complexTaskAgent for complex queries - Enhanced scenario configuration to support bidirectional handoffs between all agents - Added tools for task creation and email notifications in complexTaskAgent The changes add a new agent capability
- Updated company name to "Grand Chasseral Immo SA" and added comprehensive company information including address, contact details, and opening hours - Added detailed team member information with roles and contact preferences - Enhanced greeter agent to directly handle general inquiries about company info without redirecting - Expanded agent instructions to include specific responses for common questions about hours, location, and team
- Added detailed team member information including roles, phone numbers and emails - Created new contactHumanAgent to handle staff availability and callback requests - Added getCompanyInfoText helper function to generate formatted company info - Updated greeterAgent to handle direct apartment inquiries and staff contact requests - Replaced sectorInfoAgent with contactHumanAgent for better customer service flow - Added tools for checking
- Added verification step to check if requested collaborator exists in team list - Updated contact procedure to suggest similar collaborator names when exact match not found - Improved string formatting and template literals for cleaner message construction - Fixed code formatting and quotes consistency throughout the file
- Added Aurélien Borst as IT manager to company team list with contact details - Added clientEmail field as required parameter in contact form schema - Updated execute function to handle new clientEmail parameter in response - Reformatted team member contact info template for better readability
- Added email functionality using Nodemailer for sending callback requests to staff - Created API routes for handling callback requests (/api/send-callback) and test emails (/api/send-test-email) - Added email configuration documentation and example .env file with SMTP settings - Implemented test email agent for verifying SMTP setup - Updated contact human agent to use real email notifications instead of mock responses - Reduced staff availability
- Adjusted realtime session configuration with new turn detection settings and reduced speed from 4 to 1.5 - Temporarily disabled content moderation guardrails due to API incompatibility with v0.2.1 - Moved turn detection config from dynamic session updates to initial connection setup - Fixed code formatting and quotation style consistency across files - Simplified session update logic by removing redundant turn detection parameters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 "real estate agent" scenario, expanding the application's agent capabilities with specialized agents for real estate use cases. It also improves the agent configuration structure to support this new scenario and makes minor code consistency updates.
New Real Estate Agent Scenario
realEstatewith three specialized agents:greeterAgent: Welcomes users and routes them to the appropriate service (sector info or appointment) (src/app/agentConfigs/real-estate-agent/greeter-agent.ts)sectorInfoAgent: Provides detailed information about neighborhoods, including prices, amenities, and transport options, with tools for sector lookup and comparison (src/app/agentConfigs/real-estate-agent/sector-info-agent.ts)appointmentAgent: Handles appointment scheduling, collects client info, checks availability, and books appointments via tools (src/app/agentConfigs/real-estate-agent/appointment-agent.ts)src/app/agentConfigs/real-estate-agent/index.ts)Grand Chasseral Immobilier Jura) in a dedicated constants file (src/app/agentConfigs/real-estate-agent/constants.ts)Integration and Configuration Updates
realEstateScenarioin the global agent set registry and SDK scenario map, making it available throughout the app (src/app/agentConfigs/index.ts,src/app/App.tsx) [1] [2] [3] [4]src/app/App.tsx)Code Consistency and Minor Improvements
src/app/agentConfigs/chatSupervisor/index.ts,src/app/agentConfigs/simpleHandoff.ts) [1] [2] [3]suppressHydrationWarningto the root HTML element to address potential hydration mismatches (src/app/layout.tsx)