├── .devcontainer └── devcontainer.json ├── .editorconfig ├── .eslintrc.json ├── .gitignore ├── CODE_OF_CONDUCT.md ├── LICENSE ├── README.md ├── SECURITY.md ├── SUPPORT.md ├── azure.yaml ├── data ├── privacy-policy.pdf ├── support.pdf └── terms-of-service.pdf ├── infra ├── abbreviations.json ├── core │ ├── ai │ │ └── cognitiveservices.bicep │ ├── host │ │ ├── container-app.bicep │ │ ├── container-apps-environment.bicep │ │ ├── container-apps.bicep │ │ ├── container-registry.bicep │ │ └── staticwebapp.bicep │ ├── monitor │ │ ├── applicationinsights.bicep │ │ ├── loganalytics.bicep │ │ └── monitoring.bicep │ ├── search │ │ └── search-services.bicep │ └── security │ │ └── role.bicep ├── main.bicep └── main.parameters.json ├── package.json ├── scripts ├── index-data.ps1 └── index-data.sh └── src ├── backend ├── README.md ├── package.json ├── src │ ├── app.ts │ ├── lib │ │ ├── index.ts │ │ ├── message-builder.ts │ │ └── models.ts │ ├── plugins │ │ ├── README.md │ │ ├── chat.ts │ │ ├── config.ts │ │ └── sensible.ts │ └── routes │ │ ├── README.md │ │ └── root.ts ├── test.http └── tsconfig.json ├── frontend ├── .lintstagedrc ├── README.md ├── assets │ ├── lightbulb.svg │ ├── new-chat.svg │ ├── question.svg │ └── send.svg ├── index.html ├── package.json ├── public │ └── favicon.ico ├── src │ ├── api.ts │ ├── components │ │ ├── chat.ts │ │ └── debug.ts │ ├── index.ts │ ├── message-parser.ts │ ├── models.ts │ └── vite-env.d.ts ├── tsconfig.json └── vite.config.ts └── indexer ├── Dockerfile ├── README.md ├── bin └── index-files.js ├── package.json ├── src ├── app.ts ├── lib │ ├── cli.ts │ ├── document-processor.ts │ ├── index.ts │ ├── indexer.ts │ └── model-limits.ts ├── plugins │ ├── README.md │ ├── azure.ts │ ├── config.ts │ ├── indexer.ts │ ├── multipart.ts │ ├── openai.ts │ └── sensible.ts └── routes │ ├── README.md │ ├── indexes │ └── index.ts │ └── root.ts ├── test.http └── tsconfig.json /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/.devcontainer/devcontainer.json -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/.gitignore -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/SECURITY.md -------------------------------------------------------------------------------- /SUPPORT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/SUPPORT.md -------------------------------------------------------------------------------- /azure.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/azure.yaml -------------------------------------------------------------------------------- /data/privacy-policy.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/data/privacy-policy.pdf -------------------------------------------------------------------------------- /data/support.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/data/support.pdf -------------------------------------------------------------------------------- /data/terms-of-service.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/data/terms-of-service.pdf -------------------------------------------------------------------------------- /infra/abbreviations.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/infra/abbreviations.json -------------------------------------------------------------------------------- /infra/core/ai/cognitiveservices.bicep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/infra/core/ai/cognitiveservices.bicep -------------------------------------------------------------------------------- /infra/core/host/container-app.bicep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/infra/core/host/container-app.bicep -------------------------------------------------------------------------------- /infra/core/host/container-apps-environment.bicep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/infra/core/host/container-apps-environment.bicep -------------------------------------------------------------------------------- /infra/core/host/container-apps.bicep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/infra/core/host/container-apps.bicep -------------------------------------------------------------------------------- /infra/core/host/container-registry.bicep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/infra/core/host/container-registry.bicep -------------------------------------------------------------------------------- /infra/core/host/staticwebapp.bicep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/infra/core/host/staticwebapp.bicep -------------------------------------------------------------------------------- /infra/core/monitor/applicationinsights.bicep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/infra/core/monitor/applicationinsights.bicep -------------------------------------------------------------------------------- /infra/core/monitor/loganalytics.bicep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/infra/core/monitor/loganalytics.bicep -------------------------------------------------------------------------------- /infra/core/monitor/monitoring.bicep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/infra/core/monitor/monitoring.bicep -------------------------------------------------------------------------------- /infra/core/search/search-services.bicep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/infra/core/search/search-services.bicep -------------------------------------------------------------------------------- /infra/core/security/role.bicep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/infra/core/security/role.bicep -------------------------------------------------------------------------------- /infra/main.bicep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/infra/main.bicep -------------------------------------------------------------------------------- /infra/main.parameters.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/infra/main.parameters.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/package.json -------------------------------------------------------------------------------- /scripts/index-data.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/scripts/index-data.ps1 -------------------------------------------------------------------------------- /scripts/index-data.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/scripts/index-data.sh -------------------------------------------------------------------------------- /src/backend/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/backend/README.md -------------------------------------------------------------------------------- /src/backend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/backend/package.json -------------------------------------------------------------------------------- /src/backend/src/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/backend/src/app.ts -------------------------------------------------------------------------------- /src/backend/src/lib/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/backend/src/lib/index.ts -------------------------------------------------------------------------------- /src/backend/src/lib/message-builder.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/backend/src/lib/message-builder.ts -------------------------------------------------------------------------------- /src/backend/src/lib/models.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/backend/src/lib/models.ts -------------------------------------------------------------------------------- /src/backend/src/plugins/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/backend/src/plugins/README.md -------------------------------------------------------------------------------- /src/backend/src/plugins/chat.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/backend/src/plugins/chat.ts -------------------------------------------------------------------------------- /src/backend/src/plugins/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/backend/src/plugins/config.ts -------------------------------------------------------------------------------- /src/backend/src/plugins/sensible.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/backend/src/plugins/sensible.ts -------------------------------------------------------------------------------- /src/backend/src/routes/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/backend/src/routes/README.md -------------------------------------------------------------------------------- /src/backend/src/routes/root.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/backend/src/routes/root.ts -------------------------------------------------------------------------------- /src/backend/test.http: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/backend/test.http -------------------------------------------------------------------------------- /src/backend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/backend/tsconfig.json -------------------------------------------------------------------------------- /src/frontend/.lintstagedrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/frontend/.lintstagedrc -------------------------------------------------------------------------------- /src/frontend/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/frontend/README.md -------------------------------------------------------------------------------- /src/frontend/assets/lightbulb.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/frontend/assets/lightbulb.svg -------------------------------------------------------------------------------- /src/frontend/assets/new-chat.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/frontend/assets/new-chat.svg -------------------------------------------------------------------------------- /src/frontend/assets/question.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/frontend/assets/question.svg -------------------------------------------------------------------------------- /src/frontend/assets/send.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/frontend/assets/send.svg -------------------------------------------------------------------------------- /src/frontend/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/frontend/index.html -------------------------------------------------------------------------------- /src/frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/frontend/package.json -------------------------------------------------------------------------------- /src/frontend/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/frontend/public/favicon.ico -------------------------------------------------------------------------------- /src/frontend/src/api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/frontend/src/api.ts -------------------------------------------------------------------------------- /src/frontend/src/components/chat.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/frontend/src/components/chat.ts -------------------------------------------------------------------------------- /src/frontend/src/components/debug.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/frontend/src/components/debug.ts -------------------------------------------------------------------------------- /src/frontend/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/frontend/src/index.ts -------------------------------------------------------------------------------- /src/frontend/src/message-parser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/frontend/src/message-parser.ts -------------------------------------------------------------------------------- /src/frontend/src/models.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/frontend/src/models.ts -------------------------------------------------------------------------------- /src/frontend/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /src/frontend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/frontend/tsconfig.json -------------------------------------------------------------------------------- /src/frontend/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/frontend/vite.config.ts -------------------------------------------------------------------------------- /src/indexer/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/indexer/Dockerfile -------------------------------------------------------------------------------- /src/indexer/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/indexer/README.md -------------------------------------------------------------------------------- /src/indexer/bin/index-files.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/indexer/bin/index-files.js -------------------------------------------------------------------------------- /src/indexer/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/indexer/package.json -------------------------------------------------------------------------------- /src/indexer/src/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/indexer/src/app.ts -------------------------------------------------------------------------------- /src/indexer/src/lib/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/indexer/src/lib/cli.ts -------------------------------------------------------------------------------- /src/indexer/src/lib/document-processor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/indexer/src/lib/document-processor.ts -------------------------------------------------------------------------------- /src/indexer/src/lib/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/indexer/src/lib/index.ts -------------------------------------------------------------------------------- /src/indexer/src/lib/indexer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/indexer/src/lib/indexer.ts -------------------------------------------------------------------------------- /src/indexer/src/lib/model-limits.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/indexer/src/lib/model-limits.ts -------------------------------------------------------------------------------- /src/indexer/src/plugins/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/indexer/src/plugins/README.md -------------------------------------------------------------------------------- /src/indexer/src/plugins/azure.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/indexer/src/plugins/azure.ts -------------------------------------------------------------------------------- /src/indexer/src/plugins/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/indexer/src/plugins/config.ts -------------------------------------------------------------------------------- /src/indexer/src/plugins/indexer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/indexer/src/plugins/indexer.ts -------------------------------------------------------------------------------- /src/indexer/src/plugins/multipart.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/indexer/src/plugins/multipart.ts -------------------------------------------------------------------------------- /src/indexer/src/plugins/openai.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/indexer/src/plugins/openai.ts -------------------------------------------------------------------------------- /src/indexer/src/plugins/sensible.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/indexer/src/plugins/sensible.ts -------------------------------------------------------------------------------- /src/indexer/src/routes/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/indexer/src/routes/README.md -------------------------------------------------------------------------------- /src/indexer/src/routes/indexes/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/indexer/src/routes/indexes/index.ts -------------------------------------------------------------------------------- /src/indexer/src/routes/root.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/indexer/src/routes/root.ts -------------------------------------------------------------------------------- /src/indexer/test.http: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/indexer/test.http -------------------------------------------------------------------------------- /src/indexer/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/azure-openai-rag-workshop-template/HEAD/src/indexer/tsconfig.json --------------------------------------------------------------------------------