splitter

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ThinkHead = "<think>\n"
	ThinkTail = "</think>\n"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Splitter

type Splitter struct {
	// contains filtered or unexported fields
}

func NewSplitter

func NewSplitter(head, tail []byte) *Splitter

func NewThinkSplitter

func NewThinkSplitter() *Splitter

func (*Splitter) Process

func (s *Splitter) Process(data []byte) ([]byte, []byte)

Jump to

Keyboard shortcuts

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