tasktypehuggingface

package
v9.2.0 Latest Latest
Warning

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

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

Documentation

Overview

Package tasktypehuggingface

Index

Constants

This section is empty.

Variables

View Source
var (
	Chatcompletion = TaskTypeHuggingFace{"chat_completion"}

	Completion = TaskTypeHuggingFace{"completion"}

	Rerank = TaskTypeHuggingFace{"rerank"}

	Textembedding = TaskTypeHuggingFace{"text_embedding"}
)

Functions

This section is empty.

Types

type TaskTypeHuggingFace

type TaskTypeHuggingFace struct {
	Name string
}

https://github.com/elastic/elasticsearch-specification/blob/d520d9e8cf14cad487de5e0654007686c395b494/specification/inference/_types/TaskType.ts#L120-L125

func (TaskTypeHuggingFace) MarshalText

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

func (TaskTypeHuggingFace) String

func (t TaskTypeHuggingFace) String() string

func (*TaskTypeHuggingFace) UnmarshalText

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

Jump to

Keyboard shortcuts

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