Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultMultiplier = 0.5
View Source
const DefaultWeight = 1
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ParsedPrompt ¶
type ParsedPrompt struct { Tags []*PromptTag `json:"tags"` Loras []*PromptModel `json:"loras"` Hypernets []*PromptModel `json:"hypernets"` }
type PromptModel ¶
type PromptParser ¶
type PromptParser struct{}
func NewPromptParser ¶
func NewPromptParser() *PromptParser
func (*PromptParser) BeautifyPrompt ¶
func (parser *PromptParser) BeautifyPrompt(input string) (string, error)
func (*PromptParser) ParsePrompt ¶
func (parser *PromptParser) ParsePrompt(input string) (*ParsedPrompt, error)
Click to show internal directories.
Click to hide internal directories.