Documentation
¶
Index ¶
- func ChatCompletion(ctx context.Context, session_id string, prompt string, mode string, ...) chan models.StoredMessageData
- func CreateSession(prompt string) string
- func DeleteSession(session_id string)
- func GetAvailableSkills(session_id string) []string
- func GetContextSize(session_id string) int64
- func GetCurrentModel() (config.ResModel, error)
- func GetCurrentTodoList(session_id string) []models.ToDo
- func GetModels() ([]config.ResModel, error)
- func GetSessionData(session_id string) []models.Message
- func ListSession() []models.Session
- func Reverse(arr []models.Session) []models.Session
- func SendMessage(session_id string, message string, img_bytes [][]byte) models.Message
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChatCompletion ¶
func CreateSession ¶
func DeleteSession ¶
func DeleteSession(session_id string)
func GetAvailableSkills ¶ added in v0.1.2
func GetContextSize ¶ added in v0.1.2
func GetCurrentModel ¶ added in v0.1.2
func GetCurrentTodoList ¶
func GetSessionData ¶
func ListSession ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.