dbeaver / dbeaver/dbeaver

AI Smart Assistant - Retrieval Augmented Generation

Open
#22,366 2 comments 0 reactions 1 assignee Claimed by @Destrolaric View on GitHub
wait for votes xd:complex xf:ai
Dominant language
Java
Stars
51.8k
Forks
4.4k
Avg merge
3d 8h
Merged PRs (30d)
188

Description

**Is your feature request related to a problem? Please describe.**
Currently, which part of the database objects needs to be sent as part of the AI prompt is to be selected manually by the user.

**Describe the solution you'd like**
Store the database metadata in a vector database and query it to find tables relevant to the user's request automatically. Then add only the relevant objects to the prompt instead of all of them (or requiring the user to explicitly decide which are relevant)

**Describe alternatives you've considered**
n/a

**Additional context**
Here is an example of a tool doing something similar for code https://tabby.tabbyml.com/docs/getting-started
Toolchain for interacting with AI in java (including creating embeddings from data and querying it) https://github.com/langchain4j/langchain4j
Some more information about RAG from the langchain project, which inspired the creation of langchain4j
https://python.langchain.com/docs/modules/data_connection/

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.