Spaces:
Runtime error
Runtime error
Commit
•
54bc607
1
Parent(s):
5c0edc2
Update model_pipelineV2.py
Browse files- model_pipelineV2.py +1 -1
model_pipelineV2.py
CHANGED
@@ -36,7 +36,7 @@ class ModelPipeLine:
|
|
36 |
DEFAULT_DOCUMENT_PROMPT = PromptTemplate.from_template(template="{page_content}")
|
37 |
def __init__(self):
|
38 |
self.curr_dir = os.path.dirname(__file__)
|
39 |
-
self.knowledge_dir =
|
40 |
self.prompt_dir = 'prompts'
|
41 |
self.child_splitter = RecursiveCharacterTextSplitter(chunk_size=200)
|
42 |
self.parent_splitter = RecursiveCharacterTextSplitter(chunk_size=500)
|
|
|
36 |
DEFAULT_DOCUMENT_PROMPT = PromptTemplate.from_template(template="{page_content}")
|
37 |
def __init__(self):
|
38 |
self.curr_dir = os.path.dirname(__file__)
|
39 |
+
self.knowledge_dir = 'knowledge'
|
40 |
self.prompt_dir = 'prompts'
|
41 |
self.child_splitter = RecursiveCharacterTextSplitter(chunk_size=200)
|
42 |
self.parent_splitter = RecursiveCharacterTextSplitter(chunk_size=500)
|