def mock_extract_keywords_response(
    text_chunk: str, max_keywords: Optional[int] = None, filter_stopwords: bool = True
) -> str:
    """
    Extract keywords mock response.

    Same as simple_extract_keywords but without filtering stopwords.

    """
    return ",".join(
        simple_extract_keywords(
            text_chunk, max_keywords=max_keywords, filter_stopwords=False
        )
    )

    Extract keywords mock response.

    Same as simple_extract_keywords but without filtering stopwords.

    
llama-index-core/tests/mock_utils/mock_utils.py