fix: chunk_overlap=100 per assignment spec
This commit is contained in:
1 parent
25dbe6a8d1
commit
b2c437bf4d
1 file changed
+1
-1
+1
-1
@@ -53,7 +53,7 @@ def get_vector_store() -> QdrantVectorStore:
|
|||||||
def chunk_document(content: str, title: str) -> list[Document]:
|
def chunk_document(content: str, title: str) -> list[Document]:
|
||||||
splitter = RecursiveCharacterTextSplitter(
|
splitter = RecursiveCharacterTextSplitter(
|
||||||
chunk_size=500,
|
chunk_size=500,
|
||||||
chunk_overlap=50,
|
chunk_overlap=100,
|
||||||
)
|
)
|
||||||
documents = splitter.create_documents(
|
documents = splitter.create_documents(
|
||||||
texts=[content],
|
texts=[content],
|
||||||
|
|||||||
Reference in new issue
Block a user