Skip to content

Commit 6cef4dd

Browse files
authored
chore: update misplaced comments (#300)
Signed-off-by: cryo <[email protected]>
1 parent dff45b3 commit 6cef4dd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/semantic-router/pkg/config/config.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,13 +256,14 @@ func (c *RouterConfig) GetCacheSimilarityThreshold() float32 {
256256
return c.BertModel.Threshold
257257
}
258258

259-
// Category represents a category for routing queries
259+
// ModelScore associates an LLM with its selection weight and reasoning flag within a category.
260260
type ModelScore struct {
261261
Model string `yaml:"model"`
262262
Score float64 `yaml:"score"`
263263
UseReasoning *bool `yaml:"use_reasoning"` // Pointer to detect missing field
264264
}
265265

266+
// Category represents a category for routing queries
266267
type Category struct {
267268
Name string `yaml:"name"`
268269
Description string `yaml:"description,omitempty"`

0 commit comments

Comments
 (0)