Add Brave Search retriever and update application files

This commit is contained in:
Alex
2024-04-09 17:11:09 +01:00
parent 19494685ba
commit e03e185d30
5 changed files with 94 additions and 4 deletions

View File

@@ -251,6 +251,20 @@ def combined_json():
"location": "custom",
}
)
if 'brave_search' in settings.RETRIEVERS_ENABLED:
data.append(
{
"name": "Brave Search",
"language": "en",
"version": "",
"description": "brave_search",
"fullName": "Brave Search",
"date": "brave_search",
"docLink": "brave_search",
"model": settings.EMBEDDINGS_NAME,
"location": "custom",
}
)
return jsonify(data)