github.com/weaviate/weaviate@v1.24.6/modules/ner-transformers/additional/tokens/tokens_params.go (about) 1 // _ _ 2 // __ _____ __ ___ ___ __ _| |_ ___ 3 // \ \ /\ / / _ \/ _` \ \ / / |/ _` | __/ _ \ 4 // \ V V / __/ (_| |\ V /| | (_| | || __/ 5 // \_/\_/ \___|\__,_| \_/ |_|\__,_|\__\___| 6 // 7 // Copyright © 2016 - 2024 Weaviate B.V. All rights reserved. 8 // 9 // CONTACT: hello@weaviate.io 10 // 11 12 package tokens 13 14 type Params struct { 15 Limit *int // optional parameter 16 Certainty *float64 // optional parameter 17 Distance *float64 // optional parameter 18 Properties []string 19 } 20 21 func (n Params) GetCertainty() *float64 { 22 return n.Certainty 23 } 24 25 func (n Params) GetLimit() *int { 26 return n.Limit 27 } 28 29 func (n Params) GetProperties() []string { 30 return n.Properties 31 }