jina

package
v0.4.14-rc.10 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const EmbeddingProviderJinaName = "jina"

Variables

This section is empty.

Functions

This section is empty.

Types

type EmbeddingProviderJina

type EmbeddingProviderJina struct {
	APIKey string `koanf:"apiKey" env:"JINA_API_KEY" export:"false"`
	Model  string `koanf:"model" env:"JINA_MODEL" export:"required"`
}

func (*EmbeddingProviderJina) Config

func (p *EmbeddingProviderJina) Config() any

func (*EmbeddingProviderJina) Configure added in v0.3.0

func (p *EmbeddingProviderJina) Configure() error

func (*EmbeddingProviderJina) EmbeddingFunc

func (p *EmbeddingProviderJina) EmbeddingFunc() (cg.EmbeddingFunc, error)

func (*EmbeddingProviderJina) Name

func (p *EmbeddingProviderJina) Name() string

Jump to

Keyboard shortcuts

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