Skip to content

Commit d668a68

Browse files
authored
Update README.md
1 parent 6773bd8 commit d668a68

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# ChatWithSQL
22

3-
ChatWithSQL is a Python library to manage interaction between a Large Language Model (LLM) and an SQL database.
3+
One of the major risks associated with Text-to-SQL systems is the potential for executing arbitrary SQL queries, which can lead to unauthorized data access or security breaches. Common mitigations include using restricted roles, read-only databases, and sandboxed environments. However, ChatWithSQL takes this one step further.
4+
5+
ChatWithSQL has implemented a schema-based validation approach to ensure that only SQL queries adhering to a predefined schema are generated and executed. This mechanism restricts the scope of data retrieval strictly within the defined parameters, effectively mitigating the risks of arbitrary or malicious queries. Each query is validated against the schema before execution, guaranteeing compliance and eliminating unauthorized access.
6+
7+
This unique approach positions ChatWithSQL as a leader in secure and reliable, natural language-driven SQL data retrieval.
48

59
## Installation
610

@@ -28,4 +32,4 @@ print(data)
2832
```
2933

3034
## License
31-
MIT License
35+
MIT License

0 commit comments

Comments
 (0)