huggingfacetasktype

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 huggingfacetasktype

Index

Constants

This section is empty.

Variables

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

	Completion = HuggingFaceTaskType{"completion"}

	Rerank = HuggingFaceTaskType{"rerank"}

	Textembedding = HuggingFaceTaskType{"text_embedding"}
)

Functions

This section is empty.

Types

type HuggingFaceTaskType

type HuggingFaceTaskType struct {
	Name string
}

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

func (HuggingFaceTaskType) MarshalText

func (h HuggingFaceTaskType) MarshalText() (text []byte, err error)

func (HuggingFaceTaskType) String

func (h HuggingFaceTaskType) String() string

func (*HuggingFaceTaskType) UnmarshalText

func (h *HuggingFaceTaskType) UnmarshalText(text []byte) error

Jump to

Keyboard shortcuts

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