package
Version:
v0.0.0-...-687952b
Opens a new window with list of versions in this module.
Published: Apr 27, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
var CohereModel2Dim = map[string]int{"multilingual-22-12": 768, "small": 1024, "large": 4096}
type CohereCfg struct {
APIKey string `toml:"api_key"`
Model string `toml:"model"`
}
type DbCfg struct {
Dir string `toml:"persist_dir"`
PostgresUsername string `toml:"postgres_username"`
PostgresPassword string `toml:"postgres_password"`
PostresPort uint32 `toml:"postgres_port"`
FerretDBTcp string `toml:"ferretdb_tcp"`
FerretDBHandler string `toml:"ferretdb_handler"`
}
type HNSWCfg struct {
M int `toml:"m"`
EfConstruction int `toml:"ef_construction"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.