tasktypehuggingface

package
v9.1.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 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/907d11a72a6bfd37b777d526880c56202889609e/specification/inference/_types/TaskType.ts#L108-L113

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