Commit f2b9b2b4 authored by mhw's avatar mhw

优化

parent ce4b5716
module.exports = {
baseUrl: 'http://192.168.0.36:8082/',
baseUrl: 'http://192.168.0.34:8082/',
wsUrl: 'ws://192.168.0.36:7860/',
projectName: '灵境大模型平台'
}
......@@ -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('渲染完成')
}
}
}
......
......@@ -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();
......
......@@ -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}])
......
......@@ -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`
}
]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment