-
Notifications
You must be signed in to change notification settings - Fork 839
docs(weekly): add this week in databend 88 #10990
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Chojan Shang <psiace@outlook.com>
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Signed-off-by: Chojan Shang <psiace@outlook.com>
|
|
||
| ### Support Eager Aggregation | ||
|
|
||
| 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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Eager aggregation helps improve ...
|
|
||
| ### databend-driver - A driver for Databend in Rust | ||
|
|
||
| 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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Databend community has crafted a Rust driver that allows developers to connect to Databend and execute SQL queries in Rust.
| conn.exec(sql_insert).await.unwrap(); | ||
| ``` | ||
|
|
||
| Welcome to try it out and give us feedback. If you want to learn more information, you can also follow the resources listed below. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feel free to try it out.... . For more information, follow the resources...
|
|
||
| AskBend is a Rust project that utilizes the power of Databend and OpenAI to create a SQL-based knowledge base from Markdown files. | ||
|
|
||
| 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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
|
|
||
| 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. | ||
|
|
||
| Here's how it works: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How it works:
| 1. Read and parse Markdown files from a directory. | ||
| 2. Store the content in the `askbend.doc` table. | ||
| 3. Compute embeddings for the content using Databend Cloud's built-in AI capabilities. | ||
| 4. When a user queries, generate the query embedding using Databend Cloud's SQL-based `ai_embedding_vector` function. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Query means SQL query? otherwise, pls use "When a users asks a question, ...."
| 3. Compute embeddings for the content using Databend Cloud's built-in AI capabilities. | ||
| 4. When a user queries, generate the query embedding using Databend Cloud's SQL-based `ai_embedding_vector` function. | ||
| 5. Find the most relevant doc.content using Databend Cloud's SQL-based `cosine_distance` function. | ||
| 6. Use OpenAI's completion capabilities with Databend Cloud's SQL-based `ai_text_completion` function |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing a period (.) at the end.
I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/
Summary
Summary about this PR
Closes #issue