mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-18 20:17:50 +00:00
Update lollms_client_js.js
This commit is contained in:
parent
b55f147039
commit
2b45ea6a04
@ -452,7 +452,7 @@ async tokenize(text) {
|
||||
return await this.lollms.tokenize(text);
|
||||
}
|
||||
|
||||
async summarizeText({
|
||||
async summarizeText(
|
||||
text,
|
||||
summaryInstruction = "summarize",
|
||||
docName = "chunk",
|
||||
@ -462,7 +462,10 @@ async summarizeText({
|
||||
callback = null,
|
||||
chunkSummaryPostProcessing = null,
|
||||
summaryMode = "SEQUENTIAL"
|
||||
}) {
|
||||
) {
|
||||
console.log("Tokenizing:")
|
||||
console.log(text)
|
||||
|
||||
let tk = await this.tokenize(text);
|
||||
let prevLen = tk.length;
|
||||
let documentChunks = null;
|
||||
|
Loading…
Reference in New Issue
Block a user