Repository navigation
feat(leadgen & tts): enhance lead capture with dynamic catalogue/validation, and add signed proxy URLs for TTS media - #261
Open
Tharickv75 wants to merge 10 commits into
Open
Tharickv75 wants to merge 10 commits into
Tharickv75 wants to merge 10 commits into
Conversation
…apture - Introduced open_fields to return relevant fields that can be asked next, enhancing the lead capture process. - Removed next_ask and next_optional pointers, allowing the model to choose which field to ask next based on open_fields. - Updated documentation and tests to reflect changes in leadgen behavior and ensure proper functionality. - Added support for pending activation of fields to streamline user interactions during lead capture.
Bring PR #259 (prefer description over role in agent profile header).
…validation - Removed `ask_next` and `pending_activation` guard; the model now captures and retrieves results using `optional_fields` and `validation_errors`. - Updated `validate_fields` to return per-field validation errors while keeping valid values. - Introduced `optional_fields` function to manage optional questions based on relevance. - Adjusted documentation to reflect changes in leadgen behavior and updated tests accordingly. - Version bumped to 0.1.8rc20-dev5.
…dling and optional fields - Hardened leadgen base procedure to capture withheld values as decline values, ensuring accurate field responses. - Introduced a cap on optional fields to five keys to maintain a bounded menu for user interactions. - Updated validation logic to handle decline values more effectively, including new checks for declined keys. - Adjusted documentation to reflect changes in leadgen behavior and updated relevant tests. - Version bumped to 0.1.8rc20-dev6.
… version 0.1.8rc20 - Changed the branch in Dockerfile.base from dev-tj1 to main for cloning jvagent. - Updated auto-tag workflow to trigger on pushes to the main branch instead of dev-tj1. - Bumped version in jvagent/version.py from 0.1.8rc20-dev6 to 0.1.8rc20.
The failed-hand-off directive named a single sales number, stale gap-fill keys failed skill parse, and the hand-off flag never cleared on a new cycle.
Member
|
Review fixes are in c3ddfd8.
|
…n improvements - Added a new core parameter for hand-off sentence to improve user communication during transitions. - Updated validation logic to handle decline values more effectively, including the introduction of a decline sentinel. - Refined the handling of optional fields and sync configurations, allowing for more flexible lead capture processes. - Enhanced documentation to reflect changes in leadgen behavior and updated relevant tests.
…n 0.1.8rc20 - Changed the branch in Dockerfile.base from dev-tj1 to main for cloning jvagent. - Updated auto-tag workflow to trigger on pushes to the main branch instead of dev-tj1. - Bumped version in jvagent/version.py from 0.1.8rc20-dev7 to 0.1.8rc20.
…parameters - Updated `IntroInteractAction` to publish `intro.first_message` as both orchestration and response-scoped parameters, allowing the executive to see the custom intro when authoring replies and enabling `ReplyAction` to weave the greeting into the same reply. - Adjusted documentation to clarify the new parameter handling and updated tests to ensure compliance with the new behavior. - Refined the handling of introductory messages to improve user engagement for first-time visitors.
This branch has not been deployed
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
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.
Summary
This PR introduces major enhancements to the
leadgenaction, unifies Google authentication error handling, and adds signed proxy URL support for TTS media delivery:leadgento be driven by skill definitions. Removed static field vocabularies (ask_next,pending_activation, and global default required fields). Introduced support for dynamicoptional_fields, explicitvalidation_errors, normalized decline/refusal values, and bounded optional pools./p/{code}) enabled viaJVSPATIAL_PROXY_ENABLED=trueso messaging adapters (e.g., WhatsApp/Messenger) and LLM providers can retrieve voice notes anonymously when authentication is enabled.GoogleAuthRequiredErroracross Google actions to handle missing credentials, expired refresh tokens, and missing API scopes consistently.Related issues
Type of change
Checklist
CONTRIBUTING.mdand (for subsystem work) the localAGENTS.md.pre-commit run --all-filespasses.pytest tests/passes; I added/updated tests for new behavior.file:linein the description.CHANGELOG.mdupdated where relevant (entry under[Unreleased]).Notes for reviewers
ask_nextfield or static default fields will need to update to usenext_required,optional_fields, and the server-nominated askdirective.JVSPATIAL_PROXY_ENABLED=trueneeds to be set in environments where TTS voice notes are delivered via adapters like WhatsApp while main API authentication is active.