customtasktype

package
v8.19.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package customtasktype

Index

Constants

This section is empty.

Variables

View Source
var (
	Textembedding = CustomTaskType{"text_embedding"}

	Sparseembedding = CustomTaskType{"sparse_embedding"}

	Rerank = CustomTaskType{"rerank"}

	Completion = CustomTaskType{"completion"}
)

Functions

This section is empty.

Types

type CustomTaskType

type CustomTaskType struct {
	Name string
}

https://github.com/elastic/elasticsearch-specification/blob/470b4b9aaaa25cae633ec690e54b725c6fc939c7/specification/inference/_types/CommonTypes.ts#L1127-L1132

func (CustomTaskType) MarshalText

func (c CustomTaskType) MarshalText() (text []byte, err error)

func (CustomTaskType) String

func (c CustomTaskType) String() string

func (*CustomTaskType) UnmarshalText

func (c *CustomTaskType) UnmarshalText(text []byte) error

Jump to

Keyboard shortcuts

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