Handling Multiple Tables with Embeddings in PostgreSQL
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
調査の方向性
既存の postgres_searcher 実装と Item テーブルを使用する例から始めます。issue ではファイルまたはテストのパスは特定されていません。クエリが Cars、Bike、およびリレーショナルデータ用の embedding を持つテーブルをどのように選択するかを把握します。完了条件は、動作するマルチテーブルの例、または推奨されるアプローチの文書化です。
索引モデルが issue の本文から書いたものです。
説明
Hello,
I am Rahul, and we are currently facing an issue with our postgres_searcher implementation.
Our requirement is as follows:
We have multiple tables in our database, and we want to integrate all of them for search. In the given example, only the Item table is used, and when a query is asked, the system fetches records only from that single table based on the embeddings.
However, in our case, we have multiple tables such as Cars, Bike, and some relational tables (all of which include embedding columns). What we want is:
When we ask a Cars-related question, the system should fetch data from the Cars table.
When we ask a Bike-related question, the system should fetch data from the Bike table.
When we ask about relational data, the system should fetch from the respective relation table.
We are looking for an example that demonstrates this kind of implementation. Additionally, if there is a better approach to handle such scenarios, we would appreciate your suggestions.
Thanks,
Rahul
- 主要言語
- Python
- スター
- 505
- フォーク
- 1.1k
- 平均マージ
- 3日 13時間
- マージ済み PR(30日)
- 1
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Azure-Samples/rag-postgres-openai-python のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
Azure-Samples/rag-postgres-openai-python#288 · コメント 1 件 ·
-
Azure-Samples/rag-postgres-openai-python#273 · 担当者 1 名 ·
-
Azure-Samples/rag-postgres-openai-python#269 · リアクション 1 件 · 担当者 1 名 ·
-
Azure-Samples/rag-postgres-openai-python#261 · リアクション 1 件 · 担当者 1 名 ·
-
Question: Why are you installing `postgres-client` and `xdg-utils` in the backend docker image? オープン
Azure-Samples/rag-postgres-openai-python#250 · コメント 4 件 · リアクション 1 件 · 担当者 1 名 ·
Azure-Samples/rag-postgres-openai-python の issue をすべて見る
似ている issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
canonical/paas-charm#368 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
tech debt
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
StevenBlack/hosts#3256 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
qualcomm/qai-appbuilder#275 ·