Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -225,7 +225,7 @@ def rag_workflow(query):
|
|
225 |
def initialize():
|
226 |
global vectorstore, chunks, llm
|
227 |
|
228 |
-
partial_paths = ['kadi-apy-master/
|
229 |
file_paths = ['kadi-apy-master/docs/source/usage/lib.rst']
|
230 |
all_texts, file_references = process_directory(REPOSITORY_DIRECTORY, partial_paths, file_paths)
|
231 |
chunks = split_into_chunks(all_texts, file_references, 512, 0)
|
|
|
225 |
def initialize():
|
226 |
global vectorstore, chunks, llm
|
227 |
|
228 |
+
partial_paths = ['kadi-apy-master/docs/source/setup/', 'kadi-apy-master/kadi_apy/lib/']
|
229 |
file_paths = ['kadi-apy-master/docs/source/usage/lib.rst']
|
230 |
all_texts, file_references = process_directory(REPOSITORY_DIRECTORY, partial_paths, file_paths)
|
231 |
chunks = split_into_chunks(all_texts, file_references, 512, 0)
|