Context
Markdown is a common format for documents ingested into vector systems and has more exploitable structure than simple text.
This task is to create an vecs.adapters.base.AdapterStep that handles chunking markdown by heading.
Ideally it would also accept parameters for
- The maximum number of words in each chunk
e.g.
from vecs.adapters import MarkdownChunker
MarkdownChunker(
max_tokens=512
)