tokenizationtruncate

package
v8.16.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 1 Imported by: 5

Documentation

Overview

Package tokenizationtruncate

Index

Constants

This section is empty.

Variables

View Source
var (
	First = TokenizationTruncate{"first"}

	Second = TokenizationTruncate{"second"}

	None = TokenizationTruncate{"none"}
)

Functions

This section is empty.

Types

type TokenizationTruncate

type TokenizationTruncate struct {
	Name string
}

https://github.com/elastic/elasticsearch-specification/blob/4fcf747dfafc951e1dcf3077327e3dcee9107db3/specification/ml/_types/inference.ts#L350-L354

func (TokenizationTruncate) MarshalText

func (t TokenizationTruncate) MarshalText() (text []byte, err error)

func (TokenizationTruncate) String

func (t TokenizationTruncate) String() string

func (*TokenizationTruncate) UnmarshalText

func (t *TokenizationTruncate) UnmarshalText(text []byte) error

Jump to

Keyboard shortcuts

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