├── .gitignore ├── App ├── .env-sample └── rag_chatbot_demo.py ├── Instructions ├── Lab_Instructions.md ├── instructions276019 │ ├── 12-portal-toolbar-cloud-shell.png │ ├── azure-RAG-app.png │ ├── azure-cloud-shell-pane-maximize-new.png │ ├── azure-language-service-keys-and-endpoints.png │ ├── azure-openai-keys-and-endpoints.png │ ├── azure-portal.png │ ├── azure-rag-updated.png │ ├── azure-rag.png │ ├── database_in_azure.png │ ├── database_in_azure_new.png │ ├── new-query-tool.png │ ├── open-cases-database.png │ ├── open-file.png │ ├── pgAdmin-from-azure.png │ ├── postgresql-age-shared-lib.png │ ├── postgresql-cases-database-connect.png │ ├── rag-final-results.png │ ├── select_bash.png │ └── select_storage.png └── instructions282962 │ ├── RAG-app-demo-graph-icon.png │ ├── RAG-app-demo-recall-graph.png │ ├── azure-RAG-app-demo.png │ ├── azure-openai-keys-and-endpoints.png │ ├── graphrag-diagram.png │ ├── graphrag-postgres-architecture.png │ ├── new-rag-diagram.png │ ├── selectGraphRAG.png │ ├── selectReranker.png │ └── semantic-ranking-solution-postgres-on-azure.png ├── README.md ├── Setup ├── Data │ ├── 1_vector_search_result.csv │ ├── 2_reranker_search_result.csv │ ├── 3_graph_search_result.csv │ └── cases.csv ├── Infra │ ├── deploy.bicep │ └── setup.sh └── SQLScript │ ├── graph_query.sql │ ├── graph_setup.sql │ ├── initialize_dataset.sql │ ├── other_queries.sql │ ├── reranker_query.sql │ ├── setup_cases_data.sql │ ├── using_diskann.sql │ └── vector_search.sql └── requirements.txt /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/.gitignore -------------------------------------------------------------------------------- /App/.env-sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/App/.env-sample -------------------------------------------------------------------------------- /App/rag_chatbot_demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/App/rag_chatbot_demo.py -------------------------------------------------------------------------------- /Instructions/Lab_Instructions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/Instructions/Lab_Instructions.md -------------------------------------------------------------------------------- /Instructions/instructions276019/12-portal-toolbar-cloud-shell.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/Instructions/instructions276019/12-portal-toolbar-cloud-shell.png -------------------------------------------------------------------------------- /Instructions/instructions276019/azure-RAG-app.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/Instructions/instructions276019/azure-RAG-app.png -------------------------------------------------------------------------------- /Instructions/instructions276019/azure-cloud-shell-pane-maximize-new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/Instructions/instructions276019/azure-cloud-shell-pane-maximize-new.png -------------------------------------------------------------------------------- /Instructions/instructions276019/azure-language-service-keys-and-endpoints.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/Instructions/instructions276019/azure-language-service-keys-and-endpoints.png -------------------------------------------------------------------------------- /Instructions/instructions276019/azure-openai-keys-and-endpoints.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/Instructions/instructions276019/azure-openai-keys-and-endpoints.png -------------------------------------------------------------------------------- /Instructions/instructions276019/azure-portal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/Instructions/instructions276019/azure-portal.png -------------------------------------------------------------------------------- /Instructions/instructions276019/azure-rag-updated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/Instructions/instructions276019/azure-rag-updated.png -------------------------------------------------------------------------------- /Instructions/instructions276019/azure-rag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/Instructions/instructions276019/azure-rag.png -------------------------------------------------------------------------------- /Instructions/instructions276019/database_in_azure.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/Instructions/instructions276019/database_in_azure.png -------------------------------------------------------------------------------- /Instructions/instructions276019/database_in_azure_new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/Instructions/instructions276019/database_in_azure_new.png -------------------------------------------------------------------------------- /Instructions/instructions276019/new-query-tool.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/Instructions/instructions276019/new-query-tool.png -------------------------------------------------------------------------------- /Instructions/instructions276019/open-cases-database.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/Instructions/instructions276019/open-cases-database.png -------------------------------------------------------------------------------- /Instructions/instructions276019/open-file.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/Instructions/instructions276019/open-file.png -------------------------------------------------------------------------------- /Instructions/instructions276019/pgAdmin-from-azure.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/Instructions/instructions276019/pgAdmin-from-azure.png -------------------------------------------------------------------------------- /Instructions/instructions276019/postgresql-age-shared-lib.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/Instructions/instructions276019/postgresql-age-shared-lib.png -------------------------------------------------------------------------------- /Instructions/instructions276019/postgresql-cases-database-connect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/Instructions/instructions276019/postgresql-cases-database-connect.png -------------------------------------------------------------------------------- /Instructions/instructions276019/rag-final-results.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/Instructions/instructions276019/rag-final-results.png -------------------------------------------------------------------------------- /Instructions/instructions276019/select_bash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/Instructions/instructions276019/select_bash.png -------------------------------------------------------------------------------- /Instructions/instructions276019/select_storage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/Instructions/instructions276019/select_storage.png -------------------------------------------------------------------------------- /Instructions/instructions282962/RAG-app-demo-graph-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/Instructions/instructions282962/RAG-app-demo-graph-icon.png -------------------------------------------------------------------------------- /Instructions/instructions282962/RAG-app-demo-recall-graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/Instructions/instructions282962/RAG-app-demo-recall-graph.png -------------------------------------------------------------------------------- /Instructions/instructions282962/azure-RAG-app-demo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/Instructions/instructions282962/azure-RAG-app-demo.png -------------------------------------------------------------------------------- /Instructions/instructions282962/azure-openai-keys-and-endpoints.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/Instructions/instructions282962/azure-openai-keys-and-endpoints.png -------------------------------------------------------------------------------- /Instructions/instructions282962/graphrag-diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/Instructions/instructions282962/graphrag-diagram.png -------------------------------------------------------------------------------- /Instructions/instructions282962/graphrag-postgres-architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/Instructions/instructions282962/graphrag-postgres-architecture.png -------------------------------------------------------------------------------- /Instructions/instructions282962/new-rag-diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/Instructions/instructions282962/new-rag-diagram.png -------------------------------------------------------------------------------- /Instructions/instructions282962/selectGraphRAG.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/Instructions/instructions282962/selectGraphRAG.png -------------------------------------------------------------------------------- /Instructions/instructions282962/selectReranker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/Instructions/instructions282962/selectReranker.png -------------------------------------------------------------------------------- /Instructions/instructions282962/semantic-ranking-solution-postgres-on-azure.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/Instructions/instructions282962/semantic-ranking-solution-postgres-on-azure.png -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/README.md -------------------------------------------------------------------------------- /Setup/Data/1_vector_search_result.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/Setup/Data/1_vector_search_result.csv -------------------------------------------------------------------------------- /Setup/Data/2_reranker_search_result.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/Setup/Data/2_reranker_search_result.csv -------------------------------------------------------------------------------- /Setup/Data/3_graph_search_result.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/Setup/Data/3_graph_search_result.csv -------------------------------------------------------------------------------- /Setup/Data/cases.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/Setup/Data/cases.csv -------------------------------------------------------------------------------- /Setup/Infra/deploy.bicep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/Setup/Infra/deploy.bicep -------------------------------------------------------------------------------- /Setup/Infra/setup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/Setup/Infra/setup.sh -------------------------------------------------------------------------------- /Setup/SQLScript/graph_query.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/Setup/SQLScript/graph_query.sql -------------------------------------------------------------------------------- /Setup/SQLScript/graph_setup.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/Setup/SQLScript/graph_setup.sql -------------------------------------------------------------------------------- /Setup/SQLScript/initialize_dataset.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/Setup/SQLScript/initialize_dataset.sql -------------------------------------------------------------------------------- /Setup/SQLScript/other_queries.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/Setup/SQLScript/other_queries.sql -------------------------------------------------------------------------------- /Setup/SQLScript/reranker_query.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/Setup/SQLScript/reranker_query.sql -------------------------------------------------------------------------------- /Setup/SQLScript/setup_cases_data.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/Setup/SQLScript/setup_cases_data.sql -------------------------------------------------------------------------------- /Setup/SQLScript/using_diskann.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/Setup/SQLScript/using_diskann.sql -------------------------------------------------------------------------------- /Setup/SQLScript/vector_search.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/Setup/SQLScript/vector_search.sql -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/mslearn-pg-ai/HEAD/requirements.txt --------------------------------------------------------------------------------