├── .gitignore ├── README.md ├── backend ├── .env.example ├── LICENSE ├── Makefile ├── README.md ├── gen_ui_backend │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-310.pyc │ │ ├── chain.cpython-310.pyc │ │ ├── server.cpython-310.pyc │ │ └── types.cpython-310.pyc │ ├── chain.py │ ├── charts │ │ ├── chain.py │ │ └── schema.py │ ├── py.typed │ ├── requirements.txt │ ├── server.py │ ├── tools │ │ ├── __pycache__ │ │ │ ├── github.cpython-310.pyc │ │ │ ├── invoice.cpython-310.pyc │ │ │ └── weather.cpython-310.pyc │ │ ├── github.py │ │ ├── invoice.py │ │ └── weather.py │ └── types.py ├── langgraph.json ├── poetry.lock ├── pyproject.toml └── scripts │ ├── check_imports.py │ ├── check_pydantic.sh │ └── lint_imports.sh └── frontend ├── .eslintrc.json ├── .gitignore ├── ai └── message.tsx ├── app ├── agent.tsx ├── charts │ ├── README.md │ ├── agent.tsx │ ├── filters.tsx │ ├── generate-orders.ts │ ├── layout.tsx │ ├── page.tsx │ └── schema.ts ├── favicon.ico ├── globals.css ├── layout.tsx ├── page.tsx └── shared.tsx ├── components.json ├── components ├── prebuilt │ ├── chat.tsx │ ├── display-types-dialog.tsx │ ├── filter-options-dialog.tsx │ ├── filter.tsx │ ├── github.tsx │ ├── invoice.tsx │ ├── loading-charts.tsx │ ├── message.tsx │ └── weather.tsx └── ui │ ├── avatar.tsx │ ├── badge.tsx │ ├── button.tsx │ ├── calendar.tsx │ ├── card.tsx │ ├── dialog.tsx │ ├── dropdown-menu.tsx │ ├── input.tsx │ ├── label.tsx │ ├── pagination.tsx │ ├── popover.tsx │ ├── progress.tsx │ ├── resizable.tsx │ ├── scroll-area.tsx │ ├── select.tsx │ ├── separator.tsx │ ├── skeleton.tsx │ ├── switch.tsx │ ├── tabs.tsx │ ├── textarea.tsx │ └── tooltip.tsx ├── lib ├── mui.ts └── utils.ts ├── next.config.mjs ├── package.json ├── postcss.config.mjs ├── public ├── gen_ui_charts_diagram.png ├── gen_ui_diagram.png ├── next.svg └── vercel.svg ├── tailwind.config.ts ├── tsconfig.json ├── utils ├── client.tsx └── server.tsx └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- 1 | .env 2 | .mypy_cache -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/README.md -------------------------------------------------------------------------------- /backend/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/backend/.env.example -------------------------------------------------------------------------------- /backend/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/backend/LICENSE -------------------------------------------------------------------------------- /backend/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/backend/Makefile -------------------------------------------------------------------------------- /backend/README.md: -------------------------------------------------------------------------------- 1 | # Generative UI - Backend -------------------------------------------------------------------------------- /backend/gen_ui_backend/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /backend/gen_ui_backend/__pycache__/__init__.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/backend/gen_ui_backend/__pycache__/__init__.cpython-310.pyc -------------------------------------------------------------------------------- /backend/gen_ui_backend/__pycache__/chain.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/backend/gen_ui_backend/__pycache__/chain.cpython-310.pyc -------------------------------------------------------------------------------- /backend/gen_ui_backend/__pycache__/server.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/backend/gen_ui_backend/__pycache__/server.cpython-310.pyc -------------------------------------------------------------------------------- /backend/gen_ui_backend/__pycache__/types.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/backend/gen_ui_backend/__pycache__/types.cpython-310.pyc -------------------------------------------------------------------------------- /backend/gen_ui_backend/chain.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/backend/gen_ui_backend/chain.py -------------------------------------------------------------------------------- /backend/gen_ui_backend/charts/chain.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/backend/gen_ui_backend/charts/chain.py -------------------------------------------------------------------------------- /backend/gen_ui_backend/charts/schema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/backend/gen_ui_backend/charts/schema.py -------------------------------------------------------------------------------- /backend/gen_ui_backend/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /backend/gen_ui_backend/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/backend/gen_ui_backend/requirements.txt -------------------------------------------------------------------------------- /backend/gen_ui_backend/server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/backend/gen_ui_backend/server.py -------------------------------------------------------------------------------- /backend/gen_ui_backend/tools/__pycache__/github.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/backend/gen_ui_backend/tools/__pycache__/github.cpython-310.pyc -------------------------------------------------------------------------------- /backend/gen_ui_backend/tools/__pycache__/invoice.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/backend/gen_ui_backend/tools/__pycache__/invoice.cpython-310.pyc -------------------------------------------------------------------------------- /backend/gen_ui_backend/tools/__pycache__/weather.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/backend/gen_ui_backend/tools/__pycache__/weather.cpython-310.pyc -------------------------------------------------------------------------------- /backend/gen_ui_backend/tools/github.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/backend/gen_ui_backend/tools/github.py -------------------------------------------------------------------------------- /backend/gen_ui_backend/tools/invoice.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/backend/gen_ui_backend/tools/invoice.py -------------------------------------------------------------------------------- /backend/gen_ui_backend/tools/weather.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/backend/gen_ui_backend/tools/weather.py -------------------------------------------------------------------------------- /backend/gen_ui_backend/types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/backend/gen_ui_backend/types.py -------------------------------------------------------------------------------- /backend/langgraph.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/backend/langgraph.json -------------------------------------------------------------------------------- /backend/poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/backend/poetry.lock -------------------------------------------------------------------------------- /backend/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/backend/pyproject.toml -------------------------------------------------------------------------------- /backend/scripts/check_imports.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/backend/scripts/check_imports.py -------------------------------------------------------------------------------- /backend/scripts/check_pydantic.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/backend/scripts/check_pydantic.sh -------------------------------------------------------------------------------- /backend/scripts/lint_imports.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/backend/scripts/lint_imports.sh -------------------------------------------------------------------------------- /frontend/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /frontend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/.gitignore -------------------------------------------------------------------------------- /frontend/ai/message.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/ai/message.tsx -------------------------------------------------------------------------------- /frontend/app/agent.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/app/agent.tsx -------------------------------------------------------------------------------- /frontend/app/charts/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/app/charts/README.md -------------------------------------------------------------------------------- /frontend/app/charts/agent.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/app/charts/agent.tsx -------------------------------------------------------------------------------- /frontend/app/charts/filters.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/app/charts/filters.tsx -------------------------------------------------------------------------------- /frontend/app/charts/generate-orders.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/app/charts/generate-orders.ts -------------------------------------------------------------------------------- /frontend/app/charts/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/app/charts/layout.tsx -------------------------------------------------------------------------------- /frontend/app/charts/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/app/charts/page.tsx -------------------------------------------------------------------------------- /frontend/app/charts/schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/app/charts/schema.ts -------------------------------------------------------------------------------- /frontend/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/app/favicon.ico -------------------------------------------------------------------------------- /frontend/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/app/globals.css -------------------------------------------------------------------------------- /frontend/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/app/layout.tsx -------------------------------------------------------------------------------- /frontend/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/app/page.tsx -------------------------------------------------------------------------------- /frontend/app/shared.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/app/shared.tsx -------------------------------------------------------------------------------- /frontend/components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/components.json -------------------------------------------------------------------------------- /frontend/components/prebuilt/chat.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/components/prebuilt/chat.tsx -------------------------------------------------------------------------------- /frontend/components/prebuilt/display-types-dialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/components/prebuilt/display-types-dialog.tsx -------------------------------------------------------------------------------- /frontend/components/prebuilt/filter-options-dialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/components/prebuilt/filter-options-dialog.tsx -------------------------------------------------------------------------------- /frontend/components/prebuilt/filter.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/components/prebuilt/filter.tsx -------------------------------------------------------------------------------- /frontend/components/prebuilt/github.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/components/prebuilt/github.tsx -------------------------------------------------------------------------------- /frontend/components/prebuilt/invoice.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/components/prebuilt/invoice.tsx -------------------------------------------------------------------------------- /frontend/components/prebuilt/loading-charts.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/components/prebuilt/loading-charts.tsx -------------------------------------------------------------------------------- /frontend/components/prebuilt/message.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/components/prebuilt/message.tsx -------------------------------------------------------------------------------- /frontend/components/prebuilt/weather.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/components/prebuilt/weather.tsx -------------------------------------------------------------------------------- /frontend/components/ui/avatar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/components/ui/avatar.tsx -------------------------------------------------------------------------------- /frontend/components/ui/badge.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/components/ui/badge.tsx -------------------------------------------------------------------------------- /frontend/components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/components/ui/button.tsx -------------------------------------------------------------------------------- /frontend/components/ui/calendar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/components/ui/calendar.tsx -------------------------------------------------------------------------------- /frontend/components/ui/card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/components/ui/card.tsx -------------------------------------------------------------------------------- /frontend/components/ui/dialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/components/ui/dialog.tsx -------------------------------------------------------------------------------- /frontend/components/ui/dropdown-menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/components/ui/dropdown-menu.tsx -------------------------------------------------------------------------------- /frontend/components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/components/ui/input.tsx -------------------------------------------------------------------------------- /frontend/components/ui/label.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/components/ui/label.tsx -------------------------------------------------------------------------------- /frontend/components/ui/pagination.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/components/ui/pagination.tsx -------------------------------------------------------------------------------- /frontend/components/ui/popover.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/components/ui/popover.tsx -------------------------------------------------------------------------------- /frontend/components/ui/progress.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/components/ui/progress.tsx -------------------------------------------------------------------------------- /frontend/components/ui/resizable.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/components/ui/resizable.tsx -------------------------------------------------------------------------------- /frontend/components/ui/scroll-area.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/components/ui/scroll-area.tsx -------------------------------------------------------------------------------- /frontend/components/ui/select.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/components/ui/select.tsx -------------------------------------------------------------------------------- /frontend/components/ui/separator.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/components/ui/separator.tsx -------------------------------------------------------------------------------- /frontend/components/ui/skeleton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/components/ui/skeleton.tsx -------------------------------------------------------------------------------- /frontend/components/ui/switch.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/components/ui/switch.tsx -------------------------------------------------------------------------------- /frontend/components/ui/tabs.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/components/ui/tabs.tsx -------------------------------------------------------------------------------- /frontend/components/ui/textarea.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/components/ui/textarea.tsx -------------------------------------------------------------------------------- /frontend/components/ui/tooltip.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/components/ui/tooltip.tsx -------------------------------------------------------------------------------- /frontend/lib/mui.ts: -------------------------------------------------------------------------------- 1 | "use client"; 2 | 3 | export * from "@mui/x-charts"; 4 | -------------------------------------------------------------------------------- /frontend/lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/lib/utils.ts -------------------------------------------------------------------------------- /frontend/next.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/next.config.mjs -------------------------------------------------------------------------------- /frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/package.json -------------------------------------------------------------------------------- /frontend/postcss.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/postcss.config.mjs -------------------------------------------------------------------------------- /frontend/public/gen_ui_charts_diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/public/gen_ui_charts_diagram.png -------------------------------------------------------------------------------- /frontend/public/gen_ui_diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/public/gen_ui_diagram.png -------------------------------------------------------------------------------- /frontend/public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/public/next.svg -------------------------------------------------------------------------------- /frontend/public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/public/vercel.svg -------------------------------------------------------------------------------- /frontend/tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/tailwind.config.ts -------------------------------------------------------------------------------- /frontend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/tsconfig.json -------------------------------------------------------------------------------- /frontend/utils/client.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/utils/client.tsx -------------------------------------------------------------------------------- /frontend/utils/server.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/utils/server.tsx -------------------------------------------------------------------------------- /frontend/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bracesproul/gen-ui-python/HEAD/frontend/yarn.lock --------------------------------------------------------------------------------