Handling Multiple Tables with Embeddings in PostgreSQL
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Facilidade para iniciantes
- 25/100
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
Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de Azure-Samples/rag-postgres-openai-python
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 35/100
Azure-Samples/rag-postgres-openai-python#288 · 1 comentário ·
-
Azure-Samples/rag-postgres-openai-python#273 · 1 responsável ·
-
Migrate AzureOpenAI constructors to OpenAI clientTalvez já em andamento @copilot-swe-agent assumiu há 385 dias. Aberta
Azure-Samples/rag-postgres-openai-python#269 · 1 reação · 1 responsável ·
-
Remove the pipeline: variables section from azure.yamlTalvez já em andamento @copilot-swe-agent assumiu há 396 dias. Aberta
Azure-Samples/rag-postgres-openai-python#261 · 1 reação · 1 responsável ·
-
Question: Why are you installing `postgres-client` and `xdg-utils` in the backend docker image?Talvez já em andamento @copilot-swe-agent assumiu há 419 dias. Aberta
Azure-Samples/rag-postgres-openai-python#250 · 4 comentários · 1 reação · 1 responsável ·
Todas as issues de Azure-Samples/rag-postgres-openai-python
Issues semelhantes
-
fix(accounts): Balance Sheet and Profit and Loss crash on PostgreSQL due to MySQL force_indexAberta
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 82/100
Mantenedores costumam responder em até 1 dia
-
Discord webhook notifications fail with HTTP 403 (Cloudflare blocks default urllib User-Agent)Aberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 85/100
tharje/spooler-v2#20 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
Mantenedores costumam responder em até 1 dia
-
Bump version of azure-servicebusTalvez já em andamento @joostlek assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
home-assistant/core#186275 ·
Mantenedores costumam responder em até 1 dia
-
documentation
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 72/100