Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Group ¶
type Group struct { AllMessages Messages // use this directly if you are not care about the details // pay attention to the order SystemMessage *Message SessionTopicMessage *Message PromptTemplateMessages Messages SessionPreviousMessages Messages // from prompt template if provided in the http header RequestedMessages Messages // normally from body prompt field, user input }
type Messages ¶
type Messages []openai.ChatCompletionMessage
func FromProtobuf ¶
func (Messages) ToProtobuf ¶
Click to show internal directories.
Click to hide internal directories.