2026-06-07 17:32:29 +08:00
|
|
|
//go:build !lancedb
|
|
|
|
|
|
|
|
|
|
package vectordb
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"fmt"
|
|
|
|
|
|
2026-08-21 00:41:07 +08:00
|
|
|
"code.tczkiot.com/wlw/ai-agent/internal/pkg/config"
|
2026-06-07 17:32:29 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func NewLanceDBProvider(_ *config.LanceDBVectorDBConfig) (Provider, error) {
|
|
|
|
|
return nil, fmt.Errorf("LanceDB provider is not built. Rebuild with -tags lancedb and configure LanceDB native libraries")
|
|
|
|
|
}
|