Documentation
¶
Index ¶
- func AddGitmoji(message, commitType string) string
- func BuildPrompt(diff, language, commitType string) string
- func GetChatCompletion(ctx context.Context, prompt, apiKey string) (string, error)
- func MaybeSummarizeDiff(diff string, maxLength int) (string, bool)
- func SanitizeOpenAIResponse(msg, commitType string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddGitmoji ¶
func BuildPrompt ¶
func GetChatCompletion ¶
func SanitizeOpenAIResponse ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.