Fix typing issues for mypy (#372)

This commit is contained in:
sabaimran
2023-07-31 02:27:48 +00:00
committed by GitHub
parent ca2c942b65
commit 88ef86ad5c
2 changed files with 3 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ def extract_questions_offline(
conversation_log={}, conversation_log={},
use_history: bool = True, use_history: bool = True,
should_extract_questions: bool = True, should_extract_questions: bool = True,
): ) -> List[str]:
""" """
Infer search queries to retrieve relevant notes to answer user query Infer search queries to retrieve relevant notes to answer user query
""" """

View File

@@ -703,8 +703,8 @@ async def extract_references_and_questions(
# Initialize Variables # Initialize Variables
conversation_type = "general" if q.startswith("@general") else "notes" conversation_type = "general" if q.startswith("@general") else "notes"
compiled_references = List[Any] compiled_references: List[Any] = []
inferred_queries = List[Any] inferred_queries: List[str] = []
if state.content_index is None: if state.content_index is None:
logger.warn( logger.warn(