From e3f0766097c376c11c12686e2b16bb5cfcc6ac17 Mon Sep 17 00:00:00 2001 From: Yongrae Jo Date: Sat, 9 Oct 2021 10:42:14 +0900 Subject: [PATCH] Fix typo in retrieve_api.py (#4064) --- parlai/agents/rag/retrieve_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parlai/agents/rag/retrieve_api.py b/parlai/agents/rag/retrieve_api.py index 967440a4394..51a7274901b 100644 --- a/parlai/agents/rag/retrieve_api.py +++ b/parlai/agents/rag/retrieve_api.py @@ -100,7 +100,7 @@ def _validate_server(self, address): if address.startswith('http://') or address.startswith('https://'): return address PROTOCOL = 'http://' - logging.warning(f'No portocol provided, using "{PROTOCOL}"') + logging.warning(f'No protocol provided, using "{PROTOCOL}"') return f'{PROTOCOL}{address}' def _retrieve_single(self, search_query: str, num_ret: int):