coheretasktype

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 coheretasktype

Index

Constants

This section is empty.

Variables

View Source
var (
	Completion = CohereTaskType{"completion"}

	Rerank = CohereTaskType{"rerank"}

	Textembedding = CohereTaskType{"text_embedding"}
)

Functions

This section is empty.

Types

type CohereTaskType

type CohereTaskType struct {
	Name string
}

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

func (CohereTaskType) MarshalText

func (c CohereTaskType) MarshalText() (text []byte, err error)

func (CohereTaskType) String

func (c CohereTaskType) String() string

func (*CohereTaskType) UnmarshalText

func (c *CohereTaskType) UnmarshalText(text []byte) error

Jump to

Keyboard shortcuts

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