From 9478bab04ef8080e93899e72a839bc732950f356 Mon Sep 17 00:00:00 2001 From: Oskar Date: Fri, 9 Feb 2024 17:21:52 +0100 Subject: [PATCH] Fix links to the Discourse docs in the Discourse Loader (#1251) --- embedchain/loaders/discourse.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/embedchain/loaders/discourse.py b/embedchain/loaders/discourse.py index 22c158ab..b16e4d4c 100644 --- a/embedchain/loaders/discourse.py +++ b/embedchain/loaders/discourse.py @@ -14,19 +14,19 @@ class DiscourseLoader(BaseLoader): super().__init__() if not config: raise ValueError( - "DiscourseLoader requires a config. Check the documentation for the correct format - `https://docs.embedchain.ai/data-sources/discourse`" # noqa: E501 + "DiscourseLoader requires a config. Check the documentation for the correct format - `https://docs.embedchain.ai/components/data-sources/discourse`" # noqa: E501 ) self.domain = config.get("domain") if not self.domain: raise ValueError( - "DiscourseLoader requires a domain. Check the documentation for the correct format - `https://docs.embedchain.ai/data-sources/discourse`" # noqa: E501 + "DiscourseLoader requires a domain. Check the documentation for the correct format - `https://docs.embedchain.ai/components/data-sources/discourse`" # noqa: E501 ) def _check_query(self, query): if not query or not isinstance(query, str): raise ValueError( - "DiscourseLoader requires a query. Check the documentation for the correct format - `https://docs.embedchain.ai/data-sources/discourse`" # noqa: E501 + "DiscourseLoader requires a query. Check the documentation for the correct format - `https://docs.embedchain.ai/components/data-sources/discourse`" # noqa: E501 ) def _load_post(self, post_id):