utils

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const SemanticMetadataKey = "aregistry.ai/semantic"

Variables

This section is empty.

Functions

func AnnotateServerSemanticScore

func AnnotateServerSemanticScore(server *apiv0.ServerJSON, score float64)

AnnotateServerSemanticScore annotates a server JSON with a semantic score.

func VectorLiteral

func VectorLiteral(vec []float32) (string, error)

VectorLiteral converts a slice of float32 values into the textual representation expected by pgvector.

Types

This section is empty.

Jump to

Keyboard shortcuts

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