Jump to content

Connect SuperML | Leeroopedia MCP: Equip your AI agents with best practices, code verification, and debugging knowledge. Powered by Leeroo — building Organizational Superintelligence. Contact us at founders@leeroo.com.

Implementation:Infiniflow Ragflow LargeModelFormField Component

From Leeroopedia
Knowledge Sources
Domains Frontend, UI_Components, LLM
Last Updated 2026-02-12 06:00 GMT

Overview

Concrete form fields for LLM model selection with optional model type filtering (text-only vs multimodal) provided by the RAGFlow frontend.

Description

Exports LargeModelFormField (LLM selector with model type filter dropdown) and LargeModelFormFieldWithoutFilter (simplified LLM selector). Also exports LargeModelFilterFormSchema (Zod schema for validation).

Usage

Import LargeModelFormField in agent operator or chat configuration forms where the user needs to select an LLM model, optionally filtering by model capability type.

Code Reference

Source Location

Signature

export const LargeModelFilterFormSchema: ZodSchema;

export function LargeModelFormField(): JSX.Element;
export function LargeModelFormFieldWithoutFilter(): JSX.Element;

Import

import { LargeModelFormField, LargeModelFilterFormSchema } from '@/components/large-model-form-field';

I/O Contract

Inputs

Name Type Required Description
Form context react-hook-form Yes Must be within a FormProvider

Outputs

Name Type Description
Form value string Selected LLM model identifier

Usage Examples

import { LargeModelFormField } from '@/components/large-model-form-field';

<FormProvider {...methods}>
  <LargeModelFormField />
</FormProvider>

Related Pages

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment