mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-01-19 11:16:25 +00:00
Update lollms_client_js.js
This commit is contained in:
parent
0604760e15
commit
538d22d750
@ -989,6 +989,7 @@ async summarizeText(
|
||||
this.stepStart(`Compressing ${docName}...`);
|
||||
let chunkSize = Math.floor(this.lollms.ctxSize * 0.6);
|
||||
documentChunks = TextChunker.chunkText(text, this.lollms, chunkSize, 0, true);
|
||||
console.log(`documentChunks: ${documentChunks}`)
|
||||
text = await this.summarizeChunks({
|
||||
chunks: documentChunks,
|
||||
summaryInstruction,
|
||||
|
Loading…
Reference in New Issue
Block a user