Documentation
¶
Overview ¶
Package coheresimilaritytype
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Cosine = CohereSimilarityType{"cosine"} Dotproduct = CohereSimilarityType{"dot_product"} L2norm = CohereSimilarityType{"l2_norm"} )
Functions ¶
This section is empty.
Types ¶
type CohereSimilarityType ¶
type CohereSimilarityType struct {
Name string
}
func (CohereSimilarityType) MarshalText ¶
func (c CohereSimilarityType) MarshalText() (text []byte, err error)
func (CohereSimilarityType) String ¶
func (c CohereSimilarityType) String() string
func (*CohereSimilarityType) UnmarshalText ¶
func (c *CohereSimilarityType) UnmarshalText(text []byte) error
Click to show internal directories.
Click to hide internal directories.