vertex

package
v0.2.0-rc.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 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"`
	APIEndpoint string `koanf:"apiEndpoint" env:"VERTEX_API_ENDPOINT"`
	Project     string `koanf:"project" env:"VERTEX_PROJECT"`
	Model       string `koanf:"model" env:"VERTEX_MODEL"`
}

func (*EmbeddingProviderVertex) Config

func (p *EmbeddingProviderVertex) Config() any

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