Chunking and search by hand """ from gitsource import chunk_documents chunks = chunk_documents(documents, size=2000, step=1000) # We embed every chunk's content with encode_batch, stack the vectors ...