Handling Multiple Tables with Embeddings in PostgreSQL
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
Direzione di ricerca
Inizia con l’implementazione esistente di postgres_searcher e con l’esempio che utilizza la tabella Item; nell’issue non è indicato alcun percorso di file o di test. Determina come una query seleziona una tabella contenente embedding per Cars, Bike e i dati relazionali. Il lavoro è completato quando è disponibile un esempio funzionante con più tabelle o un approccio consigliato documentato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Python
- Stelle
- 505
- Fork
- 1.1k
- Merge medio
- 3g 13h
- PR unite (30g)
- 1
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Azure-Samples/rag-postgres-openai-python
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
Azure-Samples/rag-postgres-openai-python#288 · 1 commento ·
-
Azure-Samples/rag-postgres-openai-python#273 · 1 assegnatario ·
-
Azure-Samples/rag-postgres-openai-python#269 · 1 reazione · 1 assegnatario ·
-
Azure-Samples/rag-postgres-openai-python#261 · 1 reazione · 1 assegnatario ·
-
Question: Why are you installing `postgres-client` and `xdg-utils` in the backend docker image? Aperta
Azure-Samples/rag-postgres-openai-python#250 · 4 commenti · 1 reazione · 1 assegnatario ·
Tutte le issue di Azure-Samples/rag-postgres-openai-python
Issue simili
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
canonical/paas-charm#368 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
tech debt
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
addition to tracking list Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
StevenBlack/hosts#3256 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
qualcomm/qai-appbuilder#275 ·