feat #181 add temperature params modify by choose ai mode #194
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
描述
增加4个AI模式类别,以飞书卡片的形式,以供选择,模式与temperautre映射关系如下,默认为0.7,平衡模式
0.1--清新
0.4--温暖
0.7--平衡
1.0--创意
用户选择完毕后,服务session缓存该temperautre,建立上下文,基于该上下文回复,最终传递给AI模型
相关问题