vertex

package
v0.6.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const EmbeddingProviderVertexName = "vertex"

Variables

This section is empty.

Functions

This section is empty.

Types

type EmbeddingProviderVertex

type EmbeddingProviderVertex struct {
	APIKey      string `koanf:"apiKey" env:"VERTEX_API_KEY" export:"false"`
	APIEndpoint string `koanf:"apiEndpoint" env:"VERTEX_API_ENDPOINT" export:"true"`
	Project     string `koanf:"project" env:"VERTEX_PROJECT" export:"true"`
	Model       string `koanf:"model" env:"VERTEX_MODEL" export:"required"`
}

func (*EmbeddingProviderVertex) Config

func (p *EmbeddingProviderVertex) Config() any

func (*EmbeddingProviderVertex) Configure added in v0.3.0

func (p *EmbeddingProviderVertex) Configure() error

func (*EmbeddingProviderVertex) EmbeddingFunc

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

func (*EmbeddingProviderVertex) Name

func (p *EmbeddingProviderVertex) Name() string

Jump to

Keyboard shortcuts

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