├── .gitignore ├── CONTRIBUTING ├── LICENSE ├── README.md ├── README_en.md ├── assets ├── approach.pptx ├── chat-sample.png ├── overview_en.png ├── overview_ja.png ├── permission-sample.png ├── sequence_en.png └── sequence_ja.png └── src ├── backend ├── .env-sample ├── app.py ├── approaches │ ├── __init__.py │ ├── approach.py │ └── chatreadretrieveread.py ├── core │ ├── __init__.py │ ├── authentication.py │ ├── graphclientbuilder.py │ ├── messagebuilder.py │ └── modelhelper.py ├── gunicorn.conf.py ├── main.py ├── requirements.in ├── requirements.txt └── text.py └── frontend ├── .vite └── deps_temp_2b074880 │ └── package.json ├── index.html ├── package-lock.json ├── package.json ├── public └── favicon.ico ├── src ├── api │ ├── api.ts │ ├── index.ts │ └── models.ts ├── assets │ ├── github.svg │ └── search.svg ├── authConfig.ts ├── components │ ├── AnalysisPanel │ │ ├── AnalysisPanel.module.css │ │ ├── AnalysisPanel.tsx │ │ ├── AnalysisPanelTabs.tsx │ │ └── index.tsx │ ├── Answer │ │ ├── Answer.module.css │ │ ├── Answer.tsx │ │ ├── AnswerError.tsx │ │ ├── AnswerIcon.tsx │ │ ├── AnswerLoading.tsx │ │ ├── AnswerParser.tsx │ │ └── index.ts │ ├── ClearChatButton │ │ ├── ClearChatButton.module.css │ │ ├── ClearChatButton.tsx │ │ └── index.tsx │ ├── Example │ │ ├── Example.module.css │ │ ├── Example.tsx │ │ ├── ExampleList.tsx │ │ └── index.tsx │ ├── LoginButton │ │ ├── LoginButton.module.css │ │ ├── LoginButton.tsx │ │ └── index.tsx │ ├── QuestionInput │ │ ├── QuestionInput.module.css │ │ ├── QuestionInput.tsx │ │ └── index.ts │ ├── SettingsButton │ │ ├── SettingsButton.module.css │ │ ├── SettingsButton.tsx │ │ └── index.tsx │ ├── SupportingContent │ │ ├── SupportingContent.module.css │ │ ├── SupportingContent.tsx │ │ ├── SupportingContentParser.ts │ │ └── index.ts │ ├── TokenClaimsDisplay │ │ ├── TokenClaimsDisplay.tsx │ │ └── index.tsx │ └── UserChatMessage │ │ ├── UserChatMessage.module.css │ │ ├── UserChatMessage.tsx │ │ └── index.ts ├── index.css ├── index.tsx ├── pages │ ├── NoPage.tsx │ ├── chat │ │ ├── Chat.module.css │ │ └── Chat.tsx │ └── layout │ │ ├── Layout.module.css │ │ └── Layout.tsx └── vite-env.d.ts ├── tsconfig.json └── vite.config.ts /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/.gitignore -------------------------------------------------------------------------------- /CONTRIBUTING: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/CONTRIBUTING -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/README.md -------------------------------------------------------------------------------- /README_en.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/README_en.md -------------------------------------------------------------------------------- /assets/approach.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/assets/approach.pptx -------------------------------------------------------------------------------- /assets/chat-sample.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/assets/chat-sample.png -------------------------------------------------------------------------------- /assets/overview_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/assets/overview_en.png -------------------------------------------------------------------------------- /assets/overview_ja.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/assets/overview_ja.png -------------------------------------------------------------------------------- /assets/permission-sample.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/assets/permission-sample.png -------------------------------------------------------------------------------- /assets/sequence_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/assets/sequence_en.png -------------------------------------------------------------------------------- /assets/sequence_ja.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/assets/sequence_ja.png -------------------------------------------------------------------------------- /src/backend/.env-sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/backend/.env-sample -------------------------------------------------------------------------------- /src/backend/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/backend/app.py -------------------------------------------------------------------------------- /src/backend/approaches/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/backend/approaches/approach.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/backend/approaches/approach.py -------------------------------------------------------------------------------- /src/backend/approaches/chatreadretrieveread.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/backend/approaches/chatreadretrieveread.py -------------------------------------------------------------------------------- /src/backend/core/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/backend/core/authentication.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/backend/core/authentication.py -------------------------------------------------------------------------------- /src/backend/core/graphclientbuilder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/backend/core/graphclientbuilder.py -------------------------------------------------------------------------------- /src/backend/core/messagebuilder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/backend/core/messagebuilder.py -------------------------------------------------------------------------------- /src/backend/core/modelhelper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/backend/core/modelhelper.py -------------------------------------------------------------------------------- /src/backend/gunicorn.conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/backend/gunicorn.conf.py -------------------------------------------------------------------------------- /src/backend/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/backend/main.py -------------------------------------------------------------------------------- /src/backend/requirements.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/backend/requirements.in -------------------------------------------------------------------------------- /src/backend/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/backend/requirements.txt -------------------------------------------------------------------------------- /src/backend/text.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/backend/text.py -------------------------------------------------------------------------------- /src/frontend/.vite/deps_temp_2b074880/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "module" 3 | } 4 | -------------------------------------------------------------------------------- /src/frontend/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/index.html -------------------------------------------------------------------------------- /src/frontend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/package-lock.json -------------------------------------------------------------------------------- /src/frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/package.json -------------------------------------------------------------------------------- /src/frontend/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/public/favicon.ico -------------------------------------------------------------------------------- /src/frontend/src/api/api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/src/api/api.ts -------------------------------------------------------------------------------- /src/frontend/src/api/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/src/api/index.ts -------------------------------------------------------------------------------- /src/frontend/src/api/models.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/src/api/models.ts -------------------------------------------------------------------------------- /src/frontend/src/assets/github.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/src/assets/github.svg -------------------------------------------------------------------------------- /src/frontend/src/assets/search.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/src/assets/search.svg -------------------------------------------------------------------------------- /src/frontend/src/authConfig.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/src/authConfig.ts -------------------------------------------------------------------------------- /src/frontend/src/components/AnalysisPanel/AnalysisPanel.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/src/components/AnalysisPanel/AnalysisPanel.module.css -------------------------------------------------------------------------------- /src/frontend/src/components/AnalysisPanel/AnalysisPanel.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/src/components/AnalysisPanel/AnalysisPanel.tsx -------------------------------------------------------------------------------- /src/frontend/src/components/AnalysisPanel/AnalysisPanelTabs.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/src/components/AnalysisPanel/AnalysisPanelTabs.tsx -------------------------------------------------------------------------------- /src/frontend/src/components/AnalysisPanel/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/src/components/AnalysisPanel/index.tsx -------------------------------------------------------------------------------- /src/frontend/src/components/Answer/Answer.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/src/components/Answer/Answer.module.css -------------------------------------------------------------------------------- /src/frontend/src/components/Answer/Answer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/src/components/Answer/Answer.tsx -------------------------------------------------------------------------------- /src/frontend/src/components/Answer/AnswerError.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/src/components/Answer/AnswerError.tsx -------------------------------------------------------------------------------- /src/frontend/src/components/Answer/AnswerIcon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/src/components/Answer/AnswerIcon.tsx -------------------------------------------------------------------------------- /src/frontend/src/components/Answer/AnswerLoading.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/src/components/Answer/AnswerLoading.tsx -------------------------------------------------------------------------------- /src/frontend/src/components/Answer/AnswerParser.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/src/components/Answer/AnswerParser.tsx -------------------------------------------------------------------------------- /src/frontend/src/components/Answer/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/src/components/Answer/index.ts -------------------------------------------------------------------------------- /src/frontend/src/components/ClearChatButton/ClearChatButton.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/src/components/ClearChatButton/ClearChatButton.module.css -------------------------------------------------------------------------------- /src/frontend/src/components/ClearChatButton/ClearChatButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/src/components/ClearChatButton/ClearChatButton.tsx -------------------------------------------------------------------------------- /src/frontend/src/components/ClearChatButton/index.tsx: -------------------------------------------------------------------------------- 1 | export * from "./ClearChatButton"; 2 | -------------------------------------------------------------------------------- /src/frontend/src/components/Example/Example.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/src/components/Example/Example.module.css -------------------------------------------------------------------------------- /src/frontend/src/components/Example/Example.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/src/components/Example/Example.tsx -------------------------------------------------------------------------------- /src/frontend/src/components/Example/ExampleList.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/src/components/Example/ExampleList.tsx -------------------------------------------------------------------------------- /src/frontend/src/components/Example/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/src/components/Example/index.tsx -------------------------------------------------------------------------------- /src/frontend/src/components/LoginButton/LoginButton.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/src/components/LoginButton/LoginButton.module.css -------------------------------------------------------------------------------- /src/frontend/src/components/LoginButton/LoginButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/src/components/LoginButton/LoginButton.tsx -------------------------------------------------------------------------------- /src/frontend/src/components/LoginButton/index.tsx: -------------------------------------------------------------------------------- 1 | export * from "./LoginButton" 2 | -------------------------------------------------------------------------------- /src/frontend/src/components/QuestionInput/QuestionInput.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/src/components/QuestionInput/QuestionInput.module.css -------------------------------------------------------------------------------- /src/frontend/src/components/QuestionInput/QuestionInput.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/src/components/QuestionInput/QuestionInput.tsx -------------------------------------------------------------------------------- /src/frontend/src/components/QuestionInput/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./QuestionInput"; 2 | -------------------------------------------------------------------------------- /src/frontend/src/components/SettingsButton/SettingsButton.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/src/components/SettingsButton/SettingsButton.module.css -------------------------------------------------------------------------------- /src/frontend/src/components/SettingsButton/SettingsButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/src/components/SettingsButton/SettingsButton.tsx -------------------------------------------------------------------------------- /src/frontend/src/components/SettingsButton/index.tsx: -------------------------------------------------------------------------------- 1 | export * from "./SettingsButton"; 2 | -------------------------------------------------------------------------------- /src/frontend/src/components/SupportingContent/SupportingContent.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/src/components/SupportingContent/SupportingContent.module.css -------------------------------------------------------------------------------- /src/frontend/src/components/SupportingContent/SupportingContent.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/src/components/SupportingContent/SupportingContent.tsx -------------------------------------------------------------------------------- /src/frontend/src/components/SupportingContent/SupportingContentParser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/src/components/SupportingContent/SupportingContentParser.ts -------------------------------------------------------------------------------- /src/frontend/src/components/SupportingContent/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./SupportingContent"; 2 | -------------------------------------------------------------------------------- /src/frontend/src/components/TokenClaimsDisplay/TokenClaimsDisplay.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/src/components/TokenClaimsDisplay/TokenClaimsDisplay.tsx -------------------------------------------------------------------------------- /src/frontend/src/components/TokenClaimsDisplay/index.tsx: -------------------------------------------------------------------------------- 1 | export * from './TokenClaimsDisplay' -------------------------------------------------------------------------------- /src/frontend/src/components/UserChatMessage/UserChatMessage.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/src/components/UserChatMessage/UserChatMessage.module.css -------------------------------------------------------------------------------- /src/frontend/src/components/UserChatMessage/UserChatMessage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/src/components/UserChatMessage/UserChatMessage.tsx -------------------------------------------------------------------------------- /src/frontend/src/components/UserChatMessage/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./UserChatMessage"; 2 | -------------------------------------------------------------------------------- /src/frontend/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/src/index.css -------------------------------------------------------------------------------- /src/frontend/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/src/index.tsx -------------------------------------------------------------------------------- /src/frontend/src/pages/NoPage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/src/pages/NoPage.tsx -------------------------------------------------------------------------------- /src/frontend/src/pages/chat/Chat.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/src/pages/chat/Chat.module.css -------------------------------------------------------------------------------- /src/frontend/src/pages/chat/Chat.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/src/pages/chat/Chat.tsx -------------------------------------------------------------------------------- /src/frontend/src/pages/layout/Layout.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/src/pages/layout/Layout.module.css -------------------------------------------------------------------------------- /src/frontend/src/pages/layout/Layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/src/pages/layout/Layout.tsx -------------------------------------------------------------------------------- /src/frontend/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /src/frontend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/tsconfig.json -------------------------------------------------------------------------------- /src/frontend/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/07JP27/azureopenai-internal-microsoft-search/HEAD/src/frontend/vite.config.ts --------------------------------------------------------------------------------