import React from 'react';
import { ConfigurationFormContainer, MainContainer } from './configuration-form-container';
import {
  ChunkMethodItem,
  EmbeddingModelItem,
  LayoutRecognizeItem,
  PageRankItem,
  AutoKeywordsItem,
  AutoQuestionsItem,
  UseRaptorItem,
  RaptorPromptItem,
  RaptorMaxTokenItem,
  RaptorThresholdItem,
  RaptorMaxClusterItem,
  RaptorRandomSeedItem,
  UseGraphragItem,
  EntityTypesItem,
  GraphragMethodItem,
  EntityNormalizeItem,
  CommunityReportItem,
  TagsItem
} from './common-items';

export function BookConfiguration() {
  return (
    <MainContainer>
      <ConfigurationFormContainer>
        <ChunkMethodItem />
        <LayoutRecognizeItem />
        <EmbeddingModelItem />
        <PageRankItem />
      </ConfigurationFormContainer>

      <ConfigurationFormContainer>
        <AutoKeywordsItem />
        <AutoQuestionsItem />
      </ConfigurationFormContainer>

      <ConfigurationFormContainer>
        <UseRaptorItem />
        <RaptorPromptItem />
        <RaptorMaxTokenItem />
        <RaptorThresholdItem />
        <RaptorMaxClusterItem />
        <RaptorRandomSeedItem />
      </ConfigurationFormContainer>

      <ConfigurationFormContainer>
        <UseGraphragItem />
        <EntityTypesItem />
        <GraphragMethodItem />
        <EntityNormalizeItem />
        <CommunityReportItem />
      </ConfigurationFormContainer>

      <ConfigurationFormContainer>
        <TagsItem />
      </ConfigurationFormContainer>
    </MainContainer>
  );
}