fix: add length/dec attributes to float/decimal fields in model definitions
This commit is contained in:
parent
3dfd935dfe
commit
e91a5554f6
@ -116,6 +116,8 @@
|
|||||||
"name": "temperature",
|
"name": "temperature",
|
||||||
"title": "LLM temperature (0.0-1.0)",
|
"title": "LLM temperature (0.0-1.0)",
|
||||||
"type": "float",
|
"type": "float",
|
||||||
|
"length": 5,
|
||||||
|
"dec": 2,
|
||||||
"nullable": "no",
|
"nullable": "no",
|
||||||
"default": "0.7"
|
"default": "0.7"
|
||||||
},
|
},
|
||||||
@ -130,6 +132,8 @@
|
|||||||
"name": "top_p",
|
"name": "top_p",
|
||||||
"title": "Top-p sampling parameter",
|
"title": "Top-p sampling parameter",
|
||||||
"type": "float",
|
"type": "float",
|
||||||
|
"length": 5,
|
||||||
|
"dec": 2,
|
||||||
"nullable": "no",
|
"nullable": "no",
|
||||||
"default": "0.9"
|
"default": "0.9"
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user