Skip to content

Commit 7f9236a

Browse files
authored
#issue 94 solved, check ingested files and retry n times at delay of m if failed (#112)
Signed-off-by: RAWx18 <[email protected]>
1 parent 84c3e2a commit 7f9236a

File tree

3 files changed

+297
-151
lines changed

3 files changed

+297
-151
lines changed

src/mvt/config.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,6 @@ system_prompt: "You are an assistant for question-answering tasks that are relat
1616
use_query_rewriting: false # Set to true to enable query rewriting
1717
query_rewriting_prompt: "You are an assistant helping to rewrite user queries to make them more specific and effective for searching documents. The context is the Linux Foundation Decentralized Trust former Hyperledger. Please rewrite the human query to be more specific, detailed, and optimized for document retrieval, considering the context mentioned."
1818
logo_pth: "https://upload.wikimedia.org/wikipedia/en/thumb/e/e2/The_Founder_Institute_Logo.png/250px-The_Founder_Institute_Logo.png"
19-
nr_retrieved_documents: 5
19+
nr_retrieved_documents: 5
20+
max_download_retries: 3 # Number of retry attempts for failed downloads
21+
retry_delay_seconds: 2 # Base delay between retries (increases with each attempt)

0 commit comments

Comments
 (0)