feat: route card scanner OCR through AI chat agent#46
Open
chuckmeyer wants to merge 13 commits into
Open
Conversation
- Root README now has full Event Management section (setup_event.sh steps, reset_and_ingest, switching active events) - data-utilities README trimmed to individual script descriptions, CSV format, and output schema - Cross-link between the two Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Instead of regex parsing + cascade search, OCR text is now passed directly to the chat widget as an initial message that auto-sends on mount. The agent handles card identification and returns results conversationally. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Instead of passing unsupported props to <Chat>, use useInstantSearch to access indexRenderState.chat.sendMessage and setOpen directly. Based on guidance from the InstantSearch team. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Changes OCR prompt to start with "📷 Card scan" and uses CSS line-clamp to show only the first line of user messages, hiding the raw OCR text dump from end users. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This reverts commit ce4e63b.
…post Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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
CardScannernow passes OCR text to/<eventId>via{ initialChatMessage }route state instead of running cascade searchChatAgentacceptsinitialMessageprop → passesmessages+sendAutomaticallyWhento<Chat>so the prompt auto-sends on mountSearchreadsinitialChatMessagefrom location state and forwards toChatAgentcascadeSearch,parsedName/parsedNumber/ocrTextstate, debug panel,'searching'status branch🤖 Generated with Claude Code