service

package
v0.4.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CommitMessagePrompt = "Generate up to 5 commit messages for [%s]. Each message should be separated by only space"
	FormatNotice        = ", format commit as:\n- feat: [feature description]\n- bugfix: [bugfix description]"
)

Variables

View Source
var PromptVariability float32 = 0.01

Functions

This section is empty.

Types

type MessageService

type MessageService interface {
	GenerateCommitMessage(stagingCode string) ([]string, error)
}

メッセージの生成、加工に関するクラス

func NewMessageService

func NewMessageService(og gateway.OpenAIGateway) MessageService

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL