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 GetCurrentTodoList(session_id string) []models.ToDo
- 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) 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 GetCurrentTodoList ¶
func GetSessionData ¶
func ListSession ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.