(docs: string[], separator: string)
| 67 | } |
| 68 | |
| 69 | private joinDocs(docs: string[], separator: string): string | null { |
| 70 | const text = docs.join(separator).trim(); |
| 71 | return text === '' ? null : text; |
| 72 | } |
| 73 | |
| 74 | async createChunks(content: string): Promise<string[]> { |
| 75 | const chunks = await this.splitText(content); |