tasktypeopenai

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 tasktypeopenai

Index

Constants

This section is empty.

Variables

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

	Chatcompletion = TaskTypeOpenAI{"chat_completion"}

	Completion = TaskTypeOpenAI{"completion"}
)

Functions

This section is empty.

Types

type TaskTypeOpenAI

type TaskTypeOpenAI struct {
	Name string
}

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

func (TaskTypeOpenAI) MarshalText

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

func (TaskTypeOpenAI) String

func (t TaskTypeOpenAI) String() string

func (*TaskTypeOpenAI) UnmarshalText

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

Jump to

Keyboard shortcuts

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