You can improve your NL2SQL model's accuracy by using a hybrid approach: embedding-based column mapping (vector search) to dynamically match user queries to relevant table columns, fuzzy matching (e.g., rapidfuzz) as a fallback for quick similarity checks, and schema-aware prompting to structure queries without explicitly listing all columns. If high accuracy is needed, consider fine-tuning an NL2SQL model on your schema. This approach balances scalability and precision. Hope this helps!
Okay, what can I expect in the results after implementing each of these? Has your implementation lead to a significant increase in accuracy ? Can you please quote your accuracy before and after this implementations? Thanks
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |