├── .gitignore ├── README.md ├── biome.json ├── components.json ├── drizzle.config.ts ├── migrations ├── 0000_material_thaddeus_ross.sql ├── 0001_flimsy_shadowcat.sql └── meta │ ├── 0000_snapshot.json │ ├── 0001_snapshot.json │ └── _journal.json ├── next.config.ts ├── package.json ├── postcss.config.mjs ├── public ├── file.svg ├── globe.svg ├── next.svg ├── vercel.svg └── window.svg ├── src ├── app │ ├── api │ │ └── chat │ │ │ └── route.ts │ ├── chat │ │ └── page.tsx │ ├── favicon.ico │ ├── globals.css │ ├── layout.tsx │ ├── page.tsx │ └── upload │ │ ├── actions.ts │ │ └── page.tsx ├── components │ ├── ai-elements │ │ ├── actions.tsx │ │ ├── artifact.tsx │ │ ├── branch.tsx │ │ ├── chain-of-thought.tsx │ │ ├── code-block.tsx │ │ ├── context.tsx │ │ ├── conversation.tsx │ │ ├── image.tsx │ │ ├── inline-citation.tsx │ │ ├── loader.tsx │ │ ├── message.tsx │ │ ├── open-in-chat.tsx │ │ ├── prompt-input.tsx │ │ ├── reasoning.tsx │ │ ├── response.tsx │ │ ├── sources.tsx │ │ ├── suggestion.tsx │ │ ├── task.tsx │ │ ├── tool.tsx │ │ └── web-preview.tsx │ ├── navigation.tsx │ └── ui │ │ ├── accordion.tsx │ │ ├── alert-dialog.tsx │ │ ├── alert.tsx │ │ ├── aspect-ratio.tsx │ │ ├── avatar.tsx │ │ ├── badge.tsx │ │ ├── breadcrumb.tsx │ │ ├── button.tsx │ │ ├── calendar.tsx │ │ ├── card.tsx │ │ ├── carousel.tsx │ │ ├── chart.tsx │ │ ├── checkbox.tsx │ │ ├── collapsible.tsx │ │ ├── command.tsx │ │ ├── context-menu.tsx │ │ ├── dialog.tsx │ │ ├── drawer.tsx │ │ ├── dropdown-menu.tsx │ │ ├── form.tsx │ │ ├── hover-card.tsx │ │ ├── input-otp.tsx │ │ ├── input.tsx │ │ ├── label.tsx │ │ ├── menubar.tsx │ │ ├── navigation-menu.tsx │ │ ├── pagination.tsx │ │ ├── popover.tsx │ │ ├── progress.tsx │ │ ├── radio-group.tsx │ │ ├── resizable.tsx │ │ ├── scroll-area.tsx │ │ ├── select.tsx │ │ ├── separator.tsx │ │ ├── sheet.tsx │ │ ├── sidebar.tsx │ │ ├── skeleton.tsx │ │ ├── slider.tsx │ │ ├── sonner.tsx │ │ ├── switch.tsx │ │ ├── table.tsx │ │ ├── tabs.tsx │ │ ├── textarea.tsx │ │ ├── toggle-group.tsx │ │ ├── toggle.tsx │ │ └── tooltip.tsx ├── hooks │ └── use-mobile.ts ├── lib │ ├── chunking.ts │ ├── db-config.ts │ ├── db-schema.ts │ ├── embeddings.ts │ ├── search.ts │ └── utils.ts └── middleware.ts └── tsconfig.json /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/README.md -------------------------------------------------------------------------------- /biome.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/biome.json -------------------------------------------------------------------------------- /components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/components.json -------------------------------------------------------------------------------- /drizzle.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/drizzle.config.ts -------------------------------------------------------------------------------- /migrations/0000_material_thaddeus_ross.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/migrations/0000_material_thaddeus_ross.sql -------------------------------------------------------------------------------- /migrations/0001_flimsy_shadowcat.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/migrations/0001_flimsy_shadowcat.sql -------------------------------------------------------------------------------- /migrations/meta/0000_snapshot.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/migrations/meta/0000_snapshot.json -------------------------------------------------------------------------------- /migrations/meta/0001_snapshot.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/migrations/meta/0001_snapshot.json -------------------------------------------------------------------------------- /migrations/meta/_journal.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/migrations/meta/_journal.json -------------------------------------------------------------------------------- /next.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/next.config.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/postcss.config.mjs -------------------------------------------------------------------------------- /public/file.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/public/file.svg -------------------------------------------------------------------------------- /public/globe.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/public/globe.svg -------------------------------------------------------------------------------- /public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/public/next.svg -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /public/window.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/public/window.svg -------------------------------------------------------------------------------- /src/app/api/chat/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/app/api/chat/route.ts -------------------------------------------------------------------------------- /src/app/chat/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/app/chat/page.tsx -------------------------------------------------------------------------------- /src/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/app/favicon.ico -------------------------------------------------------------------------------- /src/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/app/globals.css -------------------------------------------------------------------------------- /src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/app/layout.tsx -------------------------------------------------------------------------------- /src/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/app/page.tsx -------------------------------------------------------------------------------- /src/app/upload/actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/app/upload/actions.ts -------------------------------------------------------------------------------- /src/app/upload/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/app/upload/page.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/actions.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ai-elements/actions.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/artifact.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ai-elements/artifact.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/branch.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ai-elements/branch.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/chain-of-thought.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ai-elements/chain-of-thought.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/code-block.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ai-elements/code-block.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/context.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ai-elements/context.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/conversation.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ai-elements/conversation.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/image.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ai-elements/image.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/inline-citation.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ai-elements/inline-citation.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/loader.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ai-elements/loader.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/message.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ai-elements/message.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/open-in-chat.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ai-elements/open-in-chat.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/prompt-input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ai-elements/prompt-input.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/reasoning.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ai-elements/reasoning.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/response.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ai-elements/response.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/sources.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ai-elements/sources.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/suggestion.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ai-elements/suggestion.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/task.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ai-elements/task.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/tool.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ai-elements/tool.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/web-preview.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ai-elements/web-preview.tsx -------------------------------------------------------------------------------- /src/components/navigation.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/navigation.tsx -------------------------------------------------------------------------------- /src/components/ui/accordion.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/accordion.tsx -------------------------------------------------------------------------------- /src/components/ui/alert-dialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/alert-dialog.tsx -------------------------------------------------------------------------------- /src/components/ui/alert.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/alert.tsx -------------------------------------------------------------------------------- /src/components/ui/aspect-ratio.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/aspect-ratio.tsx -------------------------------------------------------------------------------- /src/components/ui/avatar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/avatar.tsx -------------------------------------------------------------------------------- /src/components/ui/badge.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/badge.tsx -------------------------------------------------------------------------------- /src/components/ui/breadcrumb.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/breadcrumb.tsx -------------------------------------------------------------------------------- /src/components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/button.tsx -------------------------------------------------------------------------------- /src/components/ui/calendar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/calendar.tsx -------------------------------------------------------------------------------- /src/components/ui/card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/card.tsx -------------------------------------------------------------------------------- /src/components/ui/carousel.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/carousel.tsx -------------------------------------------------------------------------------- /src/components/ui/chart.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/chart.tsx -------------------------------------------------------------------------------- /src/components/ui/checkbox.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/checkbox.tsx -------------------------------------------------------------------------------- /src/components/ui/collapsible.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/collapsible.tsx -------------------------------------------------------------------------------- /src/components/ui/command.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/command.tsx -------------------------------------------------------------------------------- /src/components/ui/context-menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/context-menu.tsx -------------------------------------------------------------------------------- /src/components/ui/dialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/dialog.tsx -------------------------------------------------------------------------------- /src/components/ui/drawer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/drawer.tsx -------------------------------------------------------------------------------- /src/components/ui/dropdown-menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/dropdown-menu.tsx -------------------------------------------------------------------------------- /src/components/ui/form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/form.tsx -------------------------------------------------------------------------------- /src/components/ui/hover-card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/hover-card.tsx -------------------------------------------------------------------------------- /src/components/ui/input-otp.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/input-otp.tsx -------------------------------------------------------------------------------- /src/components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/input.tsx -------------------------------------------------------------------------------- /src/components/ui/label.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/label.tsx -------------------------------------------------------------------------------- /src/components/ui/menubar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/menubar.tsx -------------------------------------------------------------------------------- /src/components/ui/navigation-menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/navigation-menu.tsx -------------------------------------------------------------------------------- /src/components/ui/pagination.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/pagination.tsx -------------------------------------------------------------------------------- /src/components/ui/popover.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/popover.tsx -------------------------------------------------------------------------------- /src/components/ui/progress.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/progress.tsx -------------------------------------------------------------------------------- /src/components/ui/radio-group.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/radio-group.tsx -------------------------------------------------------------------------------- /src/components/ui/resizable.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/resizable.tsx -------------------------------------------------------------------------------- /src/components/ui/scroll-area.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/scroll-area.tsx -------------------------------------------------------------------------------- /src/components/ui/select.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/select.tsx -------------------------------------------------------------------------------- /src/components/ui/separator.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/separator.tsx -------------------------------------------------------------------------------- /src/components/ui/sheet.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/sheet.tsx -------------------------------------------------------------------------------- /src/components/ui/sidebar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/sidebar.tsx -------------------------------------------------------------------------------- /src/components/ui/skeleton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/skeleton.tsx -------------------------------------------------------------------------------- /src/components/ui/slider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/slider.tsx -------------------------------------------------------------------------------- /src/components/ui/sonner.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/sonner.tsx -------------------------------------------------------------------------------- /src/components/ui/switch.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/switch.tsx -------------------------------------------------------------------------------- /src/components/ui/table.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/table.tsx -------------------------------------------------------------------------------- /src/components/ui/tabs.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/tabs.tsx -------------------------------------------------------------------------------- /src/components/ui/textarea.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/textarea.tsx -------------------------------------------------------------------------------- /src/components/ui/toggle-group.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/toggle-group.tsx -------------------------------------------------------------------------------- /src/components/ui/toggle.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/toggle.tsx -------------------------------------------------------------------------------- /src/components/ui/tooltip.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/components/ui/tooltip.tsx -------------------------------------------------------------------------------- /src/hooks/use-mobile.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/hooks/use-mobile.ts -------------------------------------------------------------------------------- /src/lib/chunking.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/lib/chunking.ts -------------------------------------------------------------------------------- /src/lib/db-config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/lib/db-config.ts -------------------------------------------------------------------------------- /src/lib/db-schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/lib/db-schema.ts -------------------------------------------------------------------------------- /src/lib/embeddings.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/lib/embeddings.ts -------------------------------------------------------------------------------- /src/lib/search.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/lib/search.ts -------------------------------------------------------------------------------- /src/lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/lib/utils.ts -------------------------------------------------------------------------------- /src/middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/src/middleware.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gopinav/Next.js-AI-SDK-RAG-Chatbot/HEAD/tsconfig.json --------------------------------------------------------------------------------