Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Handling Multiple Tables with Embeddings in PostgreSQL

Aperta
#259 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
postgresql, python
Ambito
ai, databases

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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Azure-Samples/rag-postgres-openai-python

Tutte le issue di Azure-Samples/rag-postgres-openai-python

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.