tencentcloud-sdk-nodejs-es 4.1.61 → 4.1.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -252,6 +252,10 @@ export interface ChunkDocumentResponse {
|
|
|
252
252
|
* 无
|
|
253
253
|
*/
|
|
254
254
|
Chunks?: Array<Chunk>;
|
|
255
|
+
/**
|
|
256
|
+
* token消耗量
|
|
257
|
+
*/
|
|
258
|
+
Usage?: Usage;
|
|
255
259
|
/**
|
|
256
260
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
257
261
|
*/
|
|
@@ -357,6 +361,10 @@ export interface ChunkConfig {
|
|
|
357
361
|
* 分隔符列表
|
|
358
362
|
*/
|
|
359
363
|
Delimiters?: Array<string>;
|
|
364
|
+
/**
|
|
365
|
+
* 相邻切片重合字符数,需要小于分片长度
|
|
366
|
+
*/
|
|
367
|
+
ChunkOverlap?: number;
|
|
360
368
|
}
|
|
361
369
|
/**
|
|
362
370
|
* 会话内容,按对话时间从旧到新在数组中排列,长度受模型窗口大小限制。
|