├── .dockerignore ├── .eslintrc.json ├── .eslintrc.verbose.json ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md └── workflows │ ├── build-main.yml │ └── ci.yml ├── .gitignore ├── .husky └── pre-commit ├── .npmrc ├── .prettierignore ├── .prettierrc ├── Dockerfile ├── LICENSE ├── README.md ├── assets ├── chat.png ├── collections.png ├── documents.png └── login.png ├── components.json ├── next-env.d.ts ├── next.config.js ├── package.json ├── pnpm-lock.yaml ├── postcss.config.js ├── public ├── env-config.js ├── favicon.ico └── images │ ├── default_profile.svg │ ├── favicon.ico │ ├── github-mark.svg │ ├── google-logo.svg │ ├── hatchet-logo.svg │ ├── javascript-logo.svg │ ├── python-logo.svg │ └── sciphi.svg ├── sentry.client.config.ts ├── sentry.edge.config.ts ├── sentry.server.config.ts ├── src ├── components │ ├── AverageScoreCard.tsx │ ├── ChatDemo │ │ ├── ConfigurationSheet.tsx │ │ ├── CreateDialog.tsx │ │ ├── DefaultQueries.tsx │ │ ├── DocumentsTable.tsx │ │ ├── DownloadFileContainer.tsx │ │ ├── ExtractContainer.tsx │ │ ├── KGDescriptionDialog.tsx │ │ ├── MessageBubble.tsx │ │ ├── PipelineStatus.tsx │ │ ├── ServerCard.tsx │ │ ├── SingleSwitch.tsx │ │ ├── SwitchManager.tsx │ │ ├── Table.tsx │ │ ├── UpdateButtonContainer.tsx │ │ ├── UploadDialog.tsx │ │ ├── answer.tsx │ │ ├── createFile.tsx │ │ ├── deleteButton.tsx │ │ ├── popover.tsx │ │ ├── remove.tsx │ │ ├── result.tsx │ │ ├── search.tsx │ │ ├── skeleton.tsx │ │ ├── title.tsx │ │ ├── update.tsx │ │ ├── upload.tsx │ │ └── utils │ │ │ ├── AssignDocumentToCollectionDialog.tsx │ │ │ ├── AssignUserToCollectionDialog.tsx │ │ │ ├── cn.ts │ │ │ ├── collectionCreationModal.tsx │ │ │ ├── collectionDialog.tsx │ │ │ ├── containerObjectCreationModal.tsx │ │ │ ├── documentDialogInfo.tsx │ │ │ ├── documentSorter.ts │ │ │ ├── editPromptDialog.tsx │ │ │ ├── formatUptime.ts │ │ │ ├── get-search-url.ts │ │ │ └── userDialogInfo.tsx │ ├── ContainerObjectCard.tsx │ ├── DAUCard.tsx │ ├── ErrorsCard.tsx │ ├── Graph.txt │ ├── LLMCompletionCard.tsx │ ├── Layout │ │ └── index.tsx │ ├── OverlayWrapper.tsx │ ├── RequestsCard.tsx │ ├── SearchResults │ │ └── index.tsx │ ├── Sidebar.tsx │ ├── Spinner.tsx │ ├── ThemeProvider │ │ └── index.tsx │ ├── USMapCard.tsx │ ├── UserForm.tsx │ ├── WAUCard.tsx │ ├── WorldMapCard.tsx │ ├── knowledgeGraph.tsx │ ├── knowledgeGraphD3.tsx │ ├── shared │ │ ├── Footer.tsx │ │ ├── Logo.tsx │ │ ├── NavBar.tsx │ │ └── ThemeToggle.tsx │ ├── ui │ │ ├── BarChart.tsx │ │ ├── Button.tsx │ │ ├── CopyableContent.tsx │ │ ├── InfoIcon.tsx │ │ ├── ModelSelector.tsx │ │ ├── ShadcnButton.tsx │ │ ├── UserSelector.tsx │ │ ├── WatchButton.tsx │ │ ├── accordion.tsx │ │ ├── alert-dialog.tsx │ │ ├── alert.tsx │ │ ├── avatar.tsx │ │ ├── badge.tsx │ │ ├── card.tsx │ │ ├── carousel.tsx │ │ ├── checkbox.tsx │ │ ├── collapsible.tsx │ │ ├── dialog.tsx │ │ ├── dropdown-menu.tsx │ │ ├── highlight.tsx │ │ ├── input.tsx │ │ ├── label.tsx │ │ ├── logtable.tsx │ │ ├── menubar.tsx │ │ ├── multi-select.tsx │ │ ├── pagination.tsx │ │ ├── popover.tsx │ │ ├── progress.tsx │ │ ├── select.tsx │ │ ├── separator.tsx │ │ ├── sheet.tsx │ │ ├── slider.tsx │ │ ├── switch.tsx │ │ ├── table.tsx │ │ ├── tabs.tsx │ │ ├── textarea.tsx │ │ ├── toast.tsx │ │ ├── toaster.tsx │ │ ├── tooltip.tsx │ │ └── use-toast.ts │ ├── us-abbr.json │ ├── usa-topo.json │ └── world-topo.json ├── config │ ├── brandingConfig.ts │ └── brandingOverride.ts ├── context │ └── UserContext.tsx ├── hooks │ └── usePagination.ts ├── instrumentation.ts ├── lib │ ├── CustomErrors.ts │ ├── debounce.ts │ ├── posthog-client.tsx │ ├── remToPx.ts │ ├── supabase.ts │ └── utils.ts ├── pages │ ├── _app.tsx │ ├── _error.jsx │ ├── account.tsx │ ├── analytics.tsx │ ├── api │ │ └── sentry-example-api.js │ ├── auth │ │ ├── login.tsx │ │ └── signup.tsx │ ├── chat.tsx │ ├── collections.tsx │ ├── collections │ │ └── [id].tsx │ ├── documents.tsx │ ├── error.tsx │ ├── index.tsx │ ├── indexLogs.tsx │ ├── search.tsx │ ├── settings.tsx │ └── users.tsx ├── styles │ ├── Index.module.scss │ └── globals.css └── types.ts ├── startup.sh ├── tailwind.config.js ├── tsconfig.json └── types └── globals.d.ts /.dockerignore: -------------------------------------------------------------------------------- 1 | /assets 2 | node_modules 3 | -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.eslintrc.verbose.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/.eslintrc.verbose.json -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/workflows/build-main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/.github/workflows/build-main.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | . "$(dirname -- "$0")/_/husky.sh" 3 | 4 | npx lint-staged -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | public-hoist-pattern[]=*@nextui-org/* -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .next 3 | pnpm-lock.yaml -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/.prettierrc -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/README.md -------------------------------------------------------------------------------- /assets/chat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/assets/chat.png -------------------------------------------------------------------------------- /assets/collections.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/assets/collections.png -------------------------------------------------------------------------------- /assets/documents.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/assets/documents.png -------------------------------------------------------------------------------- /assets/login.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/assets/login.png -------------------------------------------------------------------------------- /components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/components.json -------------------------------------------------------------------------------- /next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/next-env.d.ts -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/postcss.config.js -------------------------------------------------------------------------------- /public/env-config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/public/env-config.js -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/images/default_profile.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/public/images/default_profile.svg -------------------------------------------------------------------------------- /public/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/public/images/favicon.ico -------------------------------------------------------------------------------- /public/images/github-mark.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/public/images/github-mark.svg -------------------------------------------------------------------------------- /public/images/google-logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/public/images/google-logo.svg -------------------------------------------------------------------------------- /public/images/hatchet-logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/public/images/hatchet-logo.svg -------------------------------------------------------------------------------- /public/images/javascript-logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/public/images/javascript-logo.svg -------------------------------------------------------------------------------- /public/images/python-logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/public/images/python-logo.svg -------------------------------------------------------------------------------- /public/images/sciphi.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/public/images/sciphi.svg -------------------------------------------------------------------------------- /sentry.client.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/sentry.client.config.ts -------------------------------------------------------------------------------- /sentry.edge.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/sentry.edge.config.ts -------------------------------------------------------------------------------- /sentry.server.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/sentry.server.config.ts -------------------------------------------------------------------------------- /src/components/AverageScoreCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/AverageScoreCard.tsx -------------------------------------------------------------------------------- /src/components/ChatDemo/ConfigurationSheet.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ChatDemo/ConfigurationSheet.tsx -------------------------------------------------------------------------------- /src/components/ChatDemo/CreateDialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ChatDemo/CreateDialog.tsx -------------------------------------------------------------------------------- /src/components/ChatDemo/DefaultQueries.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ChatDemo/DefaultQueries.tsx -------------------------------------------------------------------------------- /src/components/ChatDemo/DocumentsTable.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ChatDemo/DocumentsTable.tsx -------------------------------------------------------------------------------- /src/components/ChatDemo/DownloadFileContainer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ChatDemo/DownloadFileContainer.tsx -------------------------------------------------------------------------------- /src/components/ChatDemo/ExtractContainer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ChatDemo/ExtractContainer.tsx -------------------------------------------------------------------------------- /src/components/ChatDemo/KGDescriptionDialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ChatDemo/KGDescriptionDialog.tsx -------------------------------------------------------------------------------- /src/components/ChatDemo/MessageBubble.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ChatDemo/MessageBubble.tsx -------------------------------------------------------------------------------- /src/components/ChatDemo/PipelineStatus.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ChatDemo/PipelineStatus.tsx -------------------------------------------------------------------------------- /src/components/ChatDemo/ServerCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ChatDemo/ServerCard.tsx -------------------------------------------------------------------------------- /src/components/ChatDemo/SingleSwitch.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ChatDemo/SingleSwitch.tsx -------------------------------------------------------------------------------- /src/components/ChatDemo/SwitchManager.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ChatDemo/SwitchManager.tsx -------------------------------------------------------------------------------- /src/components/ChatDemo/Table.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ChatDemo/Table.tsx -------------------------------------------------------------------------------- /src/components/ChatDemo/UpdateButtonContainer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ChatDemo/UpdateButtonContainer.tsx -------------------------------------------------------------------------------- /src/components/ChatDemo/UploadDialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ChatDemo/UploadDialog.tsx -------------------------------------------------------------------------------- /src/components/ChatDemo/answer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ChatDemo/answer.tsx -------------------------------------------------------------------------------- /src/components/ChatDemo/createFile.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ChatDemo/createFile.tsx -------------------------------------------------------------------------------- /src/components/ChatDemo/deleteButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ChatDemo/deleteButton.tsx -------------------------------------------------------------------------------- /src/components/ChatDemo/popover.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ChatDemo/popover.tsx -------------------------------------------------------------------------------- /src/components/ChatDemo/remove.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ChatDemo/remove.tsx -------------------------------------------------------------------------------- /src/components/ChatDemo/result.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ChatDemo/result.tsx -------------------------------------------------------------------------------- /src/components/ChatDemo/search.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ChatDemo/search.tsx -------------------------------------------------------------------------------- /src/components/ChatDemo/skeleton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ChatDemo/skeleton.tsx -------------------------------------------------------------------------------- /src/components/ChatDemo/title.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ChatDemo/title.tsx -------------------------------------------------------------------------------- /src/components/ChatDemo/update.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ChatDemo/update.tsx -------------------------------------------------------------------------------- /src/components/ChatDemo/upload.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ChatDemo/upload.tsx -------------------------------------------------------------------------------- /src/components/ChatDemo/utils/AssignDocumentToCollectionDialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ChatDemo/utils/AssignDocumentToCollectionDialog.tsx -------------------------------------------------------------------------------- /src/components/ChatDemo/utils/AssignUserToCollectionDialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ChatDemo/utils/AssignUserToCollectionDialog.tsx -------------------------------------------------------------------------------- /src/components/ChatDemo/utils/cn.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ChatDemo/utils/cn.ts -------------------------------------------------------------------------------- /src/components/ChatDemo/utils/collectionCreationModal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ChatDemo/utils/collectionCreationModal.tsx -------------------------------------------------------------------------------- /src/components/ChatDemo/utils/collectionDialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ChatDemo/utils/collectionDialog.tsx -------------------------------------------------------------------------------- /src/components/ChatDemo/utils/containerObjectCreationModal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ChatDemo/utils/containerObjectCreationModal.tsx -------------------------------------------------------------------------------- /src/components/ChatDemo/utils/documentDialogInfo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ChatDemo/utils/documentDialogInfo.tsx -------------------------------------------------------------------------------- /src/components/ChatDemo/utils/documentSorter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ChatDemo/utils/documentSorter.ts -------------------------------------------------------------------------------- /src/components/ChatDemo/utils/editPromptDialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ChatDemo/utils/editPromptDialog.tsx -------------------------------------------------------------------------------- /src/components/ChatDemo/utils/formatUptime.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ChatDemo/utils/formatUptime.ts -------------------------------------------------------------------------------- /src/components/ChatDemo/utils/get-search-url.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ChatDemo/utils/get-search-url.ts -------------------------------------------------------------------------------- /src/components/ChatDemo/utils/userDialogInfo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ChatDemo/utils/userDialogInfo.tsx -------------------------------------------------------------------------------- /src/components/ContainerObjectCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ContainerObjectCard.tsx -------------------------------------------------------------------------------- /src/components/DAUCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/DAUCard.tsx -------------------------------------------------------------------------------- /src/components/ErrorsCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ErrorsCard.tsx -------------------------------------------------------------------------------- /src/components/Graph.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/Graph.txt -------------------------------------------------------------------------------- /src/components/LLMCompletionCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/LLMCompletionCard.tsx -------------------------------------------------------------------------------- /src/components/Layout/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/Layout/index.tsx -------------------------------------------------------------------------------- /src/components/OverlayWrapper.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/OverlayWrapper.tsx -------------------------------------------------------------------------------- /src/components/RequestsCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/RequestsCard.tsx -------------------------------------------------------------------------------- /src/components/SearchResults/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/SearchResults/index.tsx -------------------------------------------------------------------------------- /src/components/Sidebar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/Sidebar.tsx -------------------------------------------------------------------------------- /src/components/Spinner.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/Spinner.tsx -------------------------------------------------------------------------------- /src/components/ThemeProvider/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ThemeProvider/index.tsx -------------------------------------------------------------------------------- /src/components/USMapCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/USMapCard.tsx -------------------------------------------------------------------------------- /src/components/UserForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/UserForm.tsx -------------------------------------------------------------------------------- /src/components/WAUCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/WAUCard.tsx -------------------------------------------------------------------------------- /src/components/WorldMapCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/WorldMapCard.tsx -------------------------------------------------------------------------------- /src/components/knowledgeGraph.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/knowledgeGraph.tsx -------------------------------------------------------------------------------- /src/components/knowledgeGraphD3.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/knowledgeGraphD3.tsx -------------------------------------------------------------------------------- /src/components/shared/Footer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/shared/Footer.tsx -------------------------------------------------------------------------------- /src/components/shared/Logo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/shared/Logo.tsx -------------------------------------------------------------------------------- /src/components/shared/NavBar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/shared/NavBar.tsx -------------------------------------------------------------------------------- /src/components/shared/ThemeToggle.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/shared/ThemeToggle.tsx -------------------------------------------------------------------------------- /src/components/ui/BarChart.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ui/BarChart.tsx -------------------------------------------------------------------------------- /src/components/ui/Button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ui/Button.tsx -------------------------------------------------------------------------------- /src/components/ui/CopyableContent.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ui/CopyableContent.tsx -------------------------------------------------------------------------------- /src/components/ui/InfoIcon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ui/InfoIcon.tsx -------------------------------------------------------------------------------- /src/components/ui/ModelSelector.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ui/ModelSelector.tsx -------------------------------------------------------------------------------- /src/components/ui/ShadcnButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ui/ShadcnButton.tsx -------------------------------------------------------------------------------- /src/components/ui/UserSelector.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ui/UserSelector.tsx -------------------------------------------------------------------------------- /src/components/ui/WatchButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ui/WatchButton.tsx -------------------------------------------------------------------------------- /src/components/ui/accordion.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ui/accordion.tsx -------------------------------------------------------------------------------- /src/components/ui/alert-dialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ui/alert-dialog.tsx -------------------------------------------------------------------------------- /src/components/ui/alert.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ui/alert.tsx -------------------------------------------------------------------------------- /src/components/ui/avatar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ui/avatar.tsx -------------------------------------------------------------------------------- /src/components/ui/badge.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ui/badge.tsx -------------------------------------------------------------------------------- /src/components/ui/card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ui/card.tsx -------------------------------------------------------------------------------- /src/components/ui/carousel.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ui/carousel.tsx -------------------------------------------------------------------------------- /src/components/ui/checkbox.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ui/checkbox.tsx -------------------------------------------------------------------------------- /src/components/ui/collapsible.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ui/collapsible.tsx -------------------------------------------------------------------------------- /src/components/ui/dialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ui/dialog.tsx -------------------------------------------------------------------------------- /src/components/ui/dropdown-menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ui/dropdown-menu.tsx -------------------------------------------------------------------------------- /src/components/ui/highlight.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ui/highlight.tsx -------------------------------------------------------------------------------- /src/components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ui/input.tsx -------------------------------------------------------------------------------- /src/components/ui/label.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ui/label.tsx -------------------------------------------------------------------------------- /src/components/ui/logtable.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ui/logtable.tsx -------------------------------------------------------------------------------- /src/components/ui/menubar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ui/menubar.tsx -------------------------------------------------------------------------------- /src/components/ui/multi-select.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ui/multi-select.tsx -------------------------------------------------------------------------------- /src/components/ui/pagination.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ui/pagination.tsx -------------------------------------------------------------------------------- /src/components/ui/popover.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ui/popover.tsx -------------------------------------------------------------------------------- /src/components/ui/progress.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ui/progress.tsx -------------------------------------------------------------------------------- /src/components/ui/select.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ui/select.tsx -------------------------------------------------------------------------------- /src/components/ui/separator.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ui/separator.tsx -------------------------------------------------------------------------------- /src/components/ui/sheet.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ui/sheet.tsx -------------------------------------------------------------------------------- /src/components/ui/slider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ui/slider.tsx -------------------------------------------------------------------------------- /src/components/ui/switch.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ui/switch.tsx -------------------------------------------------------------------------------- /src/components/ui/table.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ui/table.tsx -------------------------------------------------------------------------------- /src/components/ui/tabs.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ui/tabs.tsx -------------------------------------------------------------------------------- /src/components/ui/textarea.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ui/textarea.tsx -------------------------------------------------------------------------------- /src/components/ui/toast.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ui/toast.tsx -------------------------------------------------------------------------------- /src/components/ui/toaster.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ui/toaster.tsx -------------------------------------------------------------------------------- /src/components/ui/tooltip.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ui/tooltip.tsx -------------------------------------------------------------------------------- /src/components/ui/use-toast.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/ui/use-toast.ts -------------------------------------------------------------------------------- /src/components/us-abbr.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/us-abbr.json -------------------------------------------------------------------------------- /src/components/usa-topo.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/usa-topo.json -------------------------------------------------------------------------------- /src/components/world-topo.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/components/world-topo.json -------------------------------------------------------------------------------- /src/config/brandingConfig.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/config/brandingConfig.ts -------------------------------------------------------------------------------- /src/config/brandingOverride.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/config/brandingOverride.ts -------------------------------------------------------------------------------- /src/context/UserContext.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/context/UserContext.tsx -------------------------------------------------------------------------------- /src/hooks/usePagination.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/hooks/usePagination.ts -------------------------------------------------------------------------------- /src/instrumentation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/instrumentation.ts -------------------------------------------------------------------------------- /src/lib/CustomErrors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/lib/CustomErrors.ts -------------------------------------------------------------------------------- /src/lib/debounce.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/lib/debounce.ts -------------------------------------------------------------------------------- /src/lib/posthog-client.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/lib/posthog-client.tsx -------------------------------------------------------------------------------- /src/lib/remToPx.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/lib/remToPx.ts -------------------------------------------------------------------------------- /src/lib/supabase.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/lib/supabase.ts -------------------------------------------------------------------------------- /src/lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/lib/utils.ts -------------------------------------------------------------------------------- /src/pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/pages/_app.tsx -------------------------------------------------------------------------------- /src/pages/_error.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/pages/_error.jsx -------------------------------------------------------------------------------- /src/pages/account.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/pages/account.tsx -------------------------------------------------------------------------------- /src/pages/analytics.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/pages/analytics.tsx -------------------------------------------------------------------------------- /src/pages/api/sentry-example-api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/pages/api/sentry-example-api.js -------------------------------------------------------------------------------- /src/pages/auth/login.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/pages/auth/login.tsx -------------------------------------------------------------------------------- /src/pages/auth/signup.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/pages/auth/signup.tsx -------------------------------------------------------------------------------- /src/pages/chat.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/pages/chat.tsx -------------------------------------------------------------------------------- /src/pages/collections.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/pages/collections.tsx -------------------------------------------------------------------------------- /src/pages/collections/[id].tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/pages/collections/[id].tsx -------------------------------------------------------------------------------- /src/pages/documents.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/pages/documents.tsx -------------------------------------------------------------------------------- /src/pages/error.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/pages/error.tsx -------------------------------------------------------------------------------- /src/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/pages/index.tsx -------------------------------------------------------------------------------- /src/pages/indexLogs.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/pages/indexLogs.tsx -------------------------------------------------------------------------------- /src/pages/search.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/pages/search.tsx -------------------------------------------------------------------------------- /src/pages/settings.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/pages/settings.tsx -------------------------------------------------------------------------------- /src/pages/users.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/pages/users.tsx -------------------------------------------------------------------------------- /src/styles/Index.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/styles/Index.module.scss -------------------------------------------------------------------------------- /src/styles/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/styles/globals.css -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/src/types.ts -------------------------------------------------------------------------------- /startup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/startup.sh -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/tailwind.config.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/tsconfig.json -------------------------------------------------------------------------------- /types/globals.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SciPhi-AI/R2R-Application/HEAD/types/globals.d.ts --------------------------------------------------------------------------------