Integration with Infinity (#2894)

### What problem does this PR solve?

Integration with Infinity

- Replaced ELASTICSEARCH with dataStoreConn
- Renamed deleteByQuery with delete
- Renamed bulk to upsertBulk
- getHighlight, getAggregation
- Fix KGSearch.search
- Moved Dealer.sql_retrieval to es_conn.py


### Type of change

- [x] Refactoring
This commit is contained in:
Zhichang Yu authored and GitHub committed 2024-11-12 14:59:41 +08:00
1 parent 00b6000b76
commit f4c52371ab
42 files changed
+2647 -1878

No files matched your search

+1 -1
View File
@@ -1351,7 +1351,7 @@ A list of `Chunk` objects representing references to the message, each containin
The chunk ID.
- `content` `str`
The content of the chunk.
- `image_id` `str`
- `img_id` `str`
The ID of the snapshot of the chunk. Applicable only when the source of the chunk is an image, PPT, PPTX, or PDF file.
- `document_id` `str`
The ID of the referenced document.