Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LineEntity ¶
type LineEntity struct {
ID string `json:"id"`
Format string `json:"format"`
Prompt string `json:"prompt"`
Response interface{} `json:"response"`
Values map[string]promptbuilder.ValueShort `json:"values,omitempty"`
}
func NewLineEntity ¶
func NewLineEntity(response string, prompt string, isJSON bool, values map[string]promptbuilder.ValueShort) (LineEntity, error)
Click to show internal directories.
Click to hide internal directories.