Skip to content

more optimize of ai search plugin#1896

Merged
johnlanni merged 2 commits intoalibaba:mainfrom
johnlanni:search-ref-suffix
Mar 14, 2025
Merged

more optimize of ai search plugin#1896
johnlanni merged 2 commits intoalibaba:mainfrom
johnlanni:search-ref-suffix

Conversation

@johnlanni
Copy link
Copy Markdown
Collaborator

Ⅰ. Describe what this PR did

The following changes have been made:

  1. Support for placing reference information at the end of the response.
  2. Compatibility with OpenAI's search_context_size setting.
  3. For search engines configured with only Quark, force the use of Chinese to query questions (since Quark's English search performance is very poor).
  4. The maximum number of queries generated by search rewriting is configurable.

Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

@johnlanni johnlanni requested review from CH3CHO and rinfx as code owners March 14, 2025 15:16
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Mar 14, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@johnlanni johnlanni merged commit 34b3fc3 into alibaba:main Mar 14, 2025
8 checks passed
VinceCui pushed a commit to VinceCui/higress that referenced this pull request May 21, 2025
ink-hz pushed a commit to ink-hz/higress-ai-capability-auth that referenced this pull request Nov 5, 2025
ISADBA pushed a commit to ISADBA/higress that referenced this pull request Jan 13, 2026
ISADBA pushed a commit to ISADBA/higress that referenced this pull request Jan 13, 2026
johnlanni added a commit that referenced this pull request Jan 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants