Spaces:
Sleeping
Sleeping
Logeswaransr
commited on
Commit
•
55e433e
1
Parent(s):
0cd1a30
Update interaction.py
Browse files- interaction.py +1 -1
interaction.py
CHANGED
@@ -10,7 +10,7 @@ def init_pipeline():
|
|
10 |
path = 'RAG Files/'
|
11 |
files = os.listdir(path)
|
12 |
document_Store = init_doc_store(path, files)
|
13 |
-
retreiver, prompt_builder, generator = define_components(document_Store)
|
14 |
pipeline = define_pipeline(retreiver, prompt_builder, generator)
|
15 |
return pipeline
|
16 |
|
|
|
10 |
path = 'RAG Files/'
|
11 |
files = os.listdir(path)
|
12 |
document_Store = init_doc_store(path, files)
|
13 |
+
retreiver, prompt_builder, generator = define_components(document_Store, API_Key)
|
14 |
pipeline = define_pipeline(retreiver, prompt_builder, generator)
|
15 |
return pipeline
|
16 |
|