Feat: agentic search framework (#16859)

### Summary

Agentic search

<img width="1149" height="1575" alt="image"
src="https://github.com/user-attachments/assets/bce9a3e7-0517-4fb2-80a2-5d2a81a4da78"
/>

---------

Co-authored-by: Yingfeng Zhang <yingfeng.zhang@gmail.com>
This commit is contained in:
Kevin Hu
2026-07-15 23:46:23 +08:00
committed by GitHub
parent 2a6e210020
commit 454dea686e
41 changed files with 4217 additions and 33 deletions

View File

@@ -230,7 +230,7 @@ class ESConnection(ESConnectionBase):
if bool_query:
s = s.query(bool_query)
for field in highlight_fields:
s = s.highlight(field)
s = s.highlight(field, fragment_size=50, number_of_fragments=5)
if order_by:
orders = list()