generativeai

package
v0.0.0-...-6e30feb Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrBedrockNoModels               = errors.New("could not automatically fetch Amazon Bedrock integrations, no active models found")
	ErrGenerativeAIIntegrationExists = errors.New("similar integration already exists")
)

Functions

func AutoFetchGenerativeAIIntegrations

func AutoFetchGenerativeAIIntegrations(ctx context.Context, task *asynq.Task) error

func CreateGenerativeAIModel

func CreateGenerativeAIModel(ctx context.Context, req model.AddGenerativeAiIntegrationRequest, aes encryption.AES, userID int64, pgClient *postgresqlDb.Queries) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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