mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-09 17:07:57 +08:00
Revert "feat: Go knowledge compiler with scheduler-driven dataset compilation" (#17897)
Reverts infiniflow/ragflow#17881
This commit is contained in:
@@ -39,15 +39,9 @@ export const LargeModelFilterFormSchema = {
|
||||
llm_filter: z.string().optional(),
|
||||
};
|
||||
|
||||
type LargeModelFormFieldProps = Pick<
|
||||
NextInnerLLMSelectProps,
|
||||
'ownerTenantId'
|
||||
> & {
|
||||
name?: string;
|
||||
};
|
||||
type LargeModelFormFieldProps = Pick<NextInnerLLMSelectProps, 'ownerTenantId'>;
|
||||
export function LargeModelFormField({
|
||||
ownerTenantId,
|
||||
name = 'llm_id',
|
||||
}: LargeModelFormFieldProps) {
|
||||
const form = useFormContext();
|
||||
const { t } = useTranslation();
|
||||
@@ -57,7 +51,7 @@ export function LargeModelFormField({
|
||||
<>
|
||||
<FormField
|
||||
control={form.control}
|
||||
name={name}
|
||||
name="llm_id"
|
||||
render={({ field }) => (
|
||||
<FormItem>
|
||||
<FormLabel tooltip={t('chat.modelTip')}>
|
||||
|
||||
@@ -128,7 +128,7 @@ export const AssistantGroupButton = ({
|
||||
</Tooltip>
|
||||
</ToggleGroupItem>
|
||||
)}
|
||||
{!!attachment?.doc_id && !isShare && (
|
||||
{!!attachment?.doc_id && (
|
||||
<ToggleGroupItem
|
||||
value="g"
|
||||
onClick={async () => {
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { Operator } from '@/constants/agent';
|
||||
import { RAGFlowNodeType } from '@/interfaces/database/agent';
|
||||
import CompilationForm from '@/pages/agent/form/compilation-form';
|
||||
import ExtractorForm from '@/pages/agent/form/extractor-form';
|
||||
import ParserForm from '@/pages/agent/form/parser-form';
|
||||
import TitleChunkerForm from '@/pages/agent/form/title-chunker-form';
|
||||
@@ -62,14 +61,6 @@ const PipelineOperatorForm = ({
|
||||
hideOutputs
|
||||
/>
|
||||
);
|
||||
case Operator.Compiler:
|
||||
return (
|
||||
<CompilationForm
|
||||
node={node}
|
||||
onValuesChange={handleValuesChange}
|
||||
hideOutputs
|
||||
/>
|
||||
);
|
||||
case Operator.Tokenizer:
|
||||
return (
|
||||
<TokenizerForm
|
||||
|
||||
Reference in New Issue
Block a user