mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-30 09:08:51 +00:00
added global databases
This commit is contained in:
parent
8e7f29c3cd
commit
8a05493128
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 @@
|
|||||||
|
|
||||||
<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 - Welcome</title>
|
<title>LoLLMS WebUI - Welcome</title>
|
||||||
<script type="module" crossorigin src="/assets/index-19c8685c.js"></script>
|
<script type="module" crossorigin src="/assets/index-f484b744.js"></script>
|
||||||
<link rel="stylesheet" href="/assets/index-0938ac6a.css">
|
<link rel="stylesheet" href="/assets/index-a28785bd.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
|
@ -477,9 +477,9 @@ export default {
|
|||||||
return Array.isArray(this.dataSourceNames) && this.dataSourceNames.length > 0;
|
return Array.isArray(this.dataSourceNames) && this.dataSourceNames.length > 0;
|
||||||
},
|
},
|
||||||
dataSourceNames() {
|
dataSourceNames() {
|
||||||
console.log("dataSourceNames", this.$store.state.config.data_sources);
|
console.log("dataSourceNames", this.$store.state.config.rag_databases);
|
||||||
// Extract the names from the data_sources array and transform them into the desired format
|
// Extract the names from the rag_databases array and transform them into the desired format
|
||||||
const formattedDataSources = this.$store.state.config.data_sources.map(dataSource => {
|
const formattedDataSources = this.$store.state.config.rag_databases.map(dataSource => {
|
||||||
console.log("entry", dataSource);
|
console.log("entry", dataSource);
|
||||||
const parts = dataSource.split('::');
|
const parts = dataSource.split('::');
|
||||||
console.log("extracted", parts[0]);
|
console.log("extracted", parts[0]);
|
||||||
|
Loading…
Reference in New Issue
Block a user