Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

Handling Multiple Tables with Embeddings in PostgreSQL

Aberta
#259 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
25/100
Tipo de issue
Funcionalidade
Clareza
Precisa de esclarecimento
Status de atividade
Estagnada
Stack de tecnologia
postgresql, python
Domínio
ai, databases

Direção de pesquisa

Comece com a implementação existente de postgres_searcher e o exemplo usando a tabela Item; nenhum caminho de arquivo ou teste é identificado na issue. Mapeie como uma consulta seleciona uma tabela que contém embeddings para Cars, Bike e dados relacionais. Considera-se concluído quando houver um exemplo funcional com várias tabelas ou uma abordagem recomendada documentada.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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

Linguagem predominante
Python
Estrelas
505
Forks
1.1k
Merge médio
13min
PRs com merge (30d)
1

Preparar o ambiente

Abrir no Codespaces

Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de Azure-Samples/rag-postgres-openai-python

Todas as issues de Azure-Samples/rag-postgres-openai-python

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.