import { createConfigSchematics } from "@lmstudio/sdk";
export const configSchematics = createConfigSchematics()
.field(
"retrievalLimit",
"numeric",
{
int: true,
min: 1,
max: 10,
displayName: "عدد المؤشرات المسترجعة",
subtitle: "Ø§Ù„ØØ¯ الأقصى لعدد المؤشرات من الذاكرة.",
slider: { min: 1, max: 10, step: 1 },
},
3,
)
.field(
"retrievalAffinityThreshold",
"numeric",
{
min: 0.0,
max: 1.0,
displayName: "عتبة التشابه",
subtitle: "Ø§Ù„ØØ¯ الأدنى للتشابه لاعتبار المؤشر ذا صلة.",
slider: { min: 0.0, max: 1.0, step: 0.01 },
},
0.5,
)
.build();