mirror of
https://github.com/SilenceLurker/ST-Amily2-Chat-Optimisation.git
synced 2026-06-06 11:15:50 +00:00
Update rag-settings.js
This commit is contained in:
@@ -1 +1 @@
|
||||
'use strict';const _0x2c0449=_0x3db6;function _0x3db6(_0x9002e0,_0x1094ee){const _0x5eeb99=_0x5eeb();return _0x3db6=function(_0x3db6db,_0x283580){_0x3db6db=_0x3db6db-0xf6;let _0x5afff8=_0x5eeb99[_0x3db6db];return _0x5afff8;},_0x3db6(_0x9002e0,_0x1094ee);}(function(_0x1e9bba,_0x3728fe){const _0x586111=_0x3db6,_0x4763a4=_0x1e9bba();while(!![]){try{const _0x5aabd4=-parseInt(_0x586111(0xf8))/0x1+-parseInt(_0x586111(0xfc))/0x2*(parseInt(_0x586111(0xf6))/0x3)+-parseInt(_0x586111(0xfe))/0x4*(parseInt(_0x586111(0xff))/0x5)+parseInt(_0x586111(0xfb))/0x6*(-parseInt(_0x586111(0x101))/0x7)+parseInt(_0x586111(0xfd))/0x8+parseInt(_0x586111(0xf9))/0x9*(parseInt(_0x586111(0x100))/0xa)+parseInt(_0x586111(0xf7))/0xb;if(_0x5aabd4===_0x3728fe)break;else _0x4763a4['push'](_0x4763a4['shift']());}catch(_0x5a880d){_0x4763a4['push'](_0x4763a4['shift']());}}}(_0x5eeb,0x7e12b));function _0x5eeb(){const _0x2eac27=['250elOqOC','60sDlirr','56343YKlasM','text-embedding-3-small','https://api.siliconflow.cn/v1/rerank','805245pbMFJX','24802360QgqstW','861265foToGS','204012hRKiKB','openai','516KsZfcQ','2PISRGe','6082168aZYXvl','65020SVdnnE'];_0x5eeb=function(){return _0x2eac27;};return _0x5eeb();}export const defaultSettings={'retrieval':{'enabled':![],'apiEndpoint':_0x2c0449(0xfa),'customApiUrl':'','apiKey':'','embeddingModel':_0x2c0449(0x102),'notify':!![],'batchSize':0x5},'advanced':{'chunkSize':0x200,'overlap':0x32,'matchThreshold':0.3,'queryMessageCount':0x2,'maxResults':0x5},'injection':{'template':'翰林院呈报相关忆识:\x0a{{text}}','position':0x1,'depth':0x1,'depth_role':0x0},'condensation':{'enabled':!![],'layerStart':0x1,'layerEnd':0xa,'messageTypes':{'user':!![],'ai':!![],'hidden':![]},'tagExtractionEnabled':![],'tags':'摘要'},'rerank':{'enabled':![],'url':_0x2c0449(0x103),'apiKey':'','model':'Pro/BAAI/bge-reranker-v2-m3','top_n':0x5,'hybrid_alpha':0.7,'notify':!![]}};
|
||||
'use strict';function _0x3a80(_0x40eda3,_0xce8677){const _0x59f2e3=_0x59f2();return _0x3a80=function(_0x3a8069,_0x2f8b20){_0x3a8069=_0x3a8069-0x1f1;let _0xd245c8=_0x59f2e3[_0x3a8069];return _0xd245c8;},_0x3a80(_0x40eda3,_0xce8677);}const _0x5230d7=_0x3a80;(function(_0x52b305,_0x4633b0){const _0x1f7abd=_0x3a80,_0x54625b=_0x52b305();while(!![]){try{const _0xf21a30=-parseInt(_0x1f7abd(0x1ff))/0x1+parseInt(_0x1f7abd(0x1f8))/0x2+parseInt(_0x1f7abd(0x1fb))/0x3*(-parseInt(_0x1f7abd(0x1f2))/0x4)+parseInt(_0x1f7abd(0x1fa))/0x5+parseInt(_0x1f7abd(0x1f5))/0x6*(-parseInt(_0x1f7abd(0x1f7))/0x7)+parseInt(_0x1f7abd(0x1f9))/0x8*(parseInt(_0x1f7abd(0x1f4))/0x9)+parseInt(_0x1f7abd(0x1f1))/0xa*(-parseInt(_0x1f7abd(0x1f6))/0xb);if(_0xf21a30===_0x4633b0)break;else _0x54625b['push'](_0x54625b['shift']());}catch(_0x1a865d){_0x54625b['push'](_0x54625b['shift']());}}}(_0x59f2,0xca440));function _0x59f2(){const _0x3c61b3=['3cSYbbO','翰林院呈报相关忆识:\x0a{{text}}','https://api.siliconflow.cn/v1/rerank','openai','314274MNcbeh','Pro/BAAI/bge-reranker-v2-m3','80qsKuRl','2043148hBSPuo','text-embedding-3-small','870291ndVFUf','6162BxXZeP','224939iHbOmc','2933pbgqYy','1762700rJtUCf','8SgDGzA','6346985wWMaEl'];_0x59f2=function(){return _0x3c61b3;};return _0x59f2();}export const defaultSettings={'retrieval':{'enabled':![],'apiEndpoint':_0x5230d7(0x1fe),'customApiUrl':'','apiKey':'','embeddingModel':_0x5230d7(0x1f3),'notify':!![],'batchSize':0x5},'advanced':{'chunkSize':0x200,'overlap':0x32,'matchThreshold':0.3,'queryMessageCount':0x2,'maxResults':0x5},'injection':{'template':_0x5230d7(0x1fc),'position':0x1,'depth':0x1,'depth_role':0x0},'condensation':{'enabled':!![],'layerStart':0x1,'layerEnd':0xa,'messageTypes':{'user':!![],'ai':!![],'hidden':![]},'tagExtractionEnabled':![],'tags':'摘要','exclusionRules':[]},'rerank':{'enabled':![],'url':_0x5230d7(0x1fd),'apiKey':'','model':_0x5230d7(0x200),'top_n':0x5,'hybrid_alpha':0.7,'notify':!![]}};
|
||||
|
||||
Reference in New Issue
Block a user