├── .env.template ├── .eslintrc.cjs ├── .gitignore ├── README.md ├── app ├── components │ ├── Input.tsx │ ├── button.tsx │ ├── fileUpload.tsx │ ├── magicui │ │ └── animated-shiny-text.tsx │ └── ui │ │ ├── checkbox.tsx │ │ ├── drawer.tsx │ │ └── select.tsx ├── entry.client.tsx ├── entry.server.tsx ├── globals.css ├── lib │ ├── aiGateway.ts │ ├── exampleFiles.ts │ └── utils.ts ├── root.tsx ├── routes │ └── _index.tsx └── tailwind.css ├── assets ├── hybrid-rag.png └── video_thumbnail.png ├── components.json ├── drizzle.config.ts ├── drizzle ├── 20240828100648_skinny_midnight.sql └── meta │ ├── 20240828130749_snapshot.json │ └── _journal.json ├── functions ├── [[path]].ts └── api │ ├── stream.ts │ └── upload.ts ├── load-context.ts ├── package.json ├── pnpm-lock.yaml ├── postcss.config.js ├── public ├── _headers ├── _routes.json └── favicon.ico ├── remix.config.js ├── schema.ts ├── setup.sh ├── tailwind.config.ts ├── tsconfig.json ├── vite.config.ts ├── worker-configuration.d.ts └── wrangler.toml /.env.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/.env.template -------------------------------------------------------------------------------- /.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/.eslintrc.cjs -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/README.md -------------------------------------------------------------------------------- /app/components/Input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/app/components/Input.tsx -------------------------------------------------------------------------------- /app/components/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/app/components/button.tsx -------------------------------------------------------------------------------- /app/components/fileUpload.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/app/components/fileUpload.tsx -------------------------------------------------------------------------------- /app/components/magicui/animated-shiny-text.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/app/components/magicui/animated-shiny-text.tsx -------------------------------------------------------------------------------- /app/components/ui/checkbox.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/app/components/ui/checkbox.tsx -------------------------------------------------------------------------------- /app/components/ui/drawer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/app/components/ui/drawer.tsx -------------------------------------------------------------------------------- /app/components/ui/select.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/app/components/ui/select.tsx -------------------------------------------------------------------------------- /app/entry.client.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/app/entry.client.tsx -------------------------------------------------------------------------------- /app/entry.server.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/app/entry.server.tsx -------------------------------------------------------------------------------- /app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/app/globals.css -------------------------------------------------------------------------------- /app/lib/aiGateway.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/app/lib/aiGateway.ts -------------------------------------------------------------------------------- /app/lib/exampleFiles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/app/lib/exampleFiles.ts -------------------------------------------------------------------------------- /app/lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/app/lib/utils.ts -------------------------------------------------------------------------------- /app/root.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/app/root.tsx -------------------------------------------------------------------------------- /app/routes/_index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/app/routes/_index.tsx -------------------------------------------------------------------------------- /app/tailwind.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/app/tailwind.css -------------------------------------------------------------------------------- /assets/hybrid-rag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/assets/hybrid-rag.png -------------------------------------------------------------------------------- /assets/video_thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/assets/video_thumbnail.png -------------------------------------------------------------------------------- /components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/components.json -------------------------------------------------------------------------------- /drizzle.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/drizzle.config.ts -------------------------------------------------------------------------------- /drizzle/20240828100648_skinny_midnight.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/drizzle/20240828100648_skinny_midnight.sql -------------------------------------------------------------------------------- /drizzle/meta/20240828130749_snapshot.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/drizzle/meta/20240828130749_snapshot.json -------------------------------------------------------------------------------- /drizzle/meta/_journal.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/drizzle/meta/_journal.json -------------------------------------------------------------------------------- /functions/[[path]].ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/functions/[[path]].ts -------------------------------------------------------------------------------- /functions/api/stream.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/functions/api/stream.ts -------------------------------------------------------------------------------- /functions/api/upload.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/functions/api/upload.ts -------------------------------------------------------------------------------- /load-context.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/load-context.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/postcss.config.js -------------------------------------------------------------------------------- /public/_headers: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/public/_headers -------------------------------------------------------------------------------- /public/_routes.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/public/_routes.json -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /remix.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/remix.config.js -------------------------------------------------------------------------------- /schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/schema.ts -------------------------------------------------------------------------------- /setup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/setup.sh -------------------------------------------------------------------------------- /tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/tailwind.config.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/tsconfig.json -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/vite.config.ts -------------------------------------------------------------------------------- /worker-configuration.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/worker-configuration.d.ts -------------------------------------------------------------------------------- /wrangler.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RafalWilinski/cloudflare-rag/HEAD/wrangler.toml --------------------------------------------------------------------------------