kongdeqiang
2026-10-09 9af621d181217a03b1b3dce208a163915db974a3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
Êþº¾="
 %com/custom/webui/security/CurrentUser requireUserId()Ljava/lang/Long;
    
.com/custom/webui/controller/RagProxyControlleraccessibleCollections"(Ljava/lang/Long;)Ljava/util/List;
 )com/custom/webui/dto/req/RagSearchRequestgetCollectionNames()Ljava/util/List;  java/util/ListisEmpty()Z  stream()Ljava/util/stream/Stream;
  !"java/util/ObjectsrequireNonNull&(Ljava/lang/Object;)Ljava/lang/Object;$ %&test0(Ljava/util/List;)Ljava/util/function/Predicate; ()* +,java/util/stream/Streamfilter9(Ljava/util/function/Predicate;)Ljava/util/stream/Stream; (. /toList
1 2    getChatId
4 56collectionsBoundToChat2(Ljava/lang/Long;Ljava/lang/Long;)Ljava/util/List;    8 9:logLorg/slf4j/Logger;<2用户 {} åœ¨ä¼šè¯ {} ä¸Šæ²¡æœ‰å¯æ£€ç´¢çš„集合 >?@ ABorg/slf4j/Loggerdebug9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V D Eof
GHI JK com/custom/webui/dto/resp/Resultsuccess6(Ljava/lang/Object;)Lcom/custom/webui/dto/resp/Result;M2RAG æ£€ç´¢èŒƒå›´: ä¼šè¯={} é›†åˆæ•°={} æ¥æº={}Ojava/lang/Object Q RSsize()I
UVW XYjava/lang/IntegervalueOf(I)Ljava/lang/Integer;[ 请求指定] 会话绑定_ 用户全部 >a Ab((Ljava/lang/String;[Ljava/lang/Object;)V
d efgetTopK()Ljava/lang/Integer;
Uh iSintValue    k lm ragProperties-Lcom/custom/webui/config/props/RagProperties;
opq rS+com/custom/webui/config/props/RagPropertiesgetDefaultTopK    t uvragProxyService*Lcom/custom/webui/service/RagProxyService;
x yzgetQuery()Ljava/lang/String; |}~ €(com/custom/webui/service/RagProxyServicesearch5(Ljava/lang/String;Ljava/util/List;I)Ljava/util/List;    ‚ ƒ„ chatService&Lcom/custom/webui/service/ChatService;
†1‡'com/custom/webui/dto/req/RagBindRequest ‰Š‹ Œ$com/custom/webui/service/ChatServicerequireOwnedChat@(Ljava/lang/Long;Ljava/lang/Long;)Lcom/custom/webui/entity/Chat;java/util/ArrayList
Ž‘ ’“<init>()V
† – —˜iterator()Ljava/util/Iterator; š›œ java/util/IteratorhasNext šŸ  ¡next()Ljava/lang/Object;£java/lang/String
¢¥ ¦isBlank ¨ ©ªcontains(Ljava/lang/Object;)Z ¬ ­ªadd¯Ÿä¼šè¯ {} ç»‘定请求中有 {} ä¸ªé›†åˆä¸å¯è®¿é—®ï¼Œå·²å¿½ç•¥: {}(通常是文档被删除,或管理员取消了全局标记;这不是权限错误) >± ²bwarn    ´ µ¶chatCollectionMapper.Lcom/custom/webui/mapper/ChatCollectionMapper;
¸¹º »¼.com/baomidou/mybatisplus/core/toolkit/Wrappers lambdaQueryE()Lcom/baomidou/mybatisplus/core/conditions/query/LambdaQueryWrapper;¾ ¿Àapply;()Lcom/baomidou/mybatisplus/core/toolkit/support/SFunction;
ÂÃÄ ÅÆAcom/baomidou/mybatisplus/core/conditions/query/LambdaQueryWrappereq8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;È0com/baomidou/mybatisplus/core/conditions/Wrapper ÊËÌ ÍÎ,com/custom/webui/mapper/ChatCollectionMapperdelete5(Lcom/baomidou/mybatisplus/core/conditions/Wrapper;)IÐ&com/custom/webui/entity/ChatCollection
ϑ
ÏÓ ÔÕ    setChatId(Ljava/lang/Long;)V
Ï× ØÙsetCollectionName(Ljava/lang/String;)V
ÛÜÝ Þßjava/time/LocalDateTimenow()Ljava/time/LocalDateTime;
Ïá âã setCreatedAt(Ljava/time/LocalDateTime;)V Êå æçinsert(Ljava/lang/Object;)Ié7会话 {} ç»‘定知识库 {} ä¸ª: {}(忽略 {} ä¸ªï¼‰ >ë ìbinfo Êî ïð
selectListD(Lcom/baomidou/mybatisplus/core/conditions/Wrapper;)Ljava/util/List;ò ¿ó()Ljava/util/function/Function; (õ ö÷map8(Ljava/util/function/Function;)Ljava/util/stream/Stream;
ù1ú/com/custom/webui/dto/req/RagBindCategoryRequest    üýþ ÿjava/lang/BooleanTRUELjava/lang/Boolean;
ù getBind()Ljava/lang/Boolean;
ü ªequals         
 categoryService*Lcom/custom/webui/service/CategoryService;
ù  getCategoryId  (com/custom/webui/service/CategoryServicerequireVisibleForUserF(Ljava/lang/Long;Ljava/lang/Long;)Lcom/custom/webui/entity/KbCategory;     chatCategoryMapper,Lcom/custom/webui/mapper/ChatCategoryMapper;¾¾   *com/custom/webui/mapper/ChatCategoryMapper selectCountD(Lcom/baomidou/mybatisplus/core/conditions/Wrapper;)Ljava/lang/Long;
"#$ %&java/lang/Long    longValue()J($com/custom/webui/entity/ChatCategory
'‘
'Ó
', -Õ setCategoryId
'á å Ë îò4/会话 {} {} åˆ†ç±» {},当前绑定分类: {}6绑定8解绑
G: J;$()Lcom/custom/webui/dto/resp/Result;=java/util/HashMap
<‘@enabled
oB C    isEnabled
üE XF(Z)Ljava/lang/Boolean; HIJ KÆ java/util/MapputMbaseUrl
oO Pz
getBaseUrlR    available |T U    isHealthyWownedCollections
ŽY ’Z(Ljava/util/Collection;)V \ ]6collectionsOfCategory    _ `a fileService&Lcom/custom/webui/service/FileService; c    d$com/custom/webui/service/FileService
N‘    g hiragCollectionMapper-Lcom/custom/webui/mapper/RagCollectionMapper;
klm nz!java/lang/invoke/SerializedLambdagetImplMethodName
¢p qShashCode2
¢
kv wSgetImplMethodKind
ky zzgetFunctionalInterfaceClass|7com/baomidou/mybatisplus/core/toolkit/support/SFunction
N
k €z getFunctionalInterfaceMethodName¿
kƒ „z%getFunctionalInterfaceMethodSignature"
k‡ ˆz getImplClassÐ
k‹ ŒzgetImplMethodSignature("java/lang/IllegalArgumentException’Invalid lambda deserialization
” ’Ù
–—˜ ™šorg/slf4j/LoggerFactory    getLogger%(Ljava/lang/Class;)Lorg/slf4j/Logger;O(Lcom/custom/webui/dto/req/RagSearchRequest;)Lcom/custom/webui/dto/resp/Result;CodeLineNumberTableLocalVariableTabletargetLjava/util/List;this0Lcom/custom/webui/controller/RagProxyController;request+Lcom/custom/webui/dto/req/RagSearchRequest;userIdLjava/lang/Long;allowedtopKILocalVariableTypeTable$Ljava/util/List<Ljava/lang/String;>; StackMapTable®[Ljava/lang/Object;MethodParameters    Signature‡(Lcom/custom/webui/dto/req/RagSearchRequest;)Lcom/custom/webui/dto/resp/Result<Ljava/util/List<Lcom/custom/webui/dto/resp/RagChunk;>;>;RuntimeVisibleAnnotations5Lorg/springframework/web/bind/annotation/PostMapping;value/searchRuntimeVisibleTypeAnnotationsLjakarta/validation/Valid;"RuntimeVisibleParameterAnnotations5Lorg/springframework/web/bind/annotation/RequestBody;bindM(Lcom/custom/webui/dto/req/RagBindRequest;)Lcom/custom/webui/dto/resp/Result;
collectionLjava/lang/String;entity(Lcom/custom/webui/entity/ChatCollection;)Lcom/custom/webui/dto/req/RagBindRequest;acceptedrejecteds(Lcom/custom/webui/dto/req/RagBindRequest;)Lcom/custom/webui/dto/resp/Result<Ljava/util/List<Ljava/lang/String;>;>;/bind:Lorg/springframework/transaction/annotation/Transactional; rollbackForLjava/lang/Exception; listBindings4(Ljava/lang/Long;)Lcom/custom/webui/dto/resp/Result;chatId collectionsZ(Ljava/lang/Long;)Lcom/custom/webui/dto/resp/Result<Ljava/util/List<Ljava/lang/String;>;>;4Lorg/springframework/web/bind/annotation/GetMapping;/bind/{chatId}6Lorg/springframework/web/bind/annotation/PathVariable; bindCategoryU(Lcom/custom/webui/dto/req/RagBindCategoryRequest;)Lcom/custom/webui/dto/resp/Result;&Lcom/custom/webui/entity/ChatCategory;exists1Lcom/custom/webui/dto/req/RagBindCategoryRequest;bound"Ljava/util/List<Ljava/lang/Long;>;y(Lcom/custom/webui/dto/req/RagBindCategoryRequest;)Lcom/custom/webui/dto/resp/Result<Ljava/util/List<Ljava/lang/Long;>;>;/bind-categorylistCategoryBindingsX(Ljava/lang/Long;)Lcom/custom/webui/dto/resp/Result<Ljava/util/List<Ljava/lang/Long;>;>;/bind-category/{chatId}unbindF(Ljava/lang/Long;)Lcom/custom/webui/dto/resp/Result<Ljava/lang/Void;>;7Lorg/springframework/web/bind/annotation/DeleteMapping;healthstatusLjava/util/Map;5Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;[()Lcom/custom/webui/dto/resp/Result<Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;>;/healthname
categoryIdresult categoryIdsF(Ljava/lang/Long;Ljava/lang/Long;)Ljava/util/List<Ljava/lang/String;>;6(Ljava/lang/Long;)Ljava/util/List<Ljava/lang/String;>;W(Lcom/custom/webui/service/RagProxyService;Lcom/custom/webui/mapper/RagCollectionMapper;Lcom/custom/webui/mapper/ChatCollectionMapper;Lcom/custom/webui/service/ChatService;Lcom/custom/webui/config/props/RagProperties;Lcom/custom/webui/service/FileService;Lcom/custom/webui/service/CategoryService;Lcom/custom/webui/mapper/ChatCategoryMapper;)V$deserializeLambda$7(Ljava/lang/invoke/SerializedLambda;)Ljava/lang/Object;lambda#Ljava/lang/invoke/SerializedLambda;<clinit>
SourceFileRagProxyController.java8Lorg/springframework/web/bind/annotation/RestController;8Lorg/springframework/web/bind/annotation/RequestMapping;/api/ragBootstrapMethodsø
ùúû üý"java/lang/invoke/LambdaMetafactory metafactoryÌ(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;ª    §(Ljava/lang/String;)Z
ù altMetafactory†(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;"    
Ï1 <(Lcom/custom/webui/entity/ChatCollection;)Ljava/lang/Object;
Ï zgetCollectionName<(Lcom/custom/webui/entity/ChatCollection;)Ljava/lang/String;
'1:(Lcom/custom/webui/entity/ChatCategory;)Ljava/lang/Object;
' 8(Lcom/custom/webui/entity/ChatCategory;)Ljava/lang/Long; InnerClasses%java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandlesLookup!N    9:uvhiµ¶ƒ„lm`a
  ›œt ¸M*,¶N+¶ Æ2+¶ ¹š&+¶ ¹-Y¸Wº#¹'¹-:§5+¶0Æ+*+¶0,¶3¹-Y¸Wº#¹'¹-:§-:¹™²7;,+¶0¹=¸C¸F°²7L½NY+¶0SY¹P¸TSY+¶ Æ+¶ ¹šZ§+¶0Æ\§^S¹`+¶cÆ +¶c¶g§
*´j¶n6*´s+¶w¹{¸F°FJL
OQ@RGUWVoXr[|]‹^’a±bÄcØaÝe÷fžR=Ÿ lŸ  ¡¢ £¤¥¦
§ ršŸ ÷¨©ª*=Ÿ«lŸ«
§«ršŸ«¬‚    ý@".üÿ6">¢­­ÿ ">¢­­ÿ">¢­­NF¯£°±²³´[sµ¶    ·¸ ·¹º»œ¶    c¸M*´,+¶…¹ˆW*,¶N»ŽY·:»ŽY·:+¶”¹•:¹™™P¹žÀ¢:Æÿ趤™§ÿÝ-¹§™¹§š¹«W§ ¹«W§ÿ¬¹š*²7®½NY+¶…SY¹P¸TSYS¹°*´³¸·º½+¶…¶ÁÀǹÉW¹•:¹™™?¹žÀ¢:»ÏY·Ñ:+¶…¶Ò¶Ö¸Ú¶à*´³¹äW§ÿ½²7è½NY+¶…SY¹P¸TSYSY¹P¸TS¹ê¸F°~mnp}"~+L€Y\ƒg„s…€ˆŠŠ‹—Œ£Ž¹Œ¾’“Ԓڔù•– —˜™&š)œ=Xœ]žž\    L>¼½$¾¿ù-¼½c¡¢c£À_¥¦J§ "AÁ +8 ª J§«"AÁ«+8«¬5ÿ6†"šü%¢#ú    ú0ü$šúE¯£°Ã²³´[sÄÅÆ[cǶ    ·¸ ·¹ÈÉœ¤@*´¸+¹ˆW*´³¸·º½+¶ÁÀǹí¹ºñ¹ô¹-M,¸F°¤¥¦!¥&§;¨ž @¡¢@ʦ;Ë ª ;Ë«¯Ê°Ì²Í´[sθÏÐÑœn3¸M*´,+¶ø¹ˆW²û+¶¶™|*´,+¶ ¹W*´¸·º+¶ø¶ÁÀº+¶ ¶ÁÀǹN-Æ -¶!    ”š2»'Y·):+¶ø¶*+¶ ¶+¸Ú¶.*´¹/W§.*´¸·º+¶ø¶ÁÀº+¶ ¶ÁÀǹ0W*´¸·º+¶ø¶ÁÀǹ1¹º2¹ô¹-N²73½NY+¶øSY²û+¶¶™    5§7SY+¶ SY-S¹ê-¸F°z·¸¼ ½/¾3¿<ÀKÁT¾ZÂgÃpÄyłƊǖəʝ˦̵;ÊÄÐÈÑÚÐßÒôÓÔ!Õ)Ó.Öž>p&¾ÒZ<Ó¦3¡¢3£Ô/¥¦ô?Õ ª ô?ÕÖ¬Sýg""ú.*ÿUù">¢­­ÿù">¢­­N¯£°×²³´[sØÅÆ[cǶ    ·¸ ·¹ÙÉœ†>*´¸+¹ˆW*´¸·º+¶ÁÀǹ1¹º2¹ô¹-¸F°ÜÝÞ!Ý&ß:Ýž>¡¢>ʦ¯Ê°Ú²Í´[sÛ¸ÏÜÉœ”D*´¸+¹ˆW*´³¸·º½+¶ÁÀǹÉW*´¸·º+¶ÁÀǹ0W¸9°"åæç!æ'è+é:è@êžD¡¢Dʦ¯Ê°Ý²Þ´[sθÏß;œ³Y»<Y·>L+?*´j¶A¸D¹GW+L*´j¶N¹GW+Q*´s¹S¸D¹GW+V*¸¶¹GW+¸F°òóô-õCöT÷žY¡¢Qà᪠Qàâ°ã²Í´[sä56œÂ    Ü*´,+¹ˆW»ŽY*´³¸·º½+¶ÁÀǹí¹ºñ¹ô¹-·XN*´¸·º+¶ÁÀǹ1¹º2¹ô¹-:¹še¹•:¹™™R¹žÀ":*´,¹[¹•:¹™™&¹žÀ¢:-¹§š -¹«W§ÿÖ§ÿª-°F #(@D    SX
n x — ÀËÔ×ÚžHÀå½—@æ¦Ü¡¢Üʦܥ¦@œç nnè ª@œç«nnèÖ¬þšý("š)ùú¯    Ê¥°é œ? *´^+¹b°ž ¡¢ ¥¦¯¥°ê’뜬    2*·e*+µs*,µf*-µ³*µ*µj*µ^*µ*µ±5ž\    2¡¢2uv2hi2µ¶2ƒ„2lm2`a2
 2¯!uhµƒl`
 
ìíœ{*¶jL=+¶o«4îI‰;ˆ6¯(+r¶s™=§+t¶s™=«Ð2*¶u J*¶x{¶}™=*¶~¶}™0*¶‚…¶}™#*¶†‰¶}™*¶Š¶}™    º½°*¶u J*¶x{¶}™=*¶~¶}™0*¶‚…¶}™#*¶†‰¶}™*¶Š¶}™    º½°*¶u J*¶x{¶}™=*¶~¶}™0*¶‚…¶}™#*¶†޶}™*¶Š¶}™    º°*¶u J*¶x{¶}™=*¶~¶}™0*¶‚…¶}™#*¶†޶}™*¶Š¶}™    º°*¶u J*¶x{¶}™=*¶~¶}™0*¶‚…¶}™#*¶†޶}™*¶Š¶}™    º°*¶u J*¶x{¶}™=*¶~¶}™0*¶‚…¶}™#*¶†޶}™*¶Š¶}™    º°*¶u J*¶x{¶}™=*¶~¶}™0*¶‚…¶}™#*¶†‰¶}™*¶Š¶}™    º½°*¶u J*¶x{¶}™=*¶~¶}™0*¶‚…¶}™#*¶†޶}™*¶Š¶}™    º°*¶u J*¶x{¶}™=*¶~¶}™0*¶‚…¶}™#*¶†‰¶}™*¶Š¶}™    º½°*¶u è*¶x{¶}™Û*¶~¶}™Î*¶‚…¶}™Á*¶†޶}™´*¶Š¶}™§º°*¶u J*¶x{¶}™=*¶~¶}™0*¶‚…¶}™#*¶†޶}™*¶Š¶}™    º°*¶u J*¶x{¶}™=*¶~¶}™0*¶‚…¶}™#*¶†޶}™*¶Š¶}™    º°»Y‘·“¿2ž îï¬0ý$¢ ûNûNûNûNûNûNûNûNûNûNûNùNð“œ!    ¸•³7±2ñò²óô´[sõöJ÷þÿ
  ÷    ÷
!