multimodal

package
v1.28.6 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2025 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PropertyImageTitle       = "image_title"
	PropertyImageDescription = "image_description"
	PropertyImage            = "image"
	PropertyVideoTitle       = "video_title"
	PropertyVideoDescription = "video_description"
	PropertyVideo            = "video"
)

Variables

This section is empty.

Functions

func BaseClass

func BaseClass(className string, withVideo bool) *models.Class

func GetCSV

func GetCSV(dataFolderPath string) (*os.File, error)

func GetImageBlob

func GetImageBlob(dataFolderPath string, i int) (string, error)

func GetVideoBlob

func GetVideoBlob(dataFolderPath string, i int) (string, error)

func InsertObjects

func InsertObjects(t *testing.T, dataFolderPath, className string, withVideo bool)

func TestQuery

func TestQuery(t *testing.T,
	className, nearMediaArgument, titleProperty, titlePropertyValue string,
	targetVectors map[string]int,
)

query test helper

Types

This section is empty.

Jump to

Keyboard shortcuts

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