We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dff45b3 commit 6cef4ddCopy full SHA for 6cef4dd
src/semantic-router/pkg/config/config.go
@@ -256,13 +256,14 @@ func (c *RouterConfig) GetCacheSimilarityThreshold() float32 {
256
return c.BertModel.Threshold
257
}
258
259
-// Category represents a category for routing queries
+// ModelScore associates an LLM with its selection weight and reasoning flag within a category.
260
type ModelScore struct {
261
Model string `yaml:"model"`
262
Score float64 `yaml:"score"`
263
UseReasoning *bool `yaml:"use_reasoning"` // Pointer to detect missing field
264
265
266
+// Category represents a category for routing queries
267
type Category struct {
268
Name string `yaml:"name"`
269
Description string `yaml:"description,omitempty"`
0 commit comments