mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-03-21 11:25:19 +00:00
Update lollms_client_js.js
This commit is contained in:
parent
1092380894
commit
cb4549bab8
@ -1037,7 +1037,7 @@ async summarizeText(
|
||||
return text;
|
||||
}
|
||||
|
||||
async smartDataExtraction({
|
||||
async smartDataExtraction(
|
||||
text,
|
||||
dataExtractionInstruction = "summarize the current chunk.",
|
||||
finalTaskInstruction = "reformulate with better wording",
|
||||
@ -1048,7 +1048,7 @@ async smartDataExtraction({
|
||||
callback = null,
|
||||
chunkSummaryPostProcessing = null,
|
||||
summaryMode = "SEQUENTIAL"
|
||||
}) {
|
||||
) {
|
||||
let tk = await this.tokenize(text);
|
||||
let prevLen = tk.length;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user