tasktype

package
v8.13.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 1 Imported by: 4

Documentation

Overview

Package tasktype

Index

Constants

This section is empty.

Variables

View Source
var (
	Sparseembedding = TaskType{"sparse_embedding"}

	Textembedding = TaskType{"text_embedding"}
)

Functions

This section is empty.

Types

type TaskType

type TaskType struct {
	Name string
}

https://github.com/elastic/elasticsearch-specification/blob/b2c13a00c152a97cb41193deda8ed9b37fd06796/specification/inference/_types/TaskType.ts#L20-L26

func (TaskType) MarshalText

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

func (TaskType) String

func (t TaskType) String() string

func (*TaskType) UnmarshalText

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

Jump to

Keyboard shortcuts

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