tasktypeelasticsearch

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 tasktypeelasticsearch

Index

Constants

This section is empty.

Variables

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

	Textembedding = TaskTypeElasticsearch{"text_embedding"}

	Rerank = TaskTypeElasticsearch{"rerank"}
)

Functions

This section is empty.

Types

type TaskTypeElasticsearch

type TaskTypeElasticsearch struct {
	Name string
}

https://github.com/elastic/elasticsearch-specification/blob/470b4b9aaaa25cae633ec690e54b725c6fc939c7/specification/inference/_types/TaskType.ts#L88-L92

func (TaskTypeElasticsearch) MarshalText

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

func (TaskTypeElasticsearch) String

func (t TaskTypeElasticsearch) String() string

func (*TaskTypeElasticsearch) UnmarshalText

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

Jump to

Keyboard shortcuts

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