@@ -14,8 +14,6 @@ export const GeneralServerSettings = (props: {
1414} ) => {
1515 return (
1616 < form class = "flex flex-col gap-3" >
17- { /* General LLM Settings */ }
18-
1917 { /* Embedding Settings */ }
2018 < div
2119 class = "rounded-md border shadow sm:overflow-hidden"
@@ -35,7 +33,7 @@ export const GeneralServerSettings = (props: {
3533 < div class = "col-span-4 space-y-1 sm:col-span-2" >
3634 < div class = "flex items-center" >
3735 < label
38- for = "embeddingSize "
36+ for = "embeddingModel "
3937 class = "mr-2 block text-sm font-medium leading-6"
4038 >
4139 Embedding Model
@@ -46,11 +44,11 @@ export const GeneralServerSettings = (props: {
4644 />
4745 </ div >
4846 < select
49- id = "embeddingSize "
47+ id = "embeddingModel "
5048 aria-readonly
5149 title = "Embedding Model is only editable on creation"
5250 disabled
53- name = "embeddingSize "
51+ name = "embeddingModel "
5452 class = "col-span-2 block w-full cursor-not-allowed rounded-md border-[0.5px] border-neutral-300 bg-white px-3 py-1.5 shadow-sm placeholder:text-neutral-400 focus:outline-magenta-500 sm:text-sm sm:leading-6"
5553 value = {
5654 availableEmbeddingModels . find (
@@ -68,7 +66,7 @@ export const GeneralServerSettings = (props: {
6866 < div class = "col-span-4 space-y-1 sm:col-span-2" >
6967 < div class = "flex items-center" >
7068 < label
71- for = "embeddingSize "
69+ for = "embeddingQueryPrefix "
7270 class = "mr-2 block text-sm font-medium leading-6"
7371 >
7472 Embedding Query Prefix
@@ -98,7 +96,7 @@ export const GeneralServerSettings = (props: {
9896 < div class = "col-span-4 space-y-1 sm:col-span-2" >
9997 < div class = "flex items-center" >
10098 < label
101- for = "embeddingSize "
99+ for = "rerankerModel "
102100 class = "mr-2 block text-sm font-medium leading-6"
103101 >
104102 Reranker Model
@@ -176,7 +174,7 @@ export const GeneralServerSettings = (props: {
176174 < div class = "col-span-4 space-y-1 sm:col-span-2" >
177175 < div class = "flex items-center" >
178176 < label
179- for = "embeddingSize "
177+ for = "distanceMetric "
180178 class = "mr-2 block text-sm font-medium leading-6"
181179 >
182180 Distance Metric
@@ -187,11 +185,11 @@ export const GeneralServerSettings = (props: {
187185 />
188186 </ div >
189187 < select
190- id = "embeddingSize "
188+ id = "distanceMetric "
191189 aria-readonly
192190 title = "Embedding Model is only editable on creation"
193191 disabled
194- name = "embeddingSize "
192+ name = "distanceMetric "
195193 class = "col-span-2 block w-full cursor-not-allowed rounded-md border-[0.5px] border-neutral-300 bg-white px-3 py-1.5 shadow-sm placeholder:text-neutral-400 focus:outline-magenta-500 sm:text-sm sm:leading-6"
196194 value = {
197195 availableDistanceMetrics . find (
@@ -398,7 +396,7 @@ export const GeneralServerSettings = (props: {
398396 />
399397 < div class = "flex items-center" >
400398 < label
401- for = "embeddingSize "
399+ for = "indexedOnly "
402400 class = "mr-2 block text-sm font-medium leading-6"
403401 >
404402 Indexed Only
@@ -427,7 +425,7 @@ export const GeneralServerSettings = (props: {
427425 />
428426 < div class = "flex items-center" >
429427 < label
430- for = "embeddingSize "
428+ for = "qdrantOnly "
431429 class = "mr-2 block text-sm font-medium leading-6"
432430 >
433431 Qdrant Only
0 commit comments