feat(agent): enhance suggested questions API with tag scopes

Update the SuggestedQuestionsRequest to include TagScopes for better filtering of knowledge items based on their parent knowledge bases. Modify related API documentation and frontend interfaces to accommodate the new structure. Ensure backend services handle the new tag scope logic correctly, including tests for the updated functionality.
This commit is contained in:
wizardchen
2026-07-17 10:16:58 +08:00
committed by lyingbug
parent c21c34b3c0
commit eedd7d4641
34 changed files with 1041 additions and 338 deletions
+6
View File
@@ -647,6 +647,12 @@ const docTemplate = `{
"name": "knowledge_ids",
"in": "query"
},
{
"type": "string",
"description": "带知识库归属的标签范围(JSON)",
"name": "tag_scopes",
"in": "query"
},
{
"type": "integer",
"description": "返回数量上限(默认6)",