Handling Multiple Tables with Embeddings in PostgreSQL
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
Línea de trabajo
Comienza con la implementación existente de postgres_searcher y el ejemplo que usa la tabla Item; en el issue no se identifica ninguna ruta de archivo o de prueba. Determina cómo una consulta selecciona una tabla que contiene embeddings para Cars, Bike y datos relacionales. Se considera terminado cuando haya un ejemplo funcional con varias tablas o un enfoque recomendado documentado.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- Python
- Estrellas
- 505
- Forks
- 1.1k
- Merge medio
- 3 d 13 h
- PR fusionados (30 d)
- 1
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Azure-Samples/rag-postgres-openai-python
-
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
Azure-Samples/rag-postgres-openai-python#288 · 1 comentario ·
-
Azure-Samples/rag-postgres-openai-python#273 · 1 asignado ·
-
Azure-Samples/rag-postgres-openai-python#269 · 1 reacción · 1 asignado ·
-
Azure-Samples/rag-postgres-openai-python#261 · 1 reacción · 1 asignado ·
-
Question: Why are you installing `postgres-client` and `xdg-utils` in the backend docker image? Abierto
Azure-Samples/rag-postgres-openai-python#250 · 4 comentarios · 1 reacción · 1 asignado ·
Todos los issues de Azure-Samples/rag-postgres-openai-python
Issues similares
-
essnmx good first issue
Dificultad 1/5 Menos de una hora Aptitud para principiantes 95/100
-
[Feature] 奇物选择添加优先级 Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
syfoud/Simulated_Scepter#174 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Giskard-AI/giskard-oss#2840 · 1 comentario ·
-
A claim comment carrying the issue number is silently declined while the workflow reports success Abiertoarea: repo bug perceived difficulty: 2
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
yeti-platform/yeti#1380 ·