puuuuush
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ def generate_chunks(content):
|
||||
file.close()
|
||||
|
||||
embed_model = OllamaEmbedding(model_name="mxbai-embed-large")
|
||||
splitter = SemanticSplitterNodeParser(buffer_size=5, breakpoint_percentile_threshold=70, embed_model=embed_model)
|
||||
splitter = SemanticSplitterNodeParser(buffer_size=5, breakpoint_percentile_threshold=45, embed_model=embed_model)
|
||||
|
||||
document = SimpleDirectoryReader(input_files=["./temp.txt"]).load_data()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user