Spaces:
Runtime error
Runtime error
gkrthk
commited on
Commit
·
08981b3
1
Parent(s):
7e976dc
fix error
Browse files- confluence_qa.py +1 -1
confluence_qa.py
CHANGED
@@ -20,7 +20,7 @@ class ConfluenceQA:
|
|
20 |
def store_in_vector_db(self) -> None:
|
21 |
config = self.config
|
22 |
loader = ConfluenceLoader(
|
23 |
-
url=config.
|
24 |
)
|
25 |
documents = loader.load(include_attachments=config.includeAttachements, limit=50, space_key=config.space_key)
|
26 |
text_splitter = RecursiveCharacterTextSplitter(chunk_size=1000, chunk_overlap=150)
|
|
|
20 |
def store_in_vector_db(self) -> None:
|
21 |
config = self.config
|
22 |
loader = ConfluenceLoader(
|
23 |
+
url=config.confluence_url, username=config.username, api_key=config.api_key
|
24 |
)
|
25 |
documents = loader.load(include_attachments=config.includeAttachements, limit=50, space_key=config.space_key)
|
26 |
text_splitter = RecursiveCharacterTextSplitter(chunk_size=1000, chunk_overlap=150)
|