Handling Multiple Tables with Embeddings in PostgreSQL
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
Hướng nghiên cứu
Bắt đầu với triển khai postgres_searcher hiện có và ví dụ sử dụng bảng Item; issue không xác định đường dẫn tệp hoặc đường dẫn kiểm thử nào. Xác định cách một truy vấn chọn một bảng chứa embedding cho Cars, Bike và dữ liệu quan hệ. Được xem là hoàn thành khi có một ví dụ đa bảng hoạt động hoặc một phương pháp được khuyến nghị được tài liệu hóa.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Python
- Star
- 505
- Fork
- 1.1k
- Merge trung bình
- 3 ngày 13 giờ
- Pull request đã merge (30 ngày)
- 1
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Azure-Samples/rag-postgres-openai-python
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
Azure-Samples/rag-postgres-openai-python#288 · 1 bình luận ·
-
Azure-Samples/rag-postgres-openai-python#273 · 1 người được giao ·
-
Azure-Samples/rag-postgres-openai-python#269 · 1 reaction · 1 người được giao ·
-
Azure-Samples/rag-postgres-openai-python#261 · 1 reaction · 1 người được giao ·
-
Question: Why are you installing `postgres-client` and `xdg-utils` in the backend docker image? Đang mở
Azure-Samples/rag-postgres-openai-python#250 · 4 bình luận · 1 reaction · 1 người được giao ·
Tất cả issue của Azure-Samples/rag-postgres-openai-python
Issue tương tự
-
essnmx good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
-
[Feature] 奇物选择添加优先级 Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
syfoud/Simulated_Scepter#174 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Giskard-AI/giskard-oss#2840 · 1 bình luận ·
-
A claim comment carrying the issue number is silently declined while the workflow reports success Đang mởarea: repo bug perceived difficulty: 2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
yeti-platform/yeti#1380 ·