
> server@0.0.1 build
> nest build

node.exe : [96msrc/knowledg
e-base/chunk-config.service.
ts[0m:[93m8[0m:[93m3[0m
 - [91merror[0m[90m TS143
4: [0mUnexpected keyword or
 identifier.
所在位置 行:1 字符: 1
+ & "C:\Program Files\nodejs
/node.exe" "C:\Program Files
\nodejs/node_mo ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~
    + CategoryInfo          
    : NotSpecified: ([96m  
  src/knowle... or identi   
 fier.:String) [], Remot    
eException
    + FullyQualifiedErrorId 
    : NativeCommandError
 

[7m8[0m   async validateCh
unkConfig(
[7m [0m [91m  ~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m8[0m:[93m3[0m - [91merr
or[0m[90m TS2304: [0mCann
ot find name 'async'.

[7m8[0m   async validateCh
unkConfig(
[7m [0m [91m  ~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m8[0m:[93m9[0m - [91merr
or[0m[90m TS2304: [0mCann
ot find name 'validateChunkC
onfig'.

[7m8[0m   async validateCh
unkConfig(
[7m [0m [91m        ~~~~~
~~~~~~~~~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m9[0m:[93m5[0m - [91merr
or[0m[90m TS2304: [0mCann
ot find name 'chunkSize'.

[7m9[0m     chunkSize: num
ber,
[7m [0m [91m    ~~~~~~~~~
[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m9[0m:[93m14[0m - [91mer
ror[0m[90m TS1005: [0m','
 expected.

[7m9[0m     chunkSize: num
ber,
[7m [0m [91m             
~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m9[0m:[93m16[0m - [91mer
ror[0m[90m TS2693: [0m'nu
mber' only refers to a type,
 but is being used as a valu
e here.

[7m9[0m     chunkSize: num
ber,
[7m [0m [91m             
  ~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m10[0m:[93m5[0m - [91mer
ror[0m[90m TS2304: [0mCan
not find name 'chunkOverlap'
.

[7m10[0m     chunkOverlap:
 number,
[7m  [0m [91m    ~~~~~~~~
~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m10[0m:[93m17[0m - [91me
rror[0m[90m TS1005: [0m',
' expected.

[7m10[0m     chunkOverlap:
 number,
[7m  [0m [91m            
    ~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m10[0m:[93m19[0m - [91me
rror[0m[90m TS2693: [0m'n
umber' only refers to a type
, but is being used as a val
ue here.

[7m10[0m     chunkOverlap:
 number,
[7m  [0m [91m            
      ~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m11[0m:[93m5[0m - [91mer
ror[0m[90m TS2304: [0mCan
not find name 'modelId'.

[7m11[0m     modelId: stri
ng,
[7m  [0m [91m    ~~~~~~~
[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m11[0m:[93m12[0m - [91me
rror[0m[90m TS1005: [0m',
' expected.

[7m11[0m     modelId: stri
ng,
[7m  [0m [91m           ~
[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m11[0m:[93m14[0m - [91me
rror[0m[90m TS2693: [0m's
tring' only refers to a type
, but is being used as a val
ue here.

[7m11[0m     modelId: stri
ng,
[7m  [0m [91m            
 ~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m12[0m:[93m5[0m - [91mer
ror[0m[90m TS2304: [0mCan
not find name 'userId'.

[7m12[0m     userId: strin
g,
[7m  [0m [91m    ~~~~~~[
0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m12[0m:[93m11[0m - [91me
rror[0m[90m TS1005: [0m',
' expected.

[7m12[0m     userId: strin
g,
[7m  [0m [91m          ~
[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m12[0m:[93m13[0m - [91me
rror[0m[90m TS2693: [0m's
tring' only refers to a type
, but is being used as a val
ue here.

[7m12[0m     userId: strin
g,
[7m  [0m [91m            
~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m13[0m:[93m5[0m - [91mer
ror[0m[90m TS2304: [0mCan
not find name 'tenantId'.

[7m13[0m     tenantId?: st
ring,
[7m  [0m [91m    ~~~~~~~~
[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m13[0m:[93m14[0m - [91me
rror[0m[90m TS1109: [0mEx
pression expected.

[7m13[0m     tenantId?: st
ring,
[7m  [0m [91m            
 ~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m13[0m:[93m16[0m - [91me
rror[0m[90m TS2693: [0m's
tring' only refers to a type
, but is being used as a val
ue here.

[7m13[0m     tenantId?: st
ring,
[7m  [0m [91m            
   ~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m14[0m:[93m4[0m - [91mer
ror[0m[90m TS1005: [0m';'
 expected.

[7m14[0m   ): Promise<{
[7m  [0m [91m   ~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m14[0m:[93m6[0m - [91mer
ror[0m[90m TS2365: [0mOpe
rator '<' cannot be applied 
to types 'PromiseConstructor
' and '{ chunkSize: any; chu
nkOverlap: any; warnings: an
y; effectiveMaxChunkSize: an
y; effectiveMaxOverlapSize: 
any; }'.

[7m 14[0m   ): Promise<{
[7m   [0m [91m     ~~~~~~
~~~[0m
[7m 15[0m     chunkSize: n
umber;
[7m   [0m [91m~~~~~~~~~~~
~~~~~~~~~~~[0m
[7m...[0m 
[7m 19[0m     effectiveMax
OverlapSize: number;
[7m   [0m [91m~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~[0
m
[7m 20[0m   }> {
[7m   [0m [91m~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m14[0m:[93m6[0m - [91mer
ror[0m[90m TS2365: [0mOpe
rator '>' cannot be applied 
to types 'boolean' and '{ [x
: number]: never[]; const: n
umber; string: any; if(chunk
Size: any): any; }'.

[7m 14[0m   ): Promise<{
[7m   [0m [91m     ~~~~~~
~~~[0m
[7m 15[0m     chunkSize: n
umber;
[7m   [0m [91m~~~~~~~~~~~
~~~~~~~~~~~[0m
[7m...[0m 
[7m 35[0m     // [Translat
ed Comment]
[7m   [0m [91m~~~~~~~~~~~
~~~~~~~~~~~~~~~~[0m
[7m 36[0m     if (chunkSiz
e > effectiveMaxChunkSize) {
[7m   [0m [91m~~~~~~~~~~~
~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m15[0m:[93m16[0m - [91me
rror[0m[90m TS2693: [0m'n
umber' only refers to a type
, but is being used as a val
ue here.

[7m15[0m     chunkSize: nu
mber;
[7m  [0m [91m            
   ~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m15[0m:[93m22[0m - [91me
rror[0m[90m TS1005: [0m',
' expected.

[7m15[0m     chunkSize: nu
mber;
[7m  [0m [91m            
         ~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m16[0m:[93m19[0m - [91me
rror[0m[90m TS2693: [0m'n
umber' only refers to a type
, but is being used as a val
ue here.

[7m16[0m     chunkOverlap:
 number;
[7m  [0m [91m            
      ~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m16[0m:[93m25[0m - [91me
rror[0m[90m TS1005: [0m',
' expected.

[7m16[0m     chunkOverlap:
 number;
[7m  [0m [91m            
            ~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m17[0m:[93m15[0m - [91me
rror[0m[90m TS2693: [0m's
tring' only refers to a type
, but is being used as a val
ue here.

[7m17[0m     warnings: str
ing[];
[7m  [0m [91m            
  ~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m17[0m:[93m22[0m - [91me
rror[0m[90m TS1011: [0mAn
 element access expression s
hould take an argument.

[7m17[0m     warnings: str
ing[];
[7m  [0m [91m            
         [0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m17[0m:[93m23[0m - [91me
rror[0m[90m TS1005: [0m',
' expected.

[7m17[0m     warnings: str
ing[];
[7m  [0m [91m            
          ~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m18[0m:[93m28[0m - [91me
rror[0m[90m TS2693: [0m'n
umber' only refers to a type
, but is being used as a val
ue here.

[7m18[0m     effectiveMaxC
hunkSize: number;
[7m  [0m [91m            
               ~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m18[0m:[93m34[0m - [91me
rror[0m[90m TS1005: [0m',
' expected.

[7m18[0m     effectiveMaxC
hunkSize: number;
[7m  [0m [91m            
                     ~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m19[0m:[93m30[0m - [91me
rror[0m[90m TS2693: [0m'n
umber' only refers to a type
, but is being used as a val
ue here.

[7m19[0m     effectiveMaxO
verlapSize: number;
[7m  [0m [91m            
                 ~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m19[0m:[93m36[0m - [91me
rror[0m[90m TS1005: [0m',
' expected.

[7m19[0m     effectiveMaxO
verlapSize: number;
[7m  [0m [91m            
                       ~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m21[0m:[93m11[0m - [91me
rror[0m[90m TS1005: [0m':
' expected.

[7m21[0m     const warning
s: string[] = [];
[7m  [0m [91m          ~~
~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m21[0m:[93m11[0m - [91me
rror[0m[90m TS2304: [0mCa
nnot find name 'warnings'.

[7m21[0m     const warning
s: string[] = [];
[7m  [0m [91m          ~~
~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m21[0m:[93m19[0m - [91me
rror[0m[90m TS1005: [0m',
' expected.

[7m21[0m     const warning
s: string[] = [];
[7m  [0m [91m            
      ~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m21[0m:[93m21[0m - [91me
rror[0m[90m TS2693: [0m's
tring' only refers to a type
, but is being used as a val
ue here.

[7m21[0m     const warning
s: string[] = [];
[7m  [0m [91m            
        ~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m21[0m:[93m27[0m - [91me
rror[0m[90m TS1005: [0m',
' expected.

[7m21[0m     const warning
s: string[] = [];
[7m  [0m [91m            
              ~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m21[0m:[93m28[0m - [91me
rror[0m[90m TS1109: [0mEx
pression expected.

[7m21[0m     const warning
s: string[] = [];
[7m  [0m [91m            
               ~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m21[0m:[93m30[0m - [91me
rror[0m[90m TS1005: [0m':
' expected.

[7m21[0m     const warning
s: string[] = [];
[7m  [0m [91m            
                 ~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m21[0m:[93m34[0m - [91me
rror[0m[90m TS1005: [0m',
' expected.

[7m21[0m     const warning
s: string[] = [];
[7m  [0m [91m            
                     ~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m22[0m:[93m11[0m - [91me
rror[0m[90m TS1005: [0m':
' expected.

[7m22[0m     const limits 
= await this.getModelLimits(
modelId, userId, tenantId);
[7m  [0m [91m          ~~
~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m22[0m:[93m11[0m - [91me
rror[0m[90m TS2304: [0mCa
nnot find name 'limits'.

[7m22[0m     const limits 
= await this.getModelLimits(
modelId, userId, tenantId);
[7m  [0m [91m          ~~
~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m22[0m:[93m26[0m - [91me
rror[0m[90m TS2532: [0mOb
ject is possibly 'undefined'
.

[7m22[0m     const limits 
= await this.getModelLimits(
modelId, userId, tenantId);
[7m  [0m [91m            
             ~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m22[0m:[93m46[0m - [91me
rror[0m[90m TS2304: [0mCa
nnot find name 'modelId'.

[7m22[0m     const limits 
= await this.getModelLimits(
modelId, userId, tenantId);
[7m  [0m [91m            
                            
     ~~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m22[0m:[93m55[0m - [91me
rror[0m[90m TS2304: [0mCa
nnot find name 'userId'.

[7m22[0m     const limits 
= await this.getModelLimits(
modelId, userId, tenantId);
[7m  [0m [91m            
                            
              ~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m22[0m:[93m63[0m - [91me
rror[0m[90m TS2304: [0mCa
nnot find name 'tenantId'.

[7m22[0m     const limits 
= await this.getModelLimits(
modelId, userId, tenantId);
[7m  [0m [91m            
                            
                      ~~~~~~
~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m22[0m:[93m72[0m - [91me
rror[0m[90m TS1005: [0m',
' expected.

[7m22[0m     const limits 
= await this.getModelLimits(
modelId, userId, tenantId);
[7m  [0m [91m            
                            
                            
   ~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m25[0m:[93m11[0m - [91me
rror[0m[90m TS1005: [0m':
' expected.

[7m25[0m     const effecti
veMaxChunkSize = Math.min(
[7m  [0m [91m          ~~
~~~~~~~~~~~~~~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m25[0m:[93m11[0m - [91me
rror[0m[90m TS2304: [0mCa
nnot find name 'effectiveMax
ChunkSize'.

[7m25[0m     const effecti
veMaxChunkSize = Math.min(
[7m  [0m [91m          ~~
~~~~~~~~~~~~~~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m26[0m:[93m7[0m - [91mer
ror[0m[90m TS2532: [0mObj
ect is possibly 'undefined'.

[7m26[0m       this.envMax
ChunkSize,
[7m  [0m [91m      ~~~~[
0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m27[0m:[93m7[0m - [91mer
ror[0m[90m TS2304: [0mCan
not find name 'limits'.

[7m27[0m       limits.maxI
nputTokens,
[7m  [0m [91m      ~~~~~~
[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m28[0m:[93m6[0m - [91mer
ror[0m[90m TS1005: [0m','
 expected.

[7m28[0m     );
[7m  [0m [91m     ~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m30[0m:[93m11[0m - [91me
rror[0m[90m TS1005: [0m':
' expected.

[7m30[0m     const effecti
veMaxOverlapSize = Math.min(
[7m  [0m [91m          ~~
~~~~~~~~~~~~~~~~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m30[0m:[93m11[0m - [91me
rror[0m[90m TS2304: [0mCa
nnot find name 'effectiveMax
OverlapSize'.

[7m30[0m     const effecti
veMaxOverlapSize = Math.min(
[7m  [0m [91m          ~~
~~~~~~~~~~~~~~~~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m31[0m:[93m7[0m - [91mer
ror[0m[90m TS2532: [0mObj
ect is possibly 'undefined'.

[7m31[0m       this.envMax
OverlapSize,
[7m  [0m [91m      ~~~~[
0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m32[0m:[93m18[0m - [91me
rror[0m[90m TS2304: [0mCa
nnot find name 'effectiveMax
ChunkSize'.

[7m32[0m       Math.floor(
effectiveMaxChunkSize * this
.DEFAULTS.maxOverlapRatio),
[7m  [0m [91m            
     ~~~~~~~~~~~~~~~~~~~~~[
0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m32[0m:[93m42[0m - [91me
rror[0m[90m TS2532: [0mOb
ject is possibly 'undefined'
.

[7m32[0m       Math.floor(
effectiveMaxChunkSize * this
.DEFAULTS.maxOverlapRatio),
[7m  [0m [91m            
                            
 ~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m33[0m:[93m6[0m - [91mer
ror[0m[90m TS1005: [0m','
 expected.

[7m33[0m     );
[7m  [0m [91m     ~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m36[0m:[93m19[0m - [91me
rror[0m[90m TS1005: [0m',
' expected.

[7m36[0m     if (chunkSize
 > effectiveMaxChunkSize) {
[7m  [0m [91m            
      ~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m36[0m:[93m21[0m - [91me
rror[0m[90m TS2304: [0mCa
nnot find name 'effectiveMax
ChunkSize'.

[7m36[0m     if (chunkSize
 > effectiveMaxChunkSize) {
[7m  [0m [91m            
        ~~~~~~~~~~~~~~~~~~~~
~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m36[0m:[93m42[0m - [91me
rror[0m[90m TS1005: [0m';
' expected.

[7m36[0m     if (chunkSize
 > effectiveMaxChunkSize) {
[7m  [0m [91m            
                            
 ~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m38[0m:[93m9[0m - [91mer
ror[0m[90m TS2532: [0mObj
ect is possibly 'undefined'.

[7m38[0m         this.envM
axChunkSize < limits.maxInpu
tTokens
[7m  [0m [91m        ~~~~
[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m38[0m:[93m32[0m - [91me
rror[0m[90m TS2304: [0mCa
nnot find name 'limits'.

[7m38[0m         this.envM
axChunkSize < limits.maxInpu
tTokens
[7m  [0m [91m            
                   ~~~~~~[0
m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m39[0m:[93m16[0m - [91me
rror[0m[90m TS2532: [0mOb
ject is possibly 'undefined'
.

[7m39[0m           ? `${th
is.i18nService.getMessage('e
nvironmentLimit')} ${this.en
vMaxChunkSize}`
[7m  [0m [91m            
   ~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m39[0m:[93m67[0m - [91me
rror[0m[90m TS2532: [0mOb
ject is possibly 'undefined'
.

[7m39[0m           ? `${th
is.i18nService.getMessage('e
nvironmentLimit')} ${this.en
vMaxChunkSize}`
[7m  [0m [91m            
                            
                          ~~
~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m40[0m:[93m16[0m - [91me
rror[0m[90m TS2532: [0mOb
ject is possibly 'undefined'
.

[7m40[0m           : `${th
is.i18nService.getMessage('m
odelLimit')} ${limits.maxInp
utTokens}`;
[7m  [0m [91m            
   ~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m40[0m:[93m61[0m - [91me
rror[0m[90m TS2304: [0mCa
nnot find name 'limits'.

[7m40[0m           : `${th
is.i18nService.getMessage('m
odelLimit')} ${limits.maxInp
utTokens}`;
[7m  [0m [91m            
                            
                    ~~~~~~[
0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m42[0m:[93m7[0m - [91mer
ror[0m[90m TS2304: [0mCan
not find name 'warnings'.

[7m42[0m       warnings.pu
sh(
[7m  [0m [91m      ~~~~~~
~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m43[0m:[93m9[0m - [91mer
ror[0m[90m TS2532: [0mObj
ect is possibly 'undefined'.

[7m43[0m         this.i18n
Service.formatMessage('chunk
Overflow', {
[7m  [0m [91m        ~~~~
[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m44[0m:[93m17[0m - [91me
rror[0m[90m TS2304: [0mCa
nnot find name 'chunkSize'.

[7m44[0m           size: c
hunkSize,
[7m  [0m [91m            
    ~~~~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m45[0m:[93m16[0m - [91me
rror[0m[90m TS2304: [0mCa
nnot find name 'effectiveMax
ChunkSize'.

[7m45[0m           max: ef
fectiveMaxChunkSize,
[7m  [0m [91m            
   ~~~~~~~~~~~~~~~~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m49[0m:[93m7[0m - [91mer
ror[0m[90m TS2304: [0mCan
not find name 'chunkSize'.

[7m49[0m       chunkSize =
 effectiveMaxChunkSize;
[7m  [0m [91m      ~~~~~~
~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m49[0m:[93m19[0m - [91me
rror[0m[90m TS2304: [0mCa
nnot find name 'effectiveMax
ChunkSize'.

[7m49[0m       chunkSize =
 effectiveMaxChunkSize;
[7m  [0m [91m            
      ~~~~~~~~~~~~~~~~~~~~~
[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m53[0m:[93m9[0m - [91mer
ror[0m[90m TS2304: [0mCan
not find name 'chunkSize'.

[7m53[0m     if (chunkSize
 < this.DEFAULTS.minChunkSiz
e) {
[7m  [0m [91m        ~~~~
~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m53[0m:[93m21[0m - [91me
rror[0m[90m TS2532: [0mOb
ject is possibly 'undefined'
.

[7m53[0m     if (chunkSize
 < this.DEFAULTS.minChunkSiz
e) {
[7m  [0m [91m            
        ~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m54[0m:[93m7[0m - [91mer
ror[0m[90m TS2304: [0mCan
not find name 'warnings'.

[7m54[0m       warnings.pu
sh(
[7m  [0m [91m      ~~~~~~
~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m55[0m:[93m9[0m - [91mer
ror[0m[90m TS2532: [0mObj
ect is possibly 'undefined'.

[7m55[0m         this.i18n
Service.formatMessage('chunk
Underflow', {
[7m  [0m [91m        ~~~~
[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m56[0m:[93m17[0m - [91me
rror[0m[90m TS2304: [0mCa
nnot find name 'chunkSize'.

[7m56[0m           size: c
hunkSize,
[7m  [0m [91m            
    ~~~~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m57[0m:[93m16[0m - [91me
rror[0m[90m TS2532: [0mOb
ject is possibly 'undefined'
.

[7m57[0m           min: th
is.DEFAULTS.minChunkSize
[7m  [0m [91m            
   ~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m60[0m:[93m7[0m - [91mer
ror[0m[90m TS2304: [0mCan
not find name 'chunkSize'.

[7m60[0m       chunkSize =
 this.DEFAULTS.minChunkSize;
[7m  [0m [91m      ~~~~~~
~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m60[0m:[93m19[0m - [91me
rror[0m[90m TS2532: [0mOb
ject is possibly 'undefined'
.

[7m60[0m       chunkSize =
 this.DEFAULTS.minChunkSize;
[7m  [0m [91m            
      ~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m64[0m:[93m9[0m - [91mer
ror[0m[90m TS2304: [0mCan
not find name 'chunkOverlap'
.

[7m64[0m     if (chunkOver
lap > effectiveMaxOverlapSiz
e) {
[7m  [0m [91m        ~~~~
~~~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m64[0m:[93m24[0m - [91me
rror[0m[90m TS2304: [0mCa
nnot find name 'effectiveMax
OverlapSize'.

[7m64[0m     if (chunkOver
lap > effectiveMaxOverlapSiz
e) {
[7m  [0m [91m            
           ~~~~~~~~~~~~~~~~~
~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m65[0m:[93m7[0m - [91mer
ror[0m[90m TS2304: [0mCan
not find name 'warnings'.

[7m65[0m       warnings.pu
sh(
[7m  [0m [91m      ~~~~~~
~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m66[0m:[93m9[0m - [91mer
ror[0m[90m TS2532: [0mObj
ect is possibly 'undefined'.

[7m66[0m         this.i18n
Service.formatMessage('overl
apOverflow', {
[7m  [0m [91m        ~~~~
[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m67[0m:[93m17[0m - [91me
rror[0m[90m TS2304: [0mCa
nnot find name 'chunkOverlap
'.

[7m67[0m           size: c
hunkOverlap,
[7m  [0m [91m            
    ~~~~~~~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m68[0m:[93m16[0m - [91me
rror[0m[90m TS2304: [0mCa
nnot find name 'effectiveMax
OverlapSize'.

[7m68[0m           max: ef
fectiveMaxOverlapSize
[7m  [0m [91m            
   ~~~~~~~~~~~~~~~~~~~~~~~[
0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m71[0m:[93m7[0m - [91mer
ror[0m[90m TS2304: [0mCan
not find name 'chunkOverlap'
.

[7m71[0m       chunkOverla
p = effectiveMaxOverlapSize;
[7m  [0m [91m      ~~~~~~
~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m71[0m:[93m22[0m - [91me
rror[0m[90m TS2304: [0mCa
nnot find name 'effectiveMax
OverlapSize'.

[7m71[0m       chunkOverla
p = effectiveMaxOverlapSize;
[7m  [0m [91m            
         ~~~~~~~~~~~~~~~~~~~
~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m76[0m:[93m7[0m - [91mer
ror[0m[90m TS2304: [0mCan
not find name 'chunkSize'.

[7m76[0m       chunkSize *
 this.DEFAULTS.maxOverlapRat
io,
[7m  [0m [91m      ~~~~~~
~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m76[0m:[93m19[0m - [91me
rror[0m[90m TS2532: [0mOb
ject is possibly 'undefined'
.

[7m76[0m       chunkSize *
 this.DEFAULTS.maxOverlapRat
io,
[7m  [0m [91m            
      ~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m78[0m:[93m9[0m - [91mer
ror[0m[90m TS2304: [0mCan
not find name 'chunkOverlap'
.

[7m78[0m     if (chunkOver
lap > maxOverlapByRatio) {
[7m  [0m [91m        ~~~~
~~~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m79[0m:[93m7[0m - [91mer
ror[0m[90m TS2304: [0mCan
not find name 'warnings'.

[7m79[0m       warnings.pu
sh(
[7m  [0m [91m      ~~~~~~
~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m80[0m:[93m9[0m - [91mer
ror[0m[90m TS2532: [0mObj
ect is possibly 'undefined'.

[7m80[0m         this.i18n
Service.formatMessage('overl
apRatioExceeded', {
[7m  [0m [91m        ~~~~
[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m81[0m:[93m17[0m - [91me
rror[0m[90m TS2304: [0mCa
nnot find name 'chunkOverlap
'.

[7m81[0m           size: c
hunkOverlap,
[7m  [0m [91m            
    ~~~~~~~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m85[0m:[93m7[0m - [91mer
ror[0m[90m TS2304: [0mCan
not find name 'chunkOverlap'
.

[7m85[0m       chunkOverla
p = maxOverlapByRatio;
[7m  [0m [91m      ~~~~~~
~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m88[0m:[93m9[0m - [91mer
ror[0m[90m TS2304: [0mCan
not find name 'chunkOverlap'
.

[7m88[0m     if (chunkOver
lap < this.DEFAULTS.minChunk
Overlap) {
[7m  [0m [91m        ~~~~
~~~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m88[0m:[93m24[0m - [91me
rror[0m[90m TS2532: [0mOb
ject is possibly 'undefined'
.

[7m88[0m     if (chunkOver
lap < this.DEFAULTS.minChunk
Overlap) {
[7m  [0m [91m            
           ~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m89[0m:[93m7[0m - [91mer
ror[0m[90m TS2304: [0mCan
not find name 'warnings'.

[7m89[0m       warnings.pu
sh(
[7m  [0m [91m      ~~~~~~
~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m90[0m:[93m9[0m - [91mer
ror[0m[90m TS2532: [0mObj
ect is possibly 'undefined'.

[7m90[0m         this.i18n
Service.formatMessage('overl
apUnderflow', {
[7m  [0m [91m        ~~~~
[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m91[0m:[93m17[0m - [91me
rror[0m[90m TS2304: [0mCa
nnot find name 'chunkOverlap
'.

[7m91[0m           size: c
hunkOverlap,
[7m  [0m [91m            
    ~~~~~~~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m92[0m:[93m16[0m - [91me
rror[0m[90m TS2532: [0mOb
ject is possibly 'undefined'
.

[7m92[0m           min: th
is.DEFAULTS.minChunkOverlap
[7m  [0m [91m            
   ~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m95[0m:[93m7[0m - [91mer
ror[0m[90m TS2304: [0mCan
not find name 'chunkOverlap'
.

[7m95[0m       chunkOverla
p = this.DEFAULTS.minChunkOv
erlap;
[7m  [0m [91m      ~~~~~~
~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m95[0m:[93m22[0m - [91me
rror[0m[90m TS2532: [0mOb
ject is possibly 'undefined'
.

[7m95[0m       chunkOverla
p = this.DEFAULTS.minChunkOv
erlap;
[7m  [0m [91m            
         ~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m101[0m:[93m38[0m - [91m
error[0m[90m TS2304: [0mC
annot find name 'effectiveMa
xChunkSize'.

[7m101[0m     const safeCh
unkSize = Math.floor(effecti
veMaxChunkSize * safetyMargi
n);
[7m   [0m [91m           
                          ~~
~~~~~~~~~~~~~~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m103[0m:[93m9[0m - [91me
rror[0m[90m TS2304: [0mCa
nnot find name 'chunkSize'.

[7m103[0m     if (chunkSiz
e > safeChunkSize) {
[7m   [0m [91m        ~~~
~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m104[0m:[93m7[0m - [91me
rror[0m[90m TS2304: [0mCa
nnot find name 'warnings'.

[7m104[0m       warnings.p
ush(
[7m   [0m [91m      ~~~~~
~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m105[0m:[93m9[0m - [91me
rror[0m[90m TS2532: [0mOb
ject is possibly 'undefined'
.

[7m105[0m         this.i18
nService.formatMessage('batc
hOverflowWarning', {
[7m   [0m [91m        ~~~
~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m107[0m:[93m17[0m - [91m
error[0m[90m TS2304: [0mC
annot find name 'chunkSize'.

[7m107[0m           size: 
chunkSize,
[7m   [0m [91m           
     ~~~~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m114[0m:[93m33[0m - [91m
error[0m[90m TS2532: [0mO
bject is possibly 'undefined
'.

[7m114[0m     const estima
tedChunkCount = this.estimat
eChunkCount(
[7m   [0m [91m           
                     ~~~~[0
m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m116[0m:[93m7[0m - [91me
rror[0m[90m TS2304: [0mCa
nnot find name 'chunkSize'.

[7m116[0m       chunkSize,
[7m   [0m [91m      ~~~~~
~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m120[0m:[93m7[0m - [91me
rror[0m[90m TS2304: [0mCa
nnot find name 'warnings'.

[7m120[0m       warnings.p
ush(
[7m   [0m [91m      ~~~~~
~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m121[0m:[93m9[0m - [91me
rror[0m[90m TS2532: [0mOb
ject is possibly 'undefined'
.

[7m121[0m         this.i18
nService.formatMessage('esti
matedChunkCountExcessive', {
 count: estimatedChunkCount 
})
[7m   [0m [91m        ~~~
~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m132[0m:[93m3[0m - [91me
rror[0m[90m TS1128: [0mDe
claration or statement expec
ted.

[7m132[0m   }
[7m   [0m [91m  ~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m135[0m:[93m3[0m - [91me
rror[0m[90m TS1434: [0mUn
expected keyword or identifi
er.

[7m135[0m   async getFront
endLimits(
[7m   [0m [91m  ~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m135[0m:[93m3[0m - [91me
rror[0m[90m TS2304: [0mCa
nnot find name 'async'.

[7m135[0m   async getFront
endLimits(
[7m   [0m [91m  ~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m135[0m:[93m9[0m - [91me
rror[0m[90m TS2304: [0mCa
nnot find name 'getFrontendL
imits'.

[7m135[0m   async getFront
endLimits(
[7m   [0m [91m        ~~~
~~~~~~~~~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m136[0m:[93m5[0m - [91me
rror[0m[90m TS2304: [0mCa
nnot find name 'modelId'.

[7m136[0m     modelId: str
ing,
[7m   [0m [91m    ~~~~~~~
[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m136[0m:[93m12[0m - [91m
error[0m[90m TS1005: [0m'
,' expected.

[7m136[0m     modelId: str
ing,
[7m   [0m [91m           
~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m136[0m:[93m14[0m - [91m
error[0m[90m TS2693: [0m'
string' only refers to a typ
e, but is being used as a va
lue here.

[7m136[0m     modelId: str
ing,
[7m   [0m [91m           
  ~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m137[0m:[93m5[0m - [91me
rror[0m[90m TS2304: [0mCa
nnot find name 'userId'.

[7m137[0m     userId: stri
ng,
[7m   [0m [91m    ~~~~~~
[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m137[0m:[93m11[0m - [91m
error[0m[90m TS1005: [0m'
,' expected.

[7m137[0m     userId: stri
ng,
[7m   [0m [91m          ~
[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m137[0m:[93m13[0m - [91m
error[0m[90m TS2693: [0m'
string' only refers to a typ
e, but is being used as a va
lue here.

[7m137[0m     userId: stri
ng,
[7m   [0m [91m           
 ~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m138[0m:[93m5[0m - [91me
rror[0m[90m TS2304: [0mCa
nnot find name 'tenantId'.

[7m138[0m     tenantId?: s
tring,
[7m   [0m [91m    ~~~~~~~
~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m138[0m:[93m14[0m - [91m
error[0m[90m TS1109: [0mE
xpression expected.

[7m138[0m     tenantId?: s
tring,
[7m   [0m [91m           
  ~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m138[0m:[93m16[0m - [91m
error[0m[90m TS2693: [0m'
string' only refers to a typ
e, but is being used as a va
lue here.

[7m138[0m     tenantId?: s
tring,
[7m   [0m [91m           
    ~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m139[0m:[93m4[0m - [91me
rror[0m[90m TS1005: [0m';
' expected.

[7m139[0m   ): Promise<{
[7m   [0m [91m   ~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m139[0m:[93m6[0m - [91me
rror[0m[90m TS2365: [0mOp
erator '<' cannot be applied
 to types 'PromiseConstructo
r' and '{ maxChunkSize: any;
 maxOverlapSize: any; minOve
rlapSize: any; defaultChunkS
ize: any; defaultOverlapSize
: any; modelInfo: { name: an
y; maxInputTokens: any; maxB
atchSize: any; expectedDimen
sions: any; }; }'.

[7m139[0m   ): Promise<{
[7m   [0m [91m     ~~~~~~
~~~[0m
[7m140[0m     maxChunkSize
: number;
[7m   [0m [91m~~~~~~~~~~~
~~~~~~~~~~~~~~[0m
[7m...[0m 
[7m150[0m     };
[7m   [0m [91m~~~~~~[0m
[7m151[0m   }> {
[7m   [0m [91m~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m139[0m:[93m6[0m - [91me
rror[0m[90m TS2365: [0mOp
erator '>' cannot be applied
 to types 'boolean' and '{ c
onst: any; let: any; default
ChunkSize: any; defaultOverl
apSize: any; if(tenantId: an
y): void; else: { const: any
; if(userSettings: any): any
; if(userSettings: any): any
; "": any; defaultChunkSize:
 any; defaultOverlapSize: an
y; }; return: { ...; }; }'.

[7m139[0m   ): Promise<{
[7m   [0m [91m     ~~~~~~
~~~[0m
[7m140[0m     maxChunkSize
: number;
[7m   [0m [91m~~~~~~~~~~~
~~~~~~~~~~~~~~[0m
[7m...[0m 
[7m191[0m     };
[7m   [0m [91m~~~~~~[0m
[7m192[0m   }
[7m   [0m [91m~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m140[0m:[93m19[0m - [91m
error[0m[90m TS2693: [0m'
number' only refers to a typ
e, but is being used as a va
lue here.

[7m140[0m     maxChunkSize
: number;
[7m   [0m [91m           
       ~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m140[0m:[93m25[0m - [91m
error[0m[90m TS1005: [0m'
,' expected.

[7m140[0m     maxChunkSize
: number;
[7m   [0m [91m           
             ~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m141[0m:[93m21[0m - [91m
error[0m[90m TS2693: [0m'
number' only refers to a typ
e, but is being used as a va
lue here.

[7m141[0m     maxOverlapSi
ze: number;
[7m   [0m [91m           
         ~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m141[0m:[93m27[0m - [91m
error[0m[90m TS1005: [0m'
,' expected.

[7m141[0m     maxOverlapSi
ze: number;
[7m   [0m [91m           
               ~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m142[0m:[93m21[0m - [91m
error[0m[90m TS2693: [0m'
number' only refers to a typ
e, but is being used as a va
lue here.

[7m142[0m     minOverlapSi
ze: number;
[7m   [0m [91m           
         ~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m142[0m:[93m27[0m - [91m
error[0m[90m TS1005: [0m'
,' expected.

[7m142[0m     minOverlapSi
ze: number;
[7m   [0m [91m           
               ~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m143[0m:[93m23[0m - [91m
error[0m[90m TS2693: [0m'
number' only refers to a typ
e, but is being used as a va
lue here.

[7m143[0m     defaultChunk
Size: number;
[7m   [0m [91m           
           ~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m143[0m:[93m29[0m - [91m
error[0m[90m TS1005: [0m'
,' expected.

[7m143[0m     defaultChunk
Size: number;
[7m   [0m [91m           
                 ~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m144[0m:[93m25[0m - [91m
error[0m[90m TS2693: [0m'
number' only refers to a typ
e, but is being used as a va
lue here.

[7m144[0m     defaultOverl
apSize: number;
[7m   [0m [91m           
             ~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m144[0m:[93m31[0m - [91m
error[0m[90m TS1005: [0m'
,' expected.

[7m144[0m     defaultOverl
apSize: number;
[7m   [0m [91m           
                   ~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m146[0m:[93m13[0m - [91m
error[0m[90m TS2693: [0m'
string' only refers to a typ
e, but is being used as a va
lue here.

[7m146[0m       name: stri
ng;
[7m   [0m [91m           
 ~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m146[0m:[93m19[0m - [91m
error[0m[90m TS1005: [0m'
,' expected.

[7m146[0m       name: stri
ng;
[7m   [0m [91m           
       ~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m147[0m:[93m23[0m - [91m
error[0m[90m TS2693: [0m'
number' only refers to a typ
e, but is being used as a va
lue here.

[7m147[0m       maxInputTo
kens: number;
[7m   [0m [91m           
           ~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m147[0m:[93m29[0m - [91m
error[0m[90m TS1005: [0m'
,' expected.

[7m147[0m       maxInputTo
kens: number;
[7m   [0m [91m           
                 ~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m148[0m:[93m21[0m - [91m
error[0m[90m TS2693: [0m'
number' only refers to a typ
e, but is being used as a va
lue here.

[7m148[0m       maxBatchSi
ze: number;
[7m   [0m [91m           
         ~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m148[0m:[93m27[0m - [91m
error[0m[90m TS1005: [0m'
,' expected.

[7m148[0m       maxBatchSi
ze: number;
[7m   [0m [91m           
               ~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m149[0m:[93m27[0m - [91m
error[0m[90m TS2693: [0m'
number' only refers to a typ
e, but is being used as a va
lue here.

[7m149[0m       expectedDi
mensions: number;
[7m   [0m [91m           
               ~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m149[0m:[93m33[0m - [91m
error[0m[90m TS1005: [0m'
,' expected.

[7m149[0m       expectedDi
mensions: number;
[7m   [0m [91m           
                     ~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m150[0m:[93m6[0m - [91me
rror[0m[90m TS1005: [0m',
' expected.

[7m150[0m     };
[7m   [0m [91m     ~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m152[0m:[93m11[0m - [91m
error[0m[90m TS1005: [0m'
:' expected.

[7m152[0m     const limits
 = await this.getModelLimits
(modelId, userId, tenantId);
[7m   [0m [91m          ~
~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m152[0m:[93m11[0m - [91m
error[0m[90m TS2304: [0mC
annot find name 'limits'.

[7m152[0m     const limits
 = await this.getModelLimits
(modelId, userId, tenantId);
[7m   [0m [91m          ~
~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m152[0m:[93m26[0m - [91m
error[0m[90m TS2532: [0mO
bject is possibly 'undefined
'.

[7m152[0m     const limits
 = await this.getModelLimits
(modelId, userId, tenantId);
[7m   [0m [91m           
              ~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m152[0m:[93m46[0m - [91m
error[0m[90m TS2304: [0mC
annot find name 'modelId'.

[7m152[0m     const limits
 = await this.getModelLimits
(modelId, userId, tenantId);
[7m   [0m [91m           
                            
      ~~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m152[0m:[93m55[0m - [91m
error[0m[90m TS2304: [0mC
annot find name 'userId'.

[7m152[0m     const limits
 = await this.getModelLimits
(modelId, userId, tenantId);
[7m   [0m [91m           
                            
               ~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m152[0m:[93m63[0m - [91m
error[0m[90m TS2304: [0mC
annot find name 'tenantId'.

[7m152[0m     const limits
 = await this.getModelLimits
(modelId, userId, tenantId);
[7m   [0m [91m           
                            
                       ~~~~~
~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m152[0m:[93m72[0m - [91m
error[0m[90m TS1005: [0m'
,' expected.

[7m152[0m     const limits
 = await this.getModelLimits
(modelId, userId, tenantId);
[7m   [0m [91m           
                            
                            
    ~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m155[0m:[93m11[0m - [91m
error[0m[90m TS1005: [0m'
:' expected.

[7m155[0m     const maxChu
nkSize = Math.min(this.envMa
xChunkSize, limits.maxInputT
okens);
[7m   [0m [91m          ~
~~~~~~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m155[0m:[93m11[0m - [91m
error[0m[90m TS2304: [0mC
annot find name 'maxChunkSiz
e'.

[7m155[0m     const maxChu
nkSize = Math.min(this.envMa
xChunkSize, limits.maxInputT
okens);
[7m   [0m [91m          ~
~~~~~~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m155[0m:[93m35[0m - [91m
error[0m[90m TS2532: [0mO
bject is possibly 'undefined
'.

[7m155[0m     const maxChu
nkSize = Math.min(this.envMa
xChunkSize, limits.maxInputT
okens);
[7m   [0m [91m           
                       ~~~~
[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m155[0m:[93m57[0m - [91m
error[0m[90m TS2304: [0mC
annot find name 'limits'.

[7m155[0m     const maxChu
nkSize = Math.min(this.envMa
xChunkSize, limits.maxInputT
okens);
[7m   [0m [91m           
                            
                 ~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m155[0m:[93m79[0m - [91m
error[0m[90m TS1005: [0m'
,' expected.

[7m155[0m     const maxChu
nkSize = Math.min(this.envMa
xChunkSize, limits.maxInputT
okens);
[7m   [0m [91m           
                            
                            
           ~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m156[0m:[93m11[0m - [91m
error[0m[90m TS1005: [0m'
:' expected.

[7m156[0m     const maxOve
rlapSize = Math.min(
[7m   [0m [91m          ~
~~~~~~~~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m156[0m:[93m11[0m - [91m
error[0m[90m TS2304: [0mC
annot find name 'maxOverlapS
ize'.

[7m156[0m     const maxOve
rlapSize = Math.min(
[7m   [0m [91m          ~
~~~~~~~~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m157[0m:[93m7[0m - [91me
rror[0m[90m TS2532: [0mOb
ject is possibly 'undefined'
.

[7m157[0m       this.envMa
xOverlapSize,
[7m   [0m [91m      ~~~~
[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m158[0m:[93m18[0m - [91m
error[0m[90m TS2304: [0mC
annot find name 'maxChunkSiz
e'.

[7m158[0m       Math.floor
(maxChunkSize * this.DEFAULT
S.maxOverlapRatio),
[7m   [0m [91m           
      ~~~~~~~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m158[0m:[93m33[0m - [91m
error[0m[90m TS2532: [0mO
bject is possibly 'undefined
'.

[7m158[0m       Math.floor
(maxChunkSize * this.DEFAULT
S.maxOverlapRatio),
[7m   [0m [91m           
                     ~~~~[0
m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m159[0m:[93m6[0m - [91me
rror[0m[90m TS1005: [0m',
' expected.

[7m159[0m     );
[7m   [0m [91m     ~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m162[0m:[93m11[0m - [91m
error[0m[90m TS1005: [0m'
:' expected.

[7m162[0m     const modelC
onfig = await this.modelConf
igService.findOne(modelId, u
serId, tenantId || '');
[7m   [0m [91m          ~
~~~~~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m162[0m:[93m11[0m - [91m
error[0m[90m TS2304: [0mC
annot find name 'modelConfig
'.

[7m162[0m     const modelC
onfig = await this.modelConf
igService.findOne(modelId, u
serId, tenantId || '');
[7m   [0m [91m          ~
~~~~~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m162[0m:[93m31[0m - [91m
error[0m[90m TS2532: [0mO
bject is possibly 'undefined
'.

[7m162[0m     const modelC
onfig = await this.modelConf
igService.findOne(modelId, u
serId, tenantId || '');
[7m   [0m [91m           
                   ~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m162[0m:[93m63[0m - [91m
error[0m[90m TS2304: [0mC
annot find name 'modelId'.

[7m162[0m     const modelC
onfig = await this.modelConf
igService.findOne(modelId, u
serId, tenantId || '');
[7m   [0m [91m           
                            
                       ~~~~~
~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m162[0m:[93m72[0m - [91m
error[0m[90m TS2304: [0mC
annot find name 'userId'.

[7m162[0m     const modelC
onfig = await this.modelConf
igService.findOne(modelId, u
serId, tenantId || '');
[7m   [0m [91m           
                            
                            
    ~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m162[0m:[93m80[0m - [91m
error[0m[90m TS2304: [0mC
annot find name 'tenantId'.

[7m162[0m     const modelC
onfig = await this.modelConf
igService.findOne(modelId, u
serId, tenantId || '');
[7m   [0m [91m           
                            
                            
            ~~~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m162[0m:[93m95[0m - [91m
error[0m[90m TS1005: [0m'
,' expected.

[7m162[0m     const modelC
onfig = await this.modelConf
igService.findOne(modelId, u
serId, tenantId || '');
[7m   [0m [91m           
                            
                            
                           ~
[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m163[0m:[93m11[0m - [91m
error[0m[90m TS1005: [0m'
:' expected.

[7m163[0m     const modelN
ame = modelConfig?.name || '
Unknown';
[7m   [0m [91m          ~
~~~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m163[0m:[93m11[0m - [91m
error[0m[90m TS2304: [0mC
annot find name 'modelName'.

[7m163[0m     const modelN
ame = modelConfig?.name || '
Unknown';
[7m   [0m [91m          ~
~~~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m163[0m:[93m23[0m - [91m
error[0m[90m TS2304: [0mC
annot find name 'modelConfig
'.

[7m163[0m     const modelN
ame = modelConfig?.name || '
Unknown';
[7m   [0m [91m           
           ~~~~~~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m163[0m:[93m53[0m - [91m
error[0m[90m TS1005: [0m'
,' expected.

[7m163[0m     const modelN
ame = modelConfig?.name || '
Unknown';
[7m   [0m [91m           
                            
             ~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m166[0m:[93m5[0m - [91me
rror[0m[90m TS18004: [0mN
o value exists in scope for 
the shorthand property 'let'
. Either declare one or prov
ide an initializer.

[7m166[0m     let defaultC
hunkSize = this.DEFAULTS.chu
nkSize;
[7m   [0m [91m    ~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m166[0m:[93m9[0m - [91me
rror[0m[90m TS1005: [0m',
' expected.

[7m166[0m     let defaultC
hunkSize = this.DEFAULTS.chu
nkSize;
[7m   [0m [91m        ~~~
~~~~~~~~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m166[0m:[93m28[0m - [91m
error[0m[90m TS2532: [0mO
bject is possibly 'undefined
'.

[7m166[0m     let defaultC
hunkSize = this.DEFAULTS.chu
nkSize;
[7m   [0m [91m           
                ~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m166[0m:[93m51[0m - [91m
error[0m[90m TS1005: [0m'
,' expected.

[7m166[0m     let defaultC
hunkSize = this.DEFAULTS.chu
nkSize;
[7m   [0m [91m           
                            
           ~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m167[0m:[93m5[0m - [91me
rror[0m[90m TS18004: [0mN
o value exists in scope for 
the shorthand property 'let'
. Either declare one or prov
ide an initializer.

[7m167[0m     let defaultO
verlapSize = this.DEFAULTS.c
hunkOverlap;
[7m   [0m [91m    ~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m167[0m:[93m9[0m - [91me
rror[0m[90m TS1005: [0m',
' expected.

[7m167[0m     let defaultO
verlapSize = this.DEFAULTS.c
hunkOverlap;
[7m   [0m [91m        ~~~
~~~~~~~~~~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m167[0m:[93m30[0m - [91m
error[0m[90m TS2532: [0mO
bject is possibly 'undefined
'.

[7m167[0m     let defaultO
verlapSize = this.DEFAULTS.c
hunkOverlap;
[7m   [0m [91m           
                  ~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m167[0m:[93m56[0m - [91m
error[0m[90m TS1005: [0m'
,' expected.

[7m167[0m     let defaultO
verlapSize = this.DEFAULTS.c
hunkOverlap;
[7m   [0m [91m           
                            
                ~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m171[0m:[93m37[0m - [91m
error[0m[90m TS2304: [0mC
annot find name 'defaultChun
kSize'.

[7m171[0m       if (tenant
Settings.chunkSize) defaultC
hunkSize = tenantSettings.ch
unkSize;
[7m   [0m [91m           
                         ~~~
~~~~~~~~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m172[0m:[93m40[0m - [91m
error[0m[90m TS2304: [0mC
annot find name 'defaultOver
lapSize'.

[7m172[0m       if (tenant
Settings.chunkOverlap) defau
ltOverlapSize = tenantSettin
gs.chunkOverlap;
[7m   [0m [91m           
                            
~~~~~~~~~~~~~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m173[0m:[93m7[0m - [91me
rror[0m[90m TS1005: [0m',
' expected.

[7m173[0m     } else {
[7m   [0m [91m      ~~~~
[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m173[0m:[93m12[0m - [91m
error[0m[90m TS1005: [0m'
:' expected.

[7m173[0m     } else {
[7m   [0m [91m           
~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m174[0m:[93m13[0m - [91m
error[0m[90m TS1005: [0m'
:' expected.

[7m174[0m       const user
Settings = await this.userSe
ttingService.findOrCreate(us
erId);
[7m   [0m [91m           
 ~~~~~~~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m174[0m:[93m13[0m - [91m
error[0m[90m TS2304: [0mC
annot find name 'userSetting
s'.

[7m174[0m       const user
Settings = await this.userSe
ttingService.findOrCreate(us
erId);
[7m   [0m [91m           
 ~~~~~~~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m174[0m:[93m34[0m - [91m
error[0m[90m TS2532: [0mO
bject is possibly 'undefined
'.

[7m174[0m       const user
Settings = await this.userSe
ttingService.findOrCreate(us
erId);
[7m   [0m [91m           
                      ~~~~[
0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m174[0m:[93m71[0m - [91m
error[0m[90m TS2304: [0mC
annot find name 'userId'.

[7m174[0m       const user
Settings = await this.userSe
ttingService.findOrCreate(us
erId);
[7m   [0m [91m           
                            
                            
   ~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m174[0m:[93m78[0m - [91m
error[0m[90m TS1005: [0m'
,' expected.

[7m174[0m       const user
Settings = await this.userSe
ttingService.findOrCreate(us
erId);
[7m   [0m [91m           
                            
                            
          ~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m175[0m:[93m23[0m - [91m
error[0m[90m TS1005: [0m'
,' expected.

[7m175[0m       if (userSe
ttings.chunkSize) defaultChu
nkSize = userSettings.chunkS
ize;
[7m   [0m [91m           
           ~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m175[0m:[93m33[0m - [91m
error[0m[90m TS1005: [0m'
,' expected.

[7m175[0m       if (userSe
ttings.chunkSize) defaultChu
nkSize = userSettings.chunkS
ize;
[7m   [0m [91m           
                     ~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m175[0m:[93m54[0m - [91m
error[0m[90m TS2304: [0mC
annot find name 'userSetting
s'.

[7m175[0m       if (userSe
ttings.chunkSize) defaultChu
nkSize = userSettings.chunkS
ize;
[7m   [0m [91m           
                            
              ~~~~~~~~~~~~[
0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m175[0m:[93m76[0m - [91m
error[0m[90m TS1005: [0m'
,' expected.

[7m175[0m       if (userSe
ttings.chunkSize) defaultChu
nkSize = userSettings.chunkS
ize;
[7m   [0m [91m           
                            
                            
        ~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m176[0m:[93m23[0m - [91m
error[0m[90m TS1005: [0m'
,' expected.

[7m176[0m       if (userSe
ttings.chunkOverlap) default
OverlapSize = userSettings.c
hunkOverlap;
[7m   [0m [91m           
           ~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m176[0m:[93m36[0m - [91m
error[0m[90m TS1005: [0m'
,' expected.

[7m176[0m       if (userSe
ttings.chunkOverlap) default
OverlapSize = userSettings.c
hunkOverlap;
[7m   [0m [91m           
                        ~[0
m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m176[0m:[93m59[0m - [91m
error[0m[90m TS2304: [0mC
annot find name 'userSetting
s'.

[7m176[0m       if (userSe
ttings.chunkOverlap) default
OverlapSize = userSettings.c
hunkOverlap;
[7m   [0m [91m           
                            
                   ~~~~~~~~~
~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m176[0m:[93m84[0m - [91m
error[0m[90m TS1005: [0m'
,' expected.

[7m176[0m       if (userSe
ttings.chunkOverlap) default
OverlapSize = userSettings.c
hunkOverlap;
[7m   [0m [91m           
                            
                            
                ~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m179[0m:[93m5[0m - [91me
rror[0m[90m TS1005: [0m',
' expected.

[7m179[0m     return {
[7m   [0m [91m    ~~~~~~
[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m179[0m:[93m12[0m - [91m
error[0m[90m TS1005: [0m'
:' expected.

[7m179[0m     return {
[7m   [0m [91m           
~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m180[0m:[93m7[0m - [91me
rror[0m[90m TS18004: [0mN
o value exists in scope for 
the shorthand property 'maxC
hunkSize'. Either declare on
e or provide an initializer.

[7m180[0m       maxChunkSi
ze,
[7m   [0m [91m      ~~~~~
~~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m181[0m:[93m7[0m - [91me
rror[0m[90m TS18004: [0mN
o value exists in scope for 
the shorthand property 'maxO
verlapSize'. Either declare 
one or provide an initialize
r.

[7m181[0m       maxOverlap
Size,
[7m   [0m [91m      ~~~~~
~~~~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m182[0m:[93m23[0m - [91m
error[0m[90m TS2532: [0mO
bject is possibly 'undefined
'.

[7m182[0m       minOverlap
Size: this.DEFAULTS.minChunk
Overlap,
[7m   [0m [91m           
           ~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m183[0m:[93m34[0m - [91m
error[0m[90m TS2304: [0mC
annot find name 'defaultChun
kSize'.

[7m183[0m       defaultChu
nkSize: Math.min(defaultChun
kSize, maxChunkSize),
[7m   [0m [91m           
                      ~~~~~~
~~~~~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m183[0m:[93m52[0m - [91m
error[0m[90m TS2304: [0mC
annot find name 'maxChunkSiz
e'.

[7m183[0m       defaultChu
nkSize: Math.min(defaultChun
kSize, maxChunkSize),
[7m   [0m [91m           
                            
            ~~~~~~~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m184[0m:[93m36[0m - [91m
error[0m[90m TS2532: [0mO
bject is possibly 'undefined
'.

[7m184[0m       defaultOve
rlapSize: Math.max(this.DEFA
ULTS.minChunkOverlap, Math.m
in(defaultOverlapSize, maxOv
erlapSize)),
[7m   [0m [91m           
                        ~~~~
[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m184[0m:[93m76[0m - [91m
error[0m[90m TS2304: [0mC
annot find name 'defaultOver
lapSize'.

[7m184[0m       defaultOve
rlapSize: Math.max(this.DEFA
ULTS.minChunkOverlap, Math.m
in(defaultOverlapSize, maxOv
erlapSize)),
[7m   [0m [91m           
                            
                            
        ~~~~~~~~~~~~~~~~~~[
0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m184[0m:[93m96[0m - [91m
error[0m[90m TS2304: [0mC
annot find name 'maxOverlapS
ize'.

[7m184[0m       defaultOve
rlapSize: Math.max(this.DEFA
ULTS.minChunkOverlap, Math.m
in(defaultOverlapSize, maxOv
erlapSize)),
[7m   [0m [91m           
                            
                            
                            
~~~~~~~~~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m186[0m:[93m15[0m - [91m
error[0m[90m TS2304: [0mC
annot find name 'modelName'.

[7m186[0m         name: mo
delName,
[7m   [0m [91m           
   ~~~~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m187[0m:[93m25[0m - [91m
error[0m[90m TS2304: [0mC
annot find name 'limits'.

[7m187[0m         maxInput
Tokens: limits.maxInputToken
s,
[7m   [0m [91m           
             ~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m188[0m:[93m23[0m - [91m
error[0m[90m TS2304: [0mC
annot find name 'limits'.

[7m188[0m         maxBatch
Size: limits.maxBatchSize,
[7m   [0m [91m           
           ~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m189[0m:[93m29[0m - [91m
error[0m[90m TS2304: [0mC
annot find name 'limits'.

[7m189[0m         expected
Dimensions: limits.expectedD
imensions,
[7m   [0m [91m           
                 ~~~~~~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m191[0m:[93m6[0m - [91me
rror[0m[90m TS1005: [0m',
' expected.

Found 221 error(s).

[7m191[0m     };
[7m   [0m [91m     ~[0m
[96msrc/knowledge-base/chun
k-config.service.ts[0m:[93
m193[0m:[93m1[0m - [91me
rror[0m[90m TS1128: [0mDe
claration or statement expec
ted.

[7m193[0m }
[7m   [0m [91m~[0m
[96msrc/knowledge-base/know
ledge-base.controller.ts[0m
:[93m25[0m:[93m10[0m - 
[91merror[0m[90m TS2305: 
[0mModule '"./chunk-config.s
ervice"' has no exported mem
ber 'ChunkConfigService'.

[7m25[0m import { ChunkCon
figService } from './chunk-c
onfig.service';
[7m  [0m [91m         ~~~
~~~~~~~~~~~~~~~[0m
[96msrc/knowledge-base/know
ledge-base.module.ts[0m:[9
3m16[0m:[93m10[0m - [91m
error[0m[90m TS2305: [0mM
odule '"./chunk-config.servi
ce"' has no exported member 
'ChunkConfigService'.

[7m16[0m import { ChunkCon
figService } from './chunk-c
onfig.service';
[7m  [0m [91m         ~~~
~~~~~~~~~~~~~~~[0m
[96msrc/knowledge-base/know
ledge-base.service.ts[0m:[
93m19[0m:[93m10[0m - [91
merror[0m[90m TS2305: [0m
Module '"./chunk-config.serv
ice"' has no exported member
 'ChunkConfigService'.

[7m19[0m import { ChunkCon
figService } from './chunk-c
onfig.service';
[7m  [0m [91m         ~~~
~~~~~~~~~~~~~~~[0m

npm error Lifecycle script `
build` failed with error:
npm error code 1
npm error path D:\workspace\
AuraK\server
npm error workspace server@0
.0.1
npm error location D:\worksp
ace\AuraK\server
npm error command failed
npm error command C:\Windows
\system32\cmd.exe /d /s /c n
est build
