def monkey_patch_vector_store_index() -> VectorStoreIndex:  # I did write this part..
    """Returns a monkey-patched vector store index to simulate hybrid retrieval behavior."""
    import sys

    print(sys.executable)

    loader = StringIterableReader()

    documents = loader.load_data(
        texts=[
            "This is a test document.",
            "This is another test document.",
            "This is a third test document.",
        ]
    )

    return VectorStoreIndex.from_documents(documents)
Returns a monkey-patched vector store index to simulate hybrid retrieval behavior.
llama-index-packs/llama-index-packs-koda-retriever/tests/monkeypatch.py