mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-18 20:17:50 +00:00
sync
This commit is contained in:
parent
dba358e475
commit
dacdf3e077
9
app.py
9
app.py
@ -30,6 +30,7 @@ import pipmaster as pm
|
|||||||
ASCIIColors.success("OK")
|
ASCIIColors.success("OK")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def animate(text: str, stop_event: threading.Event):
|
def animate(text: str, stop_event: threading.Event):
|
||||||
animation = "⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏"
|
animation = "⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏"
|
||||||
idx = 0
|
idx = 0
|
||||||
@ -70,9 +71,15 @@ packages: List[Tuple[str, str]] = [
|
|||||||
("freedom_search", "0.1.9"),
|
("freedom_search", "0.1.9"),
|
||||||
("scrapemaster", "0.2.1"),
|
("scrapemaster", "0.2.1"),
|
||||||
("lollms_client", "0.7.7"),
|
("lollms_client", "0.7.7"),
|
||||||
("lollmsvectordb", "1.2.7"),
|
("lollmsvectordb", "1.2.8"),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if pm.is_installed("einops"):
|
||||||
|
pm.install("einops")
|
||||||
|
if pm.is_installed("datasets"):
|
||||||
|
pm.install("datasets")
|
||||||
|
#einops datasets
|
||||||
|
|
||||||
def check_pn_libs():
|
def check_pn_libs():
|
||||||
ASCIIColors.cyan("Checking ParisNeo libraries installation")
|
ASCIIColors.cyan("Checking ParisNeo libraries installation")
|
||||||
print()
|
print()
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# =================== Lord Of Large Language Multimodal Systems Configuration file ===========================
|
# =================== Lord Of Large Language Multimodal Systems Configuration file ===========================
|
||||||
version: 145
|
version: 146
|
||||||
|
|
||||||
# video viewing and news recovering
|
# video viewing and news recovering
|
||||||
last_viewed_video: null
|
last_viewed_video: null
|
||||||
@ -283,6 +283,7 @@ rag_databases: [] # This is the list of paths to database sources. Each database
|
|||||||
rag_vectorizer: semantic # possible values semantic, tfidf, openai, ollama
|
rag_vectorizer: semantic # possible values semantic, tfidf, openai, ollama
|
||||||
rag_service_url: "http://localhost:11434" # rag service url for ollama
|
rag_service_url: "http://localhost:11434" # rag service url for ollama
|
||||||
rag_vectorizer_model: "BAAI/bge-m3" # The model name if applicable
|
rag_vectorizer_model: "BAAI/bge-m3" # The model name if applicable
|
||||||
|
rag_vectorizer_execute_remote_code: false # do not execute remote code or do
|
||||||
rag_vectorizer_parameters: null # Parameters of the model in json format
|
rag_vectorizer_parameters: null # Parameters of the model in json format
|
||||||
rag_chunk_size: 512 # number of tokens per chunk
|
rag_chunk_size: 512 # number of tokens per chunk
|
||||||
rag_overlap: 0 # number of tokens of overlap
|
rag_overlap: 0 # number of tokens of overlap
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 39e7d5ea3e6bf838663f56c60b5f01643e240027
|
Subproject commit e030d32675632438891a7fd5b3084d200e14d974
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
4
web/dist/index.html
vendored
4
web/dist/index.html
vendored
@ -6,8 +6,8 @@
|
|||||||
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js"></script>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>LoLLMS WebUI</title>
|
<title>LoLLMS WebUI</title>
|
||||||
<script type="module" crossorigin src="/assets/index-Jw3bEM7C.js"></script>
|
<script type="module" crossorigin src="/assets/index-sF4e5ZRd.js"></script>
|
||||||
<link rel="stylesheet" crossorigin href="/assets/index-gFczogus.css">
|
<link rel="stylesheet" crossorigin href="/assets/index-CgKrUHEu.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
|
@ -1133,6 +1133,20 @@
|
|||||||
</select>
|
</select>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td style="min-width: 200px;">
|
||||||
|
<label for="rag_vectorizer_execute_remote_code" class="text-sm font-bold" style="margin-right: 1rem;">Allow executing remote code:</label>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<input v-model="configFile.rag_vectorizer_execute_remote_code"
|
||||||
|
type="checkbox"
|
||||||
|
@change="settingsChanged=true"
|
||||||
|
class="w-5 mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"
|
||||||
|
>
|
||||||
|
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td style="min-width: 200px;">
|
<td style="min-width: 200px;">
|
||||||
<label for="rag_vectorizer_model" class="text-sm font-bold" style="margin-right: 1rem;">RAG Vectorizer model:</label>
|
<label for="rag_vectorizer_model" class="text-sm font-bold" style="margin-right: 1rem;">RAG Vectorizer model:</label>
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 8d3798f08ee6d056887663b59a6c00bccf06825b
|
Subproject commit 7a90b26a1b806ffa0b9b47e4e83492c55e4df7ba
|
Loading…
Reference in New Issue
Block a user