Skip to content

Commit a0b4586

Browse files
PsiACEmergify[bot]
andauthored
docs(weekly): improve according to eric's comments (#10994)
Signed-off-by: Chojan Shang <[email protected]> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
1 parent 83a6547 commit a0b4586

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

website/blog/2023-04-08-databend-weekly-88.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Stay connected with the latest news about Databend.
4141

4242
### Support Eager Aggregation
4343

44-
Eager aggregation is a technique that can help improve the performance of queries that involve grouping and joining data. It works by partially pushing a groupby past a join, which reduces the number of input rows to the join and may result in a better overall plan.
44+
Eager aggregation helps improve the performance of queries that involve grouping and joining data. It works by partially pushing a groupby past a join, which reduces the number of input rows to the join and may result in a better overall plan.
4545

4646
Databend recently added support for Eager aggregation. Here is an example of how it works.
4747

@@ -100,7 +100,7 @@ Discover some fascinating code snippets or projects that showcase our work or le
100100

101101
### databend-driver - A driver for Databend in Rust
102102

103-
The Databend community has developed a driver for Databend in Rust. It allows developers to easily connect to Databend and execute SQL queries using Rust.
103+
The Databend community has crafted a Rust driver that allows developers to connect to Databend and execute SQL queries in Rust.
104104

105105
Here's an example of how to use the driver:
106106

@@ -120,7 +120,7 @@ let sql_insert = "INSERT INTO books VALUES ('The Little Prince', 'Antoine de Sai
120120
conn.exec(sql_insert).await.unwrap();
121121
```
122122

123-
Welcome to try it out and give us feedback. If you want to learn more information, you can also follow the resources listed below.
123+
Feel free to try it out and give us feedback. For more information, follow the resources listed below.
124124

125125
- [Crates.io - databend-driver](https://crates.io/crates/databend-driver)
126126
- [Github - datafuselabs/databend-client](https://github.com/datafuselabs/databend-client)
@@ -129,16 +129,16 @@ Welcome to try it out and give us feedback. If you want to learn more informatio
129129

130130
AskBend is a Rust project that utilizes the power of Databend and OpenAI to create a SQL-based knowledge base from Markdown files.
131131

132-
With AskBend, you can easily search and retrieve the most relevant information to your queries using SQL. The project automatically generates document embeddings from the content, enabling users to quickly find the information they need.
132+
With AskBend, you can easily search and retrieve the most relevant information to your queries using SQL. The project automatically generates document embeddings from the content, enabling you to quickly find the information you need.
133133

134-
Here's how it works:
134+
How it works:
135135

136136
1. Read and parse Markdown files from a directory.
137137
2. Store the content in the `askbend.doc` table.
138138
3. Compute embeddings for the content using Databend Cloud's built-in AI capabilities.
139-
4. When a user queries, generate the query embedding using Databend Cloud's SQL-based `ai_embedding_vector` function.
139+
4. When a users asks a question, generate the embedding using Databend Cloud's SQL-based `ai_embedding_vector` function.
140140
5. Find the most relevant doc.content using Databend Cloud's SQL-based `cosine_distance` function.
141-
6. Use OpenAI's completion capabilities with Databend Cloud's SQL-based `ai_text_completion` function
141+
6. Use OpenAI's completion capabilities with Databend Cloud's SQL-based `ai_text_completion` function.
142142
7. Output the completion result in Markdown format.
143143

144144
If you want to learn more about AskBend or try out the existing live demo, you can refer to the resources listed below:

0 commit comments

Comments
 (0)