Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
Fix typo in retrieve_api.py (#4064)
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamgonfly authored Oct 9, 2021
1 parent f034747 commit e3f0766
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parlai/agents/rag/retrieve_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit e3f0766

Please sign in to comment.