package
0.0.0-20250219065129-52aed497bc00
Repository: https://github.com/infinilabs/coco-server.git
Documentation: pkg.go.dev

# Functions

NewCybertron returns a new embedding client that uses Cybertron to run embedding models locally (on the CPU).
WithEncoder is an option for providing the Encoder.
WithModel is an option for providing the model name to use.
WithModelsDir is an option for setting the directory to store downloaded models.
WithPoolingStrategy sets the pooling strategy.

# Structs

Cybertron is the embedder using Cybertron to run embedding models locally.

# Type aliases

Option is a function type that can be used to modify the client.