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