jina

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 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"`
	Model  string `koanf:"model" env:"JINA_MODEL"`
}

func (*EmbeddingProviderJina) Config

func (p *EmbeddingProviderJina) Config() any

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