From 9eaed9176c26102ddd8995bfb34893777c5a3dce Mon Sep 17 00:00:00 2001
From: Marco Minerva
Date: Tue, 24 Jun 2025 14:33:43 +0200
Subject: [PATCH] Enhance application description and user guidance
Updated `Home.razor` to provide a more detailed overview of the application's capabilities, including document loading, embedding generation, and semantic search. Improved clarity in the supported features section and added a new feature for citations. Included new paragraphs to encourage user interaction and referenced the README for API usage details.
---
.../Components/Pages/Home.razor | 36 ++++++++++++++-----
1 file changed, 27 insertions(+), 9 deletions(-)
diff --git a/SqlDatabaseVectorSearch/Components/Pages/Home.razor b/SqlDatabaseVectorSearch/Components/Pages/Home.razor
index faf2b04..a120b40 100644
--- a/SqlDatabaseVectorSearch/Components/Pages/Home.razor
+++ b/SqlDatabaseVectorSearch/Components/Pages/Home.razor
@@ -4,16 +4,34 @@
SQL Database Vector Search
SQL Database Vector Search
-
- How to use the native VECTOR type in
Azure SQL Database to perform embeddings and RAG with
Azure OpenAI.
-
-
- This application allows to load documents, generate embeddings and save them into the database as Vectors, and perform searches using Vector Search and RAG. Currently, PDF, DOCX, TXT and MD files are supported. Vectors are saved and retrieved with Entity Framework Core using the EFCore.SqlServer.VectorSearch library. Embedding and Chat Completion are integrated with Semantic Kernel.
+
+
+ A Blazor Web App and Minimal API for Retrieval Augmented Generation (RAG) and vector search using the native VECTOR type in
Azure SQL Database with
Azure OpenAI.
-Supported features
+
+ This application allows you to:
+
+ - Load documents (PDF, DOCX, TXT, MD)
+ - Generate embeddings and save them as vectors in Azure SQL Database
+ - Perform semantic search and RAG using Azure OpenAI
+ - Interact via a Blazor Web App or programmatically via Minimal API
+
+ Embeddings and chat completion are powered by Semantic Kernel. Vectors are managed with EFCore.SqlServer.VectorSearch.
+
+
+Supported Features
- - Conversation History with Question Reformulation: This feature allows users to view the history of their conversations, including the ability to reformulate questions for better clarity and understanding. This ensures that users can track their interactions and refine their queries as needed.
- - Information about Token Usage: Users can access detailed information about token usage, which helps in understanding the consumption of tokens during interactions. This feature provides transparency and helps users manage their token usage effectively.
- - Response Streaming: This feature enables real-time streaming of responses, allowing users to receive information as it is being processed. This ensures a seamless and efficient flow of information, enhancing the overall user experience.
+ - Conversation History with Question Reformulation: View and reformulate your conversation history for better clarity and understanding.
+ - Information about Token Usage: Access detailed information about token usage for transparency and management.
+ - Response Streaming: Receive real-time streaming of responses for a seamless and efficient user experience.
+ - Citations: Get citations for the sources used to justify each answer, allowing you to verify and understand the origin of the content.
+
+
+ Try uploading a document or ask a question to get started!
+
+
+
+ For API usage and more details, see the README.
+