diff --git a/models/dummy_model.py b/models/dummy_model.py index c19f16354255be9974ddac2e9271181113664fad..0927299b18de033606ebfb74141e9f59aed8677c 100644 --- a/models/dummy_model.py +++ b/models/dummy_model.py @@ -1,18 +1,18 @@ from typing import List + class DummyModel: def __init__(self): """ Initialize your models here """ pass - def generate_answer(self, query: str, search_results: List[str], character_limit: int) -> str: + def generate_answer(self, query: str, search_results: List[str]) -> str: """ You will be provided with a query and the corresponding pre-cached search results for the query Inputs - query - String representing the input query search_results - List of strings, each comes from scraped HTML text of the search query - character_limit - A maximum character limit for the answer (can vary per query) Returns - string response - Your answer in plain text, should be limited to the character limit, Any longer responses will be trimmed to meet the character limit