@zuplo/lint-linux-x64 7.6.6 → 7.6.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -754,13 +754,14 @@
|
|
|
754
754
|
"required": [
|
|
755
755
|
"classifierAppID",
|
|
756
756
|
"classifierAppApiKey",
|
|
757
|
-
"classifierModel"
|
|
757
|
+
"classifierModel",
|
|
758
|
+
"modelsByComplexity"
|
|
758
759
|
],
|
|
759
760
|
"properties": {
|
|
760
761
|
"classifierAppID": {
|
|
761
762
|
"type": "string",
|
|
762
763
|
"title": "Classifier App ID",
|
|
763
|
-
"description": "The AI Gateway application id
|
|
764
|
+
"description": "The AI Gateway application id used to run the classifier prompt and evaluate the user's request.",
|
|
764
765
|
"examples": ["config_1234"]
|
|
765
766
|
},
|
|
766
767
|
"classifierAppApiKey": {
|
|
@@ -772,21 +773,22 @@
|
|
|
772
773
|
"classifierModel": {
|
|
773
774
|
"type": "string",
|
|
774
775
|
"title": "Classifier Model",
|
|
775
|
-
"description": "The `providerName/model`
|
|
776
|
+
"description": "The model (`providerName/model`) the classifier uses to evaluate the user's request. E.g. `openai/gpt-4o-mini`.",
|
|
776
777
|
"pattern": "^[^/\\s]+/.+$",
|
|
777
778
|
"examples": ["openai/gpt-4o-mini"]
|
|
778
779
|
},
|
|
779
780
|
"smartRoutingEnabled": {
|
|
780
781
|
"type": "boolean",
|
|
781
782
|
"title": "Smart Routing Enabled",
|
|
782
|
-
"description": "When true, apply model routing
|
|
783
|
+
"description": "When true, apply model routing based on the models set in `modelsByComplexity` when confidence score meets the `minConfidenceForRouting` threshold. When set to false, classification still runs but model routing is not applied, useful for debugging or testing the classifier prompt.",
|
|
783
784
|
"default": false
|
|
784
785
|
},
|
|
785
786
|
"modelsByComplexity": {
|
|
786
787
|
"type": "object",
|
|
787
788
|
"title": "Models By Complexity",
|
|
788
|
-
"description": "
|
|
789
|
+
"description": "Enables which model will be used based on the classifier results (`low`, `medium` and `high`). This configuration is applied only when `smartRoutingEnabled` is true and confidence score meets the `minConfidenceForRouting` threshold.",
|
|
789
790
|
"additionalProperties": false,
|
|
791
|
+
"required": ["low", "medium", "high"],
|
|
790
792
|
"properties": {
|
|
791
793
|
"low": {
|
|
792
794
|
"type": "string",
|
|
@@ -814,7 +816,7 @@
|
|
|
814
816
|
"intents": {
|
|
815
817
|
"type": "array",
|
|
816
818
|
"title": "Intents",
|
|
817
|
-
"description": "
|
|
819
|
+
"description": "Dictionary of intents used to classify the user message being evaluated. Omit to use the built-in dictionary (code, summarization, translation, qa, conversation, classification, creative_writing, agentic, document_qa, other).",
|
|
818
820
|
"minItems": 1,
|
|
819
821
|
"items": {
|
|
820
822
|
"type": "object",
|
|
@@ -824,14 +826,14 @@
|
|
|
824
826
|
"id": {
|
|
825
827
|
"type": "string",
|
|
826
828
|
"title": "Intent ID",
|
|
827
|
-
"description": "
|
|
829
|
+
"description": "Label used to classify the intent of the user message being evaluated.",
|
|
828
830
|
"minLength": 1,
|
|
829
831
|
"examples": ["code"]
|
|
830
832
|
},
|
|
831
833
|
"description": {
|
|
832
834
|
"type": "string",
|
|
833
835
|
"title": "Intent Description",
|
|
834
|
-
"description": "Short description
|
|
836
|
+
"description": "Short description of the intent label.",
|
|
835
837
|
"examples": [
|
|
836
838
|
"Write, edit, refactor, debug, or review source code."
|
|
837
839
|
]
|
|
@@ -841,7 +843,7 @@
|
|
|
841
843
|
},
|
|
842
844
|
"classifierPrompt": {
|
|
843
845
|
"title": "Classifier Prompt",
|
|
844
|
-
"description": "
|
|
846
|
+
"description": "Prompt used to analyze and classify the user message. Omit to use the built-in classifier prompt.",
|
|
845
847
|
"oneOf": [
|
|
846
848
|
{
|
|
847
849
|
"type": "string",
|
|
@@ -868,7 +870,7 @@
|
|
|
868
870
|
"classifierTimeoutMs": {
|
|
869
871
|
"type": "integer",
|
|
870
872
|
"title": "Classifier Timeout (ms)",
|
|
871
|
-
"description": "
|
|
873
|
+
"description": "Timeout configured for the classifier task. When exceeded, the request is forwarded without classification to the original model.",
|
|
872
874
|
"minimum": 1,
|
|
873
875
|
"maximum": 120000,
|
|
874
876
|
"default": 8000,
|
|
@@ -877,7 +879,7 @@
|
|
|
877
879
|
"maxPromptChars": {
|
|
878
880
|
"type": "integer",
|
|
879
881
|
"title": "Max Prompt Characters",
|
|
880
|
-
"description": "Maximum characters of user
|
|
882
|
+
"description": "Maximum characters of user message sent to the classifier. Longer messages get truncated.",
|
|
881
883
|
"minimum": 1,
|
|
882
884
|
"default": 8000,
|
|
883
885
|
"x-advanced": true
|
package/bin/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
7.6.
|
|
1
|
+
7.6.8
|