tasktypeopenai

package
v8.18.1 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 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/3a94b6715915b1e9311724a2614c643368eece90/specification/inference/_types/TaskType.ts#L96-L100

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