Documentation
¶
Index ¶
- Constants
- func CloneLLMProfiles(in map[string]config.LLMProfileConfig) map[string]config.LLMProfileConfig
- func DetectScene(sessionKey string) string
- func ResolveSceneLLMProfile(llmProfiles map[string]config.LLMProfileConfig, ...) (config.LLMProfileConfig, bool)
- func ThreadReplyPreferred(groupScenes config.GroupScenesConfig, sessionKey, chatType string) bool
- type SceneLLMProfileSelection
Constants ¶
View Source
const ( SceneChat = "chat" SceneWork = "work" )
Variables ¶
This section is empty.
Functions ¶
func CloneLLMProfiles ¶
func CloneLLMProfiles(in map[string]config.LLMProfileConfig) map[string]config.LLMProfileConfig
func DetectScene ¶
func ResolveSceneLLMProfile ¶
func ResolveSceneLLMProfile( llmProfiles map[string]config.LLMProfileConfig, groupScenes config.GroupScenesConfig, sessionKey string, ) (config.LLMProfileConfig, bool)
func ThreadReplyPreferred ¶
func ThreadReplyPreferred(groupScenes config.GroupScenesConfig, sessionKey, chatType string) bool
Types ¶
type SceneLLMProfileSelection ¶ added in v0.6.8
type SceneLLMProfileSelection struct {
Name string
Profile config.LLMProfileConfig
}
func ResolveSceneLLMProfileSelection ¶ added in v0.6.8
func ResolveSceneLLMProfileSelection( llmProfiles map[string]config.LLMProfileConfig, groupScenes config.GroupScenesConfig, sessionKey string, ) (SceneLLMProfileSelection, bool)
Click to show internal directories.
Click to hide internal directories.