package
Version:
v0.0.0-...-243689a
Opens a new window with list of versions in this module.
Published: Mar 15, 2024
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package message encapsulates message methods and data
Format attempts to word-wrap at 80 columns and render markdown
Message encapsulates a chat message
func Unpack(m openai.ChatCompletionMessage, sessID uint) Message
Unpack openai.ChatCompletionMessage into a native Message object
Display prints a message to stdout
func (m *Message) Pack() openai.ChatCompletionMessage
Pack packages a native Message object into an openai.ChatCompletionMessage
Source Files
¶
Click to show internal directories.
Click to hide internal directories.