Versions in this module Expand all Collapse all v0 v0.2.0 Jan 10, 2022 v0.1.1 Nov 20, 2021 v0.1.0 Nov 8, 2021 Changes in this version + type BM25 struct + B float32 + K1 float32 + type Config struct + BM25 BM25 + DB DB + Embeddings Embeddings + HNSW HNSW + Server Server + TermService GRPCServer + func FromYAMLFile(filename string) (*Config, error) + type DB struct + DBName string + DSN string + LogLevel DBLogLevel + type DBLogLevel gormlogger.LogLevel + func (l *DBLogLevel) UnmarshalText(text []byte) error + type Embeddings struct + DBPath string + Size int + VectorsFilename string + type GRPCServer struct + TLSEnabled bool + Target string + type HNSW struct + Index HNSWIndex + Server GRPCServer + type HNSWIndex struct + Dim int32 + EfConstruction int32 + M int32 + MaxElements int32 + NamePrefix string + Seed int32 + SpaceType HNSWSpaceType + type HNSWSpaceType hnswgrpcapi.CreateIndexRequest_SpaceType + func (hst *HNSWSpaceType) UnmarshalText(text []byte) (err error) + type LogLevel zerolog.Level + func (l *LogLevel) UnmarshalText(text []byte) (err error) + type Server struct + Address string + AllowedOrigins []string + LogLevel LogLevel + TLSCert string + TLSEnabled bool + TLSKey string