mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-12-01 17:43:15 +00:00
Add Brave Search retriever and update application files
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
import json
|
||||
import ast
|
||||
from application.retriever.base import BaseRetriever
|
||||
from application.core.settings import settings
|
||||
from application.llm.llm_creator import LLMCreator
|
||||
@@ -33,7 +31,6 @@ class DuckDuckSearch(BaseRetriever):
|
||||
elif inside_brackets:
|
||||
current_item += char
|
||||
|
||||
# Check if there is an unmatched opening bracket at the end
|
||||
if inside_brackets:
|
||||
result.append(current_item)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user