Versions in this module Expand all Collapse all v0 v0.1.0 Nov 10, 2024 Changes in this version + const CITATIONS + const ResponseMIMETypeJson + const RoleModel + const RoleSystem + const RoleTool + const RoleUser + const SAFETY + var ErrInvalidMimeType = errors.New("invalid mime type on content") + var ErrNoContentInResponse = errors.New("no content in generation response") + var ErrUnknownPartInResponse = errors.New("unknown part type in generation response") + type Vertex struct + CallbacksHandler callbacks.Handler + func New(ctx context.Context, opts ...googleai.Option) (*Vertex, error) + func (g *Vertex) Call(ctx context.Context, prompt string, options ...llms.CallOption) (string, error) + func (g *Vertex) CreateEmbedding(ctx context.Context, texts []string) ([][]float32, error) + func (g *Vertex) GenerateContent(ctx context.Context, messages []llms.MessageContent, ...) (*llms.ContentResponse, error)