(url: string)
| 217 | } |
| 218 | |
| 219 | private static async getDocuments(url: string) { |
| 220 | const dir = `.db/crawl/${StringUtils.clean(url)}`; |
| 221 | const files = await FileStore.read({ dir }); |
| 222 | return files.map(({ content }) => { |
| 223 | return new Document(JSON.parse(content)); |
| 224 | }); |
| 225 | } |
| 226 | |
| 227 | @measure |
| 228 | static async generateQuestionAnswerSummary(input: string[]) { |
no test coverage detected