Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
lmp_web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yujian
lmp_web
Commits
f2b9b2b4
Commit
f2b9b2b4
authored
Jan 04, 2024
by
mhw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
ce4b5716
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
3 additions
and
7 deletions
+3
-7
development.js
src/core/config/development.js
+1
-1
index.vue
...e/testOnline/components/contentView/filePreview/index.vue
+0
-2
index.vue
...ning/modelService/testOnline/components/leftBox/index.vue
+0
-1
index.vue
...ing/modelService/testOnline/components/rightBox/index.vue
+0
-1
index-2.vue
src/views/welcome/index-2.vue
+2
-2
No files found.
src/core/config/development.js
View file @
f2b9b2b4
module
.
exports
=
{
baseUrl
:
'http://192.168.0.3
6
:8082/'
,
baseUrl
:
'http://192.168.0.3
4
:8082/'
,
wsUrl
:
'ws://192.168.0.36:7860/'
,
projectName
:
'灵境大模型平台'
}
src/views/gptTraining/modelService/testOnline/components/contentView/filePreview/index.vue
View file @
f2b9b2b4
...
...
@@ -57,7 +57,6 @@ export default {
props
:
[
'url'
],
computed
:
{
fileType
()
{
console
.
log
(
this
.
url
);
return
this
.
url
.
split
(
'.'
).
pop
().
toLowerCase
();
}
},
...
...
@@ -128,7 +127,6 @@ export default {
},
rendered
()
{
this
.
fullscreenLoading
=
false
console
.
log
(
'渲染完成'
)
}
}
}
...
...
src/views/gptTraining/modelService/testOnline/components/leftBox/index.vue
View file @
f2b9b2b4
...
...
@@ -260,7 +260,6 @@ export default {
switchModel
(
versionId
)
{
// 切换模型
this
.
openLoading
(
'LLM模型加载中'
)
ModelVersion
.
change
(
this
,
{
versionId
:
versionId
}).
then
(
res
=>
{
console
.
log
(
res
);
this
.
loading
.
close
();
}).
catch
(
e
=>
{
this
.
loading
.
close
();
...
...
src/views/gptTraining/modelService/testOnline/components/rightBox/index.vue
View file @
f2b9b2b4
...
...
@@ -126,7 +126,6 @@ export default {
})
this
.
inputContent
=
null
;
console
.
log
(
this
.
myHistory
.
slice
(
0
,
-
1
).
slice
(
-
this
.
heistoryRotate
));
this
.
param
.
history
=
[]
this
.
myHistory
.
slice
(
0
,
-
1
).
slice
(
-
this
.
heistoryRotate
).
forEach
((
item
)
=>
{
this
.
param
.
history
.
push
(...[{
role
:
item
.
role
,
content
:
item
.
content
},
{
role
:
'assistant'
,
content
:
item
.
excludeReferenceAnswer
}])
...
...
src/views/welcome/index-2.vue
View file @
f2b9b2b4
...
...
@@ -27,11 +27,11 @@ export default {
},
{
name
:
'基于大语言模型与知识图谱双轮驱动的机械维修保障智能问答系统'
,
url
:
'http://127.0.0.1:8085'
url
:
`http://
${
window
.
location
.
hostname
}
:
${
window
.
location
.
port
}
/#/main/welcome`
},
{
name
:
'基于gstore的知识图谱系统'
,
url
:
'http://127.0.0.1:8085'
url
:
`http://
${
window
.
location
.
hostname
}
:
${
window
.
location
.
port
}
/#/main/welcome`
}
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment