Closed AmyHei closed 2 months ago
Consider a scenario where you have data in the following format:
1, a, b, c
2, d, e, f
If you upload a CSV file to an embedding service and split the lines by \n
, you can indeed ask questions regarding the data.
However, for more complex situations, such as fetching multiple records from this file, you should use the traditional method of retrieving data from a well-structured API.
A common approach is to upload the CSV file to a database and then use a language model (LLM) to parse natural language queries into SQL, allowing you to retrieve data accordingly.
@crazywoola Does Dify support filtering during vector search, similar to the syntax used in Weaviate as shown above? In certain scenarios, it is necessary to deterministically filter data, as relying solely on vector search is not sufficient.
Self Checks
1. Is this request related to a challenge you're experiencing? Tell me about your story.
I want to upload structured data and retrival, answer question based my data. for example, which customer is the most profit one?
2. Additional context or comments
No response
3. Can you help us with this feature?