Skip to content

Commit 27dda9c

Browse files
committed
Update the code
1 parent 15c6d82 commit 27dda9c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

text_2_sql/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ The implementation is written for [Semantic Kernel](https://github.com/microsoft
66

77
The sample provided works with Azure SQL Server, although it has been easily adapted to other SQL sources such as Snowflake.
88

9+
**Two approaches are provided for schema management. A prompt based approach and a vector database based approach. See Multi-Shot Approach for more details**
10+
911
## High Level Workflow
1012

1113
The following diagram shows a workflow for how the Text2SQL plugin would be incorporated into a RAG application. Using the plugins available, alongside the [Function Calling](https://platform.openai.com/docs/guides/function-calling) capabilities of LLMs, the LLM can do [Chain of Thought](https://learn.microsoft.com/en-us/dotnet/ai/conceptual/chain-of-thought-prompting) reasoning to determine the steps needed to answer the question. This allows the LLM to recognise intent and therefore pick appropriate data sources based on the intent of the question.

0 commit comments

Comments
 (0)