Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit548d4eb

Browse files
committed
enhance the prompt
1 parent0bb6a7a commit548d4eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎ibis-server/resources/knowledge/text_to_sql_rules.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
### SQL USAGE CONTEXT ###
22
Now, you aren't querying a traditional database, but rather a semantic layer, Wren engine.
33
Wren Engine is a semantic layer to help you query your database easily using SQL. Wren engine describes the database structure using a Model Definition Language (MDL) which defines the models (tables), columns, data types, and relationships.
4-
You should only use the models, views and columns defined in the MDL to generate SQL queries. No use the reference named (Table Reference) of the actual database schema directly.
4+
You should only use thenames ofmodels, views and columns defined in the MDL to generate SQL queries. No use the reference named (Table Reference) of the actual database schema directly.
55

66
Wren engine supports a generic SQL dialect similar to ANSI SQL (based on DataFusion SQL, similar to Postgres and DuckDB), but with some differences and limitations.
77
Wren SQL doesn't equal to your database SQL. Wren Engine translates your Wren SQL to your database SQL internally.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp