+
Configure LLM Model
+
+ Please provide the LLM API configuration used to translate the images.
+
+
+ The LLM API should use the OpenAI-compatible format and API key
+ authencation. The model should support image input and structured
+ output.
+
+
This configuration is only used and saved inside in your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ );
+};
diff --git a/src/components/ai/index.tsx b/src/components/ai/index.tsx
new file mode 100644
index 0000000..29cb9ee
--- /dev/null
+++ b/src/components/ai/index.tsx
@@ -0,0 +1,94 @@
+import { Modal } from 'antd';
+import { File as MFile, Target } from '@/interfaces';
+import { createDebugLogger } from '@/utils/debug-logger';
+import { ModalStaticFunctions } from 'antd/lib/modal/confirm';
+
+import { ModelConfigForm } from './ModelConfigForm';
+import { BatchTranslateModalContent } from './BatchTranslateModal';
+import { useMemo } from 'react';
+import { LLMConf, testModel } from '@/services/ai/llm_preprocess';
+
+const debugLogger = createDebugLogger('components:project:FileListAiTranslate');
+
+export type ModalHandle = ReturnType