Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
poc-fe
Project
Project
Details
Activity
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
poc
poc-fe
Commits
dc5ffcc8
Commit
dc5ffcc8
authored
Oct 23, 2024
by
nick zheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 初始化应用配置
parent
b5e0d7b8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
personal-app-config.ts
src/store/modules/personal-app-config.ts
+3
-2
personal-app-config.ts
src/store/types/personal-app-config.ts
+2
-1
No files found.
src/store/modules/personal-app-config.ts
View file @
dc5ffcc8
...
...
@@ -23,8 +23,9 @@ export function defaultPersonalAppConfigState(): PersonalAppConfigState {
},
commModelConfig
:
{
largeModel
:
'文心4.0 (8K)'
,
topP
:
0.0
,
communicationTurn
:
0
,
topP
:
0.7
,
communicationTurn
:
3
,
temperature
:
0.5
,
},
modifiedTime
:
new
Date
(),
}
...
...
src/store/types/personal-app-config.ts
View file @
dc5ffcc8
...
...
@@ -19,8 +19,9 @@ export interface PersonalAppConfigState {
}
commModelConfig
:
{
largeModel
:
string
//大模型
topP
:
number
//
多样性
0-1.00
topP
:
number
//
topP
0-1.00
communicationTurn
:
number
//参考对话轮次 0-100
temperature
:
number
//多样性 0-1.00
}
modifiedTime
:
Date
}
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