Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TargetProj = configuration.MarshaledProperty[TargetProject]{ KeyName: "target_project", ViperStore: StateViper, DefaultValue: &TargetProject{ Name: "", Id: "", }, } TargetOrg = configuration.MarshaledProperty[TargetOrganization]{ KeyName: "target_org", ViperStore: StateViper, DefaultValue: &TargetOrganization{ Name: "", Id: "", }, } TargetKm = configuration.MarshaledProperty[TargetKnowledgeModel]{ KeyName: "target_knowledge_model", ViperStore: StateViper, DefaultValue: &TargetKnowledgeModel{ Name: "", }, } ChatHist = configuration.MarshaledProperty[ChatHistory]{ KeyName: "chat_history", ViperStore: StateViper, DefaultValue: &ChatHistory{ History: &models.KnowledgeModelChatHistory{}, }, } )
View Source
var ConfigFile = configuration.ConfigFile{ FileName: "state", FileFormat: "yaml", Properties: properties, ViperStore: StateViper, }
View Source
var StateViper *viper.Viper = viper.New()
Functions ¶
This section is empty.
Types ¶
type ChatHistory ¶ added in v0.0.21
type ChatHistory struct {
History *models.KnowledgeModelChatHistory `json:"history"`
}
type TargetContext ¶
func GetTargetContext ¶
func GetTargetContext() *TargetContext
type TargetKnowledgeModel ¶ added in v0.0.21
type TargetOrganization ¶
type TargetProject ¶
Click to show internal directories.
Click to hide internal directories.