alpaca

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GitSystemPrompt = `` /* 158-byte string literal not displayed */
	GitPrimer       = `` /* 304-byte string literal not displayed */

	SummaryCommand = "summarize"
	SummaryPrompt  = `` /* 204-byte string literal not displayed */

	ReviewCommand = "review"
	ReviewPrompt  = `` /* 562-byte string literal not displayed */

	CommitMsgCommand = "commitmsg"
	CommitMsgPrompt  = `` /* 265-byte string literal not displayed */

)

Variables

This section is empty.

Functions

func AlpacaStream

func AlpacaStream(config *types.PacaConfig, payload string, command string) error

func CountTokens

func CountTokens(text string) int

This is likely an overestimation of tokens - but that's fine.

Types

This section is empty.

Jump to

Keyboard shortcuts

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