Add @mantine/hooks dependency and update PlaygroundChat component

This commit is contained in:
n4ze3m
2024-02-25 21:17:27 +05:30
parent 86d4d53693
commit 094615498c
13 changed files with 99 additions and 40 deletions

View File

@@ -41,7 +41,7 @@ export class PageAssistHtmlLoader
]
})
const text = htmlCompiler(html)
const metadata = { source: this.url }
const metadata = { url: this.url }
return [new Document({ pageContent: text, metadata })]
}
}