Skip to content

Add Generative UI Data Chat reference app#157

Open
vishxrad wants to merge 2 commits into
oracle-devrel:mainfrom
vishxrad:visharad/generative-ui-chat-example
Open

Add Generative UI Data Chat reference app#157
vishxrad wants to merge 2 commits into
oracle-devrel:mainfrom
vishxrad:visharad/generative-ui-chat-example

Conversation

@vishxrad

Copy link
Copy Markdown

Summary

Adds apps/generative-ui-data-chat, a Next.js + OpenUI reference app for Oracle AI Database 26ai that answers business-data questions as typed UI components instead of markdown.

The app demonstrates SQL, vector, and hybrid retrieval over a seeded revenue/accounts/users/contracts dataset, then renders the response as charts, KPI cards, tables, source cards, mixed insight views, follow-up prompts, and an Oracle execution trace.

What changed

  • Added a standalone Next.js App Router app with TypeScript, Tailwind CSS, OpenUI, Recharts, Zod, lucide icons, and the Oracle Node.js thin driver.
  • Added /api/chat, a Node runtime API route that streams progress events and returns a validated DataChatResponse.
  • Added Oracle Database Free/26ai Docker setup and seed scripts.
  • Added seeded data for revenue, accounts, active users, contracts, and contract chunks.
  • Added SQL, vector, and hybrid retrieval paths.
  • Added categorized sample prompts and follow-up CTA buttons.
  • Added README documentation, demo video link, environment variables, architecture notes, and limitations.
  • Updated root README.md and apps/README.md.

Testing

  • npm run lint
  • npm run test
  • npm run build
  • Manual browser smoke test on localhost:3001
  • Verified demo prompt: Revenue trend over the last 12 months
  • Verified /api/chat returns 200 and renders Oracle SQL trace

closes #132

@oracle-contributor-agreement

Copy link
Copy Markdown

Thank you for your pull request and welcome to our community! To contribute, please sign the Oracle Contributor Agreement (OCA).
The following contributors of this PR have not signed the OCA:

To sign the OCA, please create an Oracle account and sign the OCA in Oracle's Contributor Agreement Application.

When signing the OCA, please provide your GitHub username. After signing the OCA and getting an OCA approval from Oracle, this PR will be automatically updated.

If you are an Oracle employee, please make sure that you are a member of the main Oracle GitHub organization, and your membership in this organization is public.

@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Required At least one contributor does not have an approved Oracle Contributor Agreement. label May 27, 2026
@oracle-contributor-agreement

Copy link
Copy Markdown

Thank you for signing the OCA.

@oracle-contributor-agreement oracle-contributor-agreement Bot added OCA Verified All contributors have signed the Oracle Contributor Agreement. and removed OCA Required At least one contributor does not have an approved Oracle Contributor Agreement. labels May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Proposal: Generative UI Data Copilot, a new reference app for Oracle AI Database 26ai

1 participant