Skip to content

Commit df24227

Browse files
authored
Fixed typo in ai-sql-accuracy-2023-08-17.md
The relevance search is depicted in a green box, not a red box.
1 parent c21d8bf commit df24227

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

papers/ai-sql-accuracy-2023-08-17.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ By providing just those 3 example queries, we see substantial improvements to th
229229

230230
Enterprise data warehouses often contain 100s (or even 1000s) of tables, and an order of magnitude more queries that cover all the use cases within their organizations. Given the limited size of the context windows of modern LLMs, we can’t just shove all the prior queries and schema definitions into the prompt.
231231

232-
Our final approach to context is a more sophisticated ML approach - load embeddings of prior queries and the table schemas into a vector database, and only choose the most relevant queries / tables to the question asked. Here's a diagram of what we are doing - note the contextual relevance search in the red box -
232+
Our final approach to context is a more sophisticated ML approach - load embeddings of prior queries and the table schemas into a vector database, and only choose the most relevant queries / tables to the question asked. Here's a diagram of what we are doing - note the contextual relevance search in the green box -
233233

234234
![](https://raw.githubusercontent.com/vanna-ai/vanna/main/papers/img/using-contextually-relevant-examples.png)
235235

0 commit comments

Comments
 (0)